mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -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,
|
"steppedLine": false,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "max(scrape_duration_seconds{job=\"prometheus\"})",
|
"expr": "topk(5, max(scrape_duration_seconds) by (job))",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"intervalFactor": 2,
|
"intervalFactor": 2,
|
||||||
"legendFormat": "{{quantile}}",
|
"legendFormat": "{{job}}",
|
||||||
"metric": "",
|
"metric": "",
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"step": 20
|
"step": 20
|
||||||
|
Loading…
Reference in New Issue
Block a user