Skip to content

Conversation

@Illine
Copy link

@Illine Illine commented Oct 13, 2025

Closes #902

This PR refactors the File.d Grafana dashboard to make it portable and configurable.

  • Added Prometheus datasource input (DS_PROMETHEUS) and __inputs section
  • Replaced hard-coded datasource UIDs with ${DS_PROMETHEUS}
  • Introduced templating for job, instance, and pipeline
  • Updated PromQL filters to use these variables (job="$job", instance=~"$instance")
  • Added missing panel descriptions and replaced fixed windows with $__rate_interval (rates/histograms) and $__interval (over_time rollups)
Снимок экрана 2025-10-13 в 12 58 41 Снимок экрана 2025-10-13 в 13 14 05 Снимок экрана 2025-10-13 в 13 14 22 Снимок экрана 2025-10-13 в 13 14 34 Снимок экрана 2025-10-13 в 13 15 26 Снимок экрана 2025-10-13 в 13 17 26 Снимок экрана 2025-10-13 в 13 17 35 Снимок экрана 2025-10-13 в 13 17 50 Снимок экрана 2025-10-13 в 13 18 02

@Illine Illine force-pushed the 902-grafana-datasource-input branch from c2c17fb to 4572e69 Compare October 13, 2025 11:07
@Illine
Copy link
Author

Illine commented Oct 13, 2025

Most of the diff is due to Grafana's JSON reformatting during export.
Functional changes are limited to inputs, templating variables, and query intervals.

@Illine Illine force-pushed the 902-grafana-datasource-input branch from 4572e69 to e1b5caf Compare November 17, 2025 11:00
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.

Feature: add datasource input and job/instance variables for Grafana dashboard

1 participant