From 4cd81dfa5d06acac23317d06bb12eeeb40797f6d Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Mon, 17 Jun 2019 12:13:29 +0100 Subject: [PATCH] Update console template example metric names. (#5678) Signed-off-by: Brian Brazil --- consoles/prometheus-overview.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/consoles/prometheus-overview.html b/consoles/prometheus-overview.html index 83e44b2624..08e027de06 100644 --- a/consoles/prometheus-overview.html +++ b/consoles/prometheus-overview.html @@ -50,10 +50,10 @@ HTTP Server -{{ range printf "http_request_duration_microseconds_count{job='prometheus',instance='%s',handler=~'^(query.*|federate|consoles)$'}" .Params.instance | query | sortByLabel "handler" }} +{{ range printf "prometheus_http_request_duration_seconds_count{job='prometheus',instance='%s'}" .Params.instance | query | sortByLabel "handler" }} {{ .Labels.handler }} - {{ template "prom_query_drilldown" (args (printf "irate(http_request_duration_microseconds_count{job='prometheus',instance='%s',handler='%s'}[5m])" .Labels.instance .Labels.handler) "/s" "humanizeNoSmallPrefix") }} + {{ template "prom_query_drilldown" (args (printf "irate(prometheus_http_request_duration_seconds_count{job='prometheus',instance='%s',handler='%s'}[5m])" .Labels.instance .Labels.handler) "/s" "humanizeNoSmallPrefix") }} {{ end }} @@ -82,7 +82,7 @@