mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 04:34:23 -06:00
show top 5 max scrape durations by job, and fix legend format
This commit is contained in:
parent
9151a2468d
commit
999b1211b6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user