Skip to content

Rule health page filtering does not include group or file names #18490

@bobrik

Description

@bobrik

What did you do?

  1. Open "Rule Health" page at /rules.
Image
  1. Type alerts or alerting.rules.

What did you expect to see?

Rules are matched on either names, expressions, file names or group names.

What did you see instead? Under which circumstances?

Only names and expressions are matched against.

This is somewhat counter-productive, given that prometheus_rule_group_last_duration_seconds has both group name and file name in the rule_group label, both of which are not filterable in /rules.

System information

No response

Prometheus version

prometheus, version 3.10.0 (branch: HEAD, revision: 54e010926b0a270cadb22be1113ad45fe9bcb90a)
  build user:       root@2ee2be8e6652
  build date:       20260225-21:12:02
  go version:       go1.26.0
  platform:         linux/amd64
  tags:             netgo,builtinassets

Prometheus configuration file

Alertmanager version


Alertmanager configuration file

Logs


Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions