Commit 999b1211 by Cody Boggs Committed by bergquist

show top 5 max scrape durations by job, and fix legend format

parent 9151a246
......@@ -159,11 +159,11 @@
"steppedLine": false,
"targets": [
{
"expr": "max(scrape_duration_seconds{job=\"prometheus\"})",
"expr": "topk(5, max(scrape_duration_seconds) by (job))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{quantile}}",
"legendFormat": "{{job}}",
"metric": "",
"refId": "A",
"step": 20
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment