Skip to content

API v2 doesn't honor the web.route-prefix argument #1627

@simonpasquier

Description

@simonpasquier

What did you do?

Start AlertManager with --web.route-prefix=/foo

What did you expect to see?

curl localhost:9093/foo/api/v2/silences returns 200 OK.

What did you see instead? Under which circumstances?

404 not found.

curl localhost:9093/foo/api/v1/silences returns 200 OK.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions