Skip to content

Alert heart icon not displayed on dashboard when alert is configured on library panel #107494

@njchandu

Description

@njchandu

What happened:
When an alert rule is configured on a library panel, the heart icon that typically indicates alert status does not appear on the panel when it's used in a dashboard, even though the alert is properly configured and functional.

What you expected to happen:
The heart icon should appear on library panel instances in dashboards when alerts are configured, similar to how it works with regular panels.

How to reproduce:

  1. Create a library panel with a query
  2. Configure an alert rule on the library panel
  3. Use the library panel in a dashboard
  4. Observe that no heart icon appears on the panel, despite the alert being active

Environment:

  • Grafana version: Grafana v11.6.1+security-01 (1cbaaef)
  • Browser: Edge

Additional context:
Regular (non-library) panels show the heart icon correctly when alerts are configured. This appears to be specific to library panels.

Question: Is this expected behavior or a bug? If expected, is there a workaround to display alert status on library panel instances?

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Status

🚀 Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions