Skip to content

List rules API not honoring exclude_alerts flag #5989

Closed
@sirianni

Description

@sirianni

Describe the bug
I am consuming the Cortex API implicitly via Amazon Managed Prometheus (AMP).

When I hit /api/v1/rules?exclude_alerts=true I still get the list of active alerts[] array in the response.

According to the prometheus docs, the exclude_alerts should omit this element.

Environment:
Amazon Managed Prometheus

Metadata

Metadata

Assignees

Labels

component/rulesBits & bobs todo with rules and alerts: the ruler, config service etc.type/bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions