Skip to content

Conversation

@majiayu000
Copy link

Summary

This PR fixes #3337

Changes

  • grafana/dashboards/authority.json
  • grafana/dashboards/cronjob.json
  • grafana/dashboards/daemonset.json
  • grafana/dashboards/deployment.json
  • grafana/dashboards/health.json
  • grafana/dashboards/job.json
  • grafana/dashboards/kubernetes.json
  • grafana/dashboards/multicluster.json
  • grafana/dashboards/namespace.json
  • grafana/dashboards/pod.json
  • grafana/dashboards/prometheus-2-stats.json
  • grafana/dashboards/prometheus-benchmark.json
  • grafana/dashboards/replicaset.json
  • grafana/dashboards/replicationcontroller.json
  • grafana/dashboards/route.json
  • grafana/dashboards/service.json
  • grafana/dashboards/statefulset.json
  • grafana/dashboards/top-line.json

Problem: When Prometheus is unavailable or not configured properly, users viewing
Grafana dashboards would see panels with no data or errors without clear guidance
on what the issue might be.

Solution: Added a warning panel at the top of all Linkerd Grafana dashboards that
checks for Prometheus availability using the prometheus_ready metric. When Prometheus
is not receiving data, the panel displays a warning message: "Prometheus is not
receiving data. Please check your Prometheus configuration and ensure it is running."

The warning panel:
- Uses a stat panel type at position (0,0) spanning the full width
- Queries the prometheus_ready metric for instant health check
- Shows a transparent background when Prometheus is working normally
- Displays a red warning message when Prometheus is unavailable
- Is added to all 18 Linkerd Grafana dashboards

Fixes linkerd#3337

Signed-off-by: majiayu000 <1835304752@qq.com>
@majiayu000 majiayu000 requested a review from a team as a code owner December 30, 2025 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Grafana dashboards should display a warning when Prometheus is not available

1 participant