Skip to content

Commit

Permalink
Update query metrics used in dashboards
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkoyun committed Aug 26, 2019
1 parent 850c716 commit c2551ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/grafana/thanos-query.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,14 +306,14 @@
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(0.9999, sum(rate(thanos_query_api_instant_query_duration_seconds_bucket{$labelselector=\"$labelvalue\",kubernetes_pod_name=~\"$pod\"}[$interval])) by (kubernetes_pod_name, le))",
"expr": "histogram_quantile(0.9999, sum(rate(http_request_duration_seconds_bucket{$labelselector=\"$labelvalue\",kubernetes_pod_name=~\"$pod\",handler=\"query\"}[$interval])) by (kubernetes_pod_name, le))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "instant_query {{kubernetes_pod_name}}",
"refId": "A"
},
{
"expr": "histogram_quantile(0.9999, sum(rate(thanos_query_api_range_query_duration_seconds_bucket{$labelselector=\"$labelvalue\",kubernetes_pod_name=~\"$pod\"}[$interval])) by (kubernetes_pod_name, le))",
"expr": "histogram_quantile(0.9999, sum(rate(thanos_query_api_range_query_duration_seconds_bucket{$labelselector=\"$labelvalue\",kubernetes_pod_name=~\"$pod\",handler=\"query_range\"}[$interval])) by (kubernetes_pod_name, le))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "range_query {{kubernetes_pod_name}}",
Expand Down Expand Up @@ -1035,4 +1035,4 @@
"title": "Thanos Query",
"uid": "opwl5gSiz",
"version": 2
}
}

0 comments on commit c2551ab

Please sign in to comment.