grafana / grafana/alerting

Incorrect handling of url file or api key file in configuration

Open
#301 3 comments 5 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
89
Forks
74
Avg merge
2d 7h
Merged PRs (30d)
8

Description

See https://github.com/grafana/mimir/issues/8723, configuration containing with api key file or url file caused Mimir Alertmanager to not start up, even though it is valid configuration.

The function mentions `// with some modifications to ignore file-related settings.`, unsure what the reasoning behind it is as the configuration is valid for Alertmanager.

Contributor guide

Open the contributing guide

Research direction

Start by locating the function containing the comment about ignoring file-related settings, then compare its handling with the valid Alertmanager configuration described in grafana/mimir#8723. Confirm that configurations using an API key file or URL file allow Mimir Alertmanager to start successfully, with regression coverage if the surrounding code provides tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.