prometheus / prometheus/alertmanager

Cannot discover web.external_url value from API

Open
#2,064 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component/api component/ui kind/enhancement stale
Dominant language
Go
Stars
8.6k
Forks
2.5k
Avg merge
2d 6h
Merged PRs (30d)
61

Description

What did you do?
Queried the /api/v1/status endpoint.

What did you expect to see?
The value for the --web.external_url flag.

Alertmanager version
v0.18.0

Note that the flag also missing from the Alertmanager UI. In comparison, the Prometheus status page has a "command line flags" sub-menu that shows all values in a table. I think this UI would be useful for Alertmanager, but that is a separate issue from API discovery.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the /api/v1/status endpoint named in the issue and trace how its response is assembled. Verify how the --web.external_url value is handled, then confirm that the API exposes it while keeping the separate Alertmanager UI request out of scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, observability-sre
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.