4683 lines
198 KiB
JSON
4683 lines
198 KiB
JSON
{
|
||
"__requires": [
|
||
{
|
||
"id": "grafana",
|
||
"name": "Grafana",
|
||
"type": "grafana",
|
||
"version": "8.0.0"
|
||
}
|
||
],
|
||
"annotations": {
|
||
"list": [ ]
|
||
},
|
||
"editable": true,
|
||
"gnetId": null,
|
||
"graphTooltip": 1,
|
||
"hideControls": false,
|
||
"links": [
|
||
{
|
||
"asDropdown": true,
|
||
"icon": "external link",
|
||
"includeVars": true,
|
||
"keepTime": true,
|
||
"tags": [
|
||
"mimir"
|
||
],
|
||
"targetBlank": false,
|
||
"title": "Mimir dashboards",
|
||
"type": "dashboards"
|
||
}
|
||
],
|
||
"refresh": "10s",
|
||
"rows": [
|
||
{
|
||
"collapse": false,
|
||
"height": "175px",
|
||
"panels": [
|
||
{
|
||
"content": "<p>\n This dashboard shows health metrics for the read path.\n It is broken into sections for each service on the read path, and organized by the order in which the read request flows.\n <br/>\n Incoming queries travel from the gateway → query frontend → query scheduler → querier → ingester and/or store-gateway (depending on the time range of the query).\n <br/>\n For each service, there are 3 panels showing (1) requests per second to that service, (2) average, median, and p99 latency of requests to that service, and (3) p99 latency of requests to each instance of that service.\n</p>\n<p>\n The dashboard also shows metrics for the 4 optional caches that can be deployed:\n the query results cache, the metadata cache, the chunks cache, and the index cache.\n <br/>\n These panels will show “no data” if the caches are not deployed.\n</p>\n<p>\n Lastly, it also includes metrics for how the ingester and store-gateway interact with object storage.\n</p>\n",
|
||
"datasource": null,
|
||
"description": "",
|
||
"id": 1,
|
||
"mode": "markdown",
|
||
"span": 12,
|
||
"title": "",
|
||
"transparent": true,
|
||
"type": "text"
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": false,
|
||
"title": "Reads dashboard description",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "100px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"description": "### Instant queries per second\nRate of instant queries per second being made to the system.\nIncludes both queries made to the <tt>/prometheus</tt> API as\nwell as queries from the ruler.\n\n",
|
||
"fill": 1,
|
||
"format": "reqps",
|
||
"id": 2,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 2,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum(\n rate(\n cortex_request_duration_seconds_count{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\",\n route=~\"(prometheus|api_prom)_api_v1_query\"\n }[$__rate_interval]\n )\n or\n rate(\n cortex_prometheus_rule_evaluations_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*ruler|cortex|mimir|mimir-backend.*))\"\n }[$__rate_interval]\n )\n)\n",
|
||
"format": "time_series",
|
||
"instant": true,
|
||
"intervalFactor": 2,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": "70,80",
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Instant queries / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "singlestat",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"description": "### Range queries per second\nRate of range queries per second being made to\nMimir via the <tt>/prometheus</tt> API.\n\n",
|
||
"fill": 1,
|
||
"format": "reqps",
|
||
"id": 3,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 2,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum(rate(cortex_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\",route=~\"(prometheus|api_prom)_api_v1_query_range\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"instant": true,
|
||
"intervalFactor": 2,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": "70,80",
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Range queries / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "singlestat",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"description": "### \"Label names\" queries per second\nRate of \"label names\" endpoint queries per second being made to\nMimir via the <tt>/prometheus</tt> API.\n\n",
|
||
"fill": 1,
|
||
"format": "reqps",
|
||
"id": 4,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 2,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum(rate(cortex_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\",route=~\"(prometheus|api_prom)_api_v1_labels\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"instant": true,
|
||
"intervalFactor": 2,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": "70,80",
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Label names queries / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "singlestat",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"description": "### \"Label values\" queries per second\nRate of specific \"label values\" endpoint queries per second being made to\nMimir via the <tt>/prometheus</tt> API.\n\n",
|
||
"fill": 1,
|
||
"format": "reqps",
|
||
"id": 5,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 2,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum(rate(cortex_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\",route=~\"(prometheus|api_prom)_api_v1_label_name_values\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"instant": true,
|
||
"intervalFactor": 2,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": "70,80",
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Label values queries / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "singlestat",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"description": "### Series queries per second\nRate of series queries per second being made to\nMimir via the <tt>/prometheus</tt> API.\n\n",
|
||
"fill": 1,
|
||
"format": "reqps",
|
||
"id": 6,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 2,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum(rate(cortex_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\",route=~\"(prometheus|api_prom)_api_v1_series\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"instant": true,
|
||
"intervalFactor": 2,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": "70,80",
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Series queries / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "singlestat",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": false,
|
||
"title": "Headlines",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": {
|
||
"1xx": "#EAB839",
|
||
"2xx": "#7EB26D",
|
||
"3xx": "#6ED0E0",
|
||
"4xx": "#EF843C",
|
||
"5xx": "#E24D42",
|
||
"cancel": "#A9A9A9",
|
||
"error": "#E24D42",
|
||
"success": "#7EB26D"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 10,
|
||
"id": 7,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 0,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by (status) (\n label_replace(label_replace(rate(cortex_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", route=~\"(prometheus|api_prom)_api_v1_.+\"}[$__rate_interval]),\n \"status\", \"${1}xx\", \"status_code\", \"([0-9])..\"),\n \"status\", \"${1}\", \"status_code\", \"([a-z]+)\"))\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{status}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Requests / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "reqps",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 8,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum by (le) (cluster_job_route:cortex_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", route=~\"(prometheus|api_prom)_api_v1_.+\"})) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum by (le) (cluster_job_route:cortex_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", route=~\"(prometheus|api_prom)_api_v1_.+\"})) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "1e3 * sum(cluster_job_route:cortex_request_duration_seconds_sum:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", route=~\"(prometheus|api_prom)_api_v1_.+\"}) / sum(cluster_job_route:cortex_request_duration_seconds_count:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", route=~\"(prometheus|api_prom)_api_v1_.+\"})",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"datasource": "$datasource",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"custom": {
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"showPoints": "never",
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
}
|
||
},
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [ ]
|
||
},
|
||
"unit": "s"
|
||
},
|
||
"overrides": [ ]
|
||
},
|
||
"id": 9,
|
||
"links": [ ],
|
||
"options": {
|
||
"legend": {
|
||
"displayMode": "hidden",
|
||
"showLegend": false
|
||
},
|
||
"tooltip": {
|
||
"mode": "multi",
|
||
"sort": "desc"
|
||
}
|
||
},
|
||
"span": 4,
|
||
"targets": [
|
||
{
|
||
"exemplar": true,
|
||
"expr": "histogram_quantile(0.99, sum by(le, pod) (rate(cortex_request_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", route=~\"(prometheus|api_prom)_api_v1_.+\"}[$__rate_interval])))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"title": "Per pod p99 latency",
|
||
"type": "timeseries"
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Query-frontend",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"content": "<p>\n The query scheduler is an optional service that moves\n the internal queue from the query-frontend into a\n separate component.\n If this service is not deployed,\n these panels will show \"No data.\"\n</p>\n",
|
||
"datasource": null,
|
||
"description": "",
|
||
"id": 10,
|
||
"mode": "markdown",
|
||
"span": 4,
|
||
"title": "",
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"aliasColors": {
|
||
"1xx": "#EAB839",
|
||
"2xx": "#7EB26D",
|
||
"3xx": "#6ED0E0",
|
||
"4xx": "#EF843C",
|
||
"5xx": "#E24D42",
|
||
"cancel": "#A9A9A9",
|
||
"error": "#E24D42",
|
||
"success": "#7EB26D"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 10,
|
||
"id": 11,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 0,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by (status) (\n label_replace(label_replace(rate(cortex_query_scheduler_queue_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((query-scheduler.*|mimir-backend.*))\"}[$__rate_interval]),\n \"status\", \"${1}xx\", \"status_code\", \"([0-9])..\"),\n \"status\", \"${1}\", \"status_code\", \"([a-z]+)\"))\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{status}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Requests / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "reqps",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 12,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(cortex_query_scheduler_queue_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/((query-scheduler.*|mimir-backend.*))\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(cortex_query_scheduler_queue_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/((query-scheduler.*|mimir-backend.*))\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(cortex_query_scheduler_queue_duration_seconds_sum{cluster=~\"$cluster\", job=~\"($namespace)/((query-scheduler.*|mimir-backend.*))\"}[$__rate_interval])) * 1e3 / sum(rate(cortex_query_scheduler_queue_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((query-scheduler.*|mimir-backend.*))\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency (Time in Queue)",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Query-scheduler",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 13,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 6,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum (\n rate(thanos_memcached_operations_total{name=\"frontend-cache\", cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\"}[$__rate_interval])\n or ignoring(backend)\n rate(thanos_cache_operations_total{name=\"frontend-cache\", cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\"}[$__rate_interval])\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Requests/s",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Requests / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ops",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 14,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 6,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", name=\"frontend-cache\"}[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", name=\"frontend-cache\"}[$__rate_interval])\n) by (le)) * 1e3\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", name=\"frontend-cache\"}[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", name=\"frontend-cache\"}[$__rate_interval])\n) by (le)) * 1e3\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_sum{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", name=\"frontend-cache\"}[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_sum{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", name=\"frontend-cache\"}[$__rate_interval])\n) * 1e3\n/\nsum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", name=\"frontend-cache\"}[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((.*query-frontend.*|cortex|mimir|mimir-read.*))\", name=\"frontend-cache\"}[$__rate_interval])\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Cache – query results",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": {
|
||
"1xx": "#EAB839",
|
||
"2xx": "#7EB26D",
|
||
"3xx": "#6ED0E0",
|
||
"4xx": "#EF843C",
|
||
"5xx": "#E24D42",
|
||
"cancel": "#A9A9A9",
|
||
"error": "#E24D42",
|
||
"success": "#7EB26D"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 10,
|
||
"id": 15,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 0,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by (status) (\n label_replace(label_replace(rate(cortex_querier_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\", route=~\"(prometheus|api_prom)_api_v1_.+\"}[$__rate_interval]),\n \"status\", \"${1}xx\", \"status_code\", \"([0-9])..\"),\n \"status\", \"${1}\", \"status_code\", \"([a-z]+)\"))\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{status}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Requests / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "reqps",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 16,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum by (le) (cluster_job_route:cortex_querier_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\", route=~\"(prometheus|api_prom)_api_v1_.+\"})) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum by (le) (cluster_job_route:cortex_querier_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\", route=~\"(prometheus|api_prom)_api_v1_.+\"})) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "1e3 * sum(cluster_job_route:cortex_querier_request_duration_seconds_sum:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\", route=~\"(prometheus|api_prom)_api_v1_.+\"}) / sum(cluster_job_route:cortex_querier_request_duration_seconds_count:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\", route=~\"(prometheus|api_prom)_api_v1_.+\"})",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"datasource": "$datasource",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"custom": {
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"showPoints": "never",
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
}
|
||
},
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [ ]
|
||
},
|
||
"unit": "s"
|
||
},
|
||
"overrides": [ ]
|
||
},
|
||
"id": 17,
|
||
"links": [ ],
|
||
"options": {
|
||
"legend": {
|
||
"displayMode": "hidden",
|
||
"showLegend": false
|
||
},
|
||
"tooltip": {
|
||
"mode": "multi",
|
||
"sort": "desc"
|
||
}
|
||
},
|
||
"span": 4,
|
||
"targets": [
|
||
{
|
||
"exemplar": true,
|
||
"expr": "histogram_quantile(0.99, sum by(le, pod) (rate(cortex_querier_request_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\", route=~\"(prometheus|api_prom)_api_v1_.+\"}[$__rate_interval])))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"title": "Per pod p99 latency",
|
||
"type": "timeseries"
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Querier",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": {
|
||
"1xx": "#EAB839",
|
||
"2xx": "#7EB26D",
|
||
"3xx": "#6ED0E0",
|
||
"4xx": "#EF843C",
|
||
"5xx": "#E24D42",
|
||
"cancel": "#A9A9A9",
|
||
"error": "#E24D42",
|
||
"success": "#7EB26D"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 10,
|
||
"id": 18,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 0,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by (status) (\n label_replace(label_replace(rate(cortex_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((.*ingester.*|cortex|mimir|mimir-write.*))\",route=~\"/cortex.Ingester/Query(Stream)?|/cortex.Ingester/MetricsForLabelMatchers|/cortex.Ingester/LabelValues|/cortex.Ingester/MetricsMetadata\"}[$__rate_interval]),\n \"status\", \"${1}xx\", \"status_code\", \"([0-9])..\"),\n \"status\", \"${1}\", \"status_code\", \"([a-z]+)\"))\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{status}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Requests / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "reqps",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 19,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum by (le) (cluster_job_route:cortex_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*ingester.*|cortex|mimir|mimir-write.*))\", route=~\"/cortex.Ingester/Query(Stream)?|/cortex.Ingester/MetricsForLabelMatchers|/cortex.Ingester/LabelValues|/cortex.Ingester/MetricsMetadata\"})) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum by (le) (cluster_job_route:cortex_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*ingester.*|cortex|mimir|mimir-write.*))\", route=~\"/cortex.Ingester/Query(Stream)?|/cortex.Ingester/MetricsForLabelMatchers|/cortex.Ingester/LabelValues|/cortex.Ingester/MetricsMetadata\"})) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "1e3 * sum(cluster_job_route:cortex_request_duration_seconds_sum:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*ingester.*|cortex|mimir|mimir-write.*))\", route=~\"/cortex.Ingester/Query(Stream)?|/cortex.Ingester/MetricsForLabelMatchers|/cortex.Ingester/LabelValues|/cortex.Ingester/MetricsMetadata\"}) / sum(cluster_job_route:cortex_request_duration_seconds_count:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*ingester.*|cortex|mimir|mimir-write.*))\", route=~\"/cortex.Ingester/Query(Stream)?|/cortex.Ingester/MetricsForLabelMatchers|/cortex.Ingester/LabelValues|/cortex.Ingester/MetricsMetadata\"})",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"datasource": "$datasource",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"custom": {
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"showPoints": "never",
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
}
|
||
},
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [ ]
|
||
},
|
||
"unit": "s"
|
||
},
|
||
"overrides": [ ]
|
||
},
|
||
"id": 20,
|
||
"links": [ ],
|
||
"options": {
|
||
"legend": {
|
||
"displayMode": "hidden",
|
||
"showLegend": false
|
||
},
|
||
"tooltip": {
|
||
"mode": "multi",
|
||
"sort": "desc"
|
||
}
|
||
},
|
||
"span": 4,
|
||
"targets": [
|
||
{
|
||
"exemplar": true,
|
||
"expr": "histogram_quantile(0.99, sum by(le, pod) (rate(cortex_request_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/((.*ingester.*|cortex|mimir|mimir-write.*))\", route=~\"/cortex.Ingester/Query(Stream)?|/cortex.Ingester/MetricsForLabelMatchers|/cortex.Ingester/LabelValues|/cortex.Ingester/MetricsMetadata\"}[$__rate_interval])))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"title": "Per pod p99 latency",
|
||
"type": "timeseries"
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Ingester",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": {
|
||
"1xx": "#EAB839",
|
||
"2xx": "#7EB26D",
|
||
"3xx": "#6ED0E0",
|
||
"4xx": "#EF843C",
|
||
"5xx": "#E24D42",
|
||
"cancel": "#A9A9A9",
|
||
"error": "#E24D42",
|
||
"success": "#7EB26D"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 10,
|
||
"id": 21,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 0,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by (status) (\n label_replace(label_replace(rate(cortex_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",route=~\"/gatewaypb.StoreGateway/.*\"}[$__rate_interval]),\n \"status\", \"${1}xx\", \"status_code\", \"([0-9])..\"),\n \"status\", \"${1}\", \"status_code\", \"([a-z]+)\"))\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{status}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Requests / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "reqps",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 22,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum by (le) (cluster_job_route:cortex_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\", route=~\"/gatewaypb.StoreGateway/.*\"})) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum by (le) (cluster_job_route:cortex_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\", route=~\"/gatewaypb.StoreGateway/.*\"})) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "1e3 * sum(cluster_job_route:cortex_request_duration_seconds_sum:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\", route=~\"/gatewaypb.StoreGateway/.*\"}) / sum(cluster_job_route:cortex_request_duration_seconds_count:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\", route=~\"/gatewaypb.StoreGateway/.*\"})",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"datasource": "$datasource",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"custom": {
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"showPoints": "never",
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
}
|
||
},
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [ ]
|
||
},
|
||
"unit": "s"
|
||
},
|
||
"overrides": [ ]
|
||
},
|
||
"id": 23,
|
||
"links": [ ],
|
||
"options": {
|
||
"legend": {
|
||
"displayMode": "hidden",
|
||
"showLegend": false
|
||
},
|
||
"tooltip": {
|
||
"mode": "multi",
|
||
"sort": "desc"
|
||
}
|
||
},
|
||
"span": 4,
|
||
"targets": [
|
||
{
|
||
"exemplar": true,
|
||
"expr": "histogram_quantile(0.99, sum by(le, pod) (rate(cortex_request_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\", route=~\"/gatewaypb.StoreGateway/.*\"}[$__rate_interval])))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"title": "Per pod p99 latency",
|
||
"type": "timeseries"
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Store-gateway",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"description": "### Replicas\nThe maximum, and current number of querier replicas.\nPlease note that the current number of replicas can still show 1 replica even when scaled to 0.\nSince HPA never reports 0 replicas, the query will report 0 only if the HPA is not active.\n\n",
|
||
"fill": 1,
|
||
"id": 24,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [
|
||
{
|
||
"alias": "/Max .+/",
|
||
"dashes": true,
|
||
"fill": 0
|
||
},
|
||
{
|
||
"alias": "/Current .+/",
|
||
"fill": 0
|
||
}
|
||
],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "kube_horizontalpodautoscaler_spec_max_replicas{cluster=~\"$cluster\", namespace=~\"$namespace\", horizontalpodautoscaler=~\"keda-hpa-querier\"}\n# Add the scaletargetref_name label which is more readable than \"kube-hpa-...\"\n+ on (cluster, namespace, horizontalpodautoscaler) group_left (scaletargetref_name)\n 0*kube_horizontalpodautoscaler_info{cluster=~\"$cluster\", namespace=~\"$namespace\", horizontalpodautoscaler=~\"keda-hpa-querier\"}\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Max {{ scaletargetref_name }}",
|
||
"legendLink": null
|
||
},
|
||
{
|
||
"expr": "kube_horizontalpodautoscaler_status_current_replicas{cluster=~\"$cluster\", namespace=~\"$namespace\", horizontalpodautoscaler=~\"keda-hpa-querier\"}\n# HPA doesn't go to 0 replicas, so we multiply by 0 if the HPA is not active.\n* on (cluster, namespace, horizontalpodautoscaler)\n kube_horizontalpodautoscaler_status_condition{cluster=~\"$cluster\", namespace=~\"$namespace\", horizontalpodautoscaler=~\"keda-hpa-querier\", condition=\"ScalingActive\", status=\"true\"}\n# Add the scaletargetref_name label which is more readable than \"kube-hpa-...\"\n+ on (cluster, namespace, horizontalpodautoscaler) group_left (scaletargetref_name)\n 0*kube_horizontalpodautoscaler_info{cluster=~\"$cluster\", namespace=~\"$namespace\", horizontalpodautoscaler=~\"keda-hpa-querier\"}\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Current {{ scaletargetref_name }}",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Replicas",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"description": "### Scaling metric (desired replicas)\nThis panel shows the result scaling metric exposed by KEDA divided by the target/threshold used.\nIt should represent the desired number of replicas, ignoring the min/max constraints which are applied later.\n\n",
|
||
"fill": 1,
|
||
"id": 25,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [
|
||
{
|
||
"alias": "Target per replica",
|
||
"yaxis": 2
|
||
}
|
||
],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "keda_metrics_adapter_scaler_metrics_value\n/\non(metric) group_left\nlabel_replace(\n kube_horizontalpodautoscaler_spec_target_metric{cluster=~\"$cluster\", namespace=~\"$namespace\", horizontalpodautoscaler=~\"keda-hpa-querier\"},\n \"metric\", \"$1\", \"metric_name\", \"(.+)\"\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{ scaledObject }}",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Scaling metric (desired replicas)",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": true
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"description": "### Autoscaler failures rate\nThe rate of failures in the KEDA custom metrics API server. Whenever an error occurs, the KEDA custom\nmetrics server is unable to query the scaling metric from Prometheus so the autoscaler woudln't work properly.\n\n",
|
||
"fill": 1,
|
||
"id": 26,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by(metric) (rate(keda_metrics_adapter_scaler_errors[$__rate_interval])) +\non(metric) group_left\nlabel_replace(\n kube_horizontalpodautoscaler_spec_target_metric{cluster=~\"$cluster\", namespace=~\"$namespace\", horizontalpodautoscaler=~\"keda-hpa-querier\"}\n * 0, \"metric\", \"$1\", \"metric_name\", \"(.+)\"\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{metric}} failures",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Autoscaler failures rate",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Querier - autoscaling",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": {
|
||
"1xx": "#EAB839",
|
||
"2xx": "#7EB26D",
|
||
"3xx": "#6ED0E0",
|
||
"4xx": "#EF843C",
|
||
"5xx": "#E24D42",
|
||
"cancel": "#A9A9A9",
|
||
"error": "#E24D42",
|
||
"success": "#7EB26D"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 10,
|
||
"id": 27,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 0,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 6,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by (status) (\n label_replace(label_replace(rate(cortex_kv_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\", kv_name=~\"store-gateway\"}[$__rate_interval]),\n \"status\", \"${1}xx\", \"status_code\", \"([0-9])..\"),\n \"status\", \"${1}\", \"status_code\", \"([a-z]+)\"))\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{status}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Requests / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "reqps",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 28,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 6,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(cortex_kv_request_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\", kv_name=~\"store-gateway\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(cortex_kv_request_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\", kv_name=~\"store-gateway\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(cortex_kv_request_duration_seconds_sum{cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\", kv_name=~\"store-gateway\"}[$__rate_interval])) * 1e3 / sum(rate(cortex_kv_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\", kv_name=~\"store-gateway\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Store-gateway – key-value store for store-gateways ring",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 10,
|
||
"id": 29,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 0,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by(operation) (\n # Backwards compatibility\n rate(\n thanos_memcached_operations_total{\n component=\"store-gateway\",\n name=\"index-cache\",\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\"\n }[$__rate_interval]\n )\n or ignoring(backend)\n rate(\n thanos_cache_operations_total{\n component=\"store-gateway\",\n name=\"index-cache\",\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\"\n }[$__rate_interval]\n )\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{operation}}",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Requests / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ops",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 30,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"index-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"index-cache\"\n}\n[$__rate_interval])\n) by (le)) * 1e3\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"index-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"index-cache\"\n}\n[$__rate_interval])\n) by (le)) * 1e3\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_sum{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"index-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_sum{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"index-cache\"\n}\n[$__rate_interval])\n) * 1e3\n/\nsum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_count{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"index-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_count{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"index-cache\"\n}\n[$__rate_interval])\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency (getmulti)",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"description": "### Hit ratio\nEven if you do not set up memcached for the blocks index cache, you will still see data in this panel because the store-gateway by default has an\nin-memory blocks index cache.\n\n",
|
||
"fill": 1,
|
||
"id": 31,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by(item_type) (\n rate(\n thanos_store_index_cache_hits_total{\n component=\"store-gateway\",\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\"\n }[$__rate_interval]\n )\n)\n/\nsum by(item_type) (\n rate(\n thanos_store_index_cache_requests_total{\n component=\"store-gateway\",\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\"\n }[$__rate_interval]\n )\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{item_type}}",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Hit ratio",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "percentunit",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Memcached – block index cache (store-gateway accesses)",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 10,
|
||
"id": 32,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 0,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by(operation) (\n # Backwards compatibility\n rate(thanos_memcached_operations_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n }[$__rate_interval])\n or ignoring(backend)\n rate(thanos_cache_operations_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n }[$__rate_interval])\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{operation}}",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Requests / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ops",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 33,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n}\n[$__rate_interval])\n) by (le)) * 1e3\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n}\n[$__rate_interval])\n) by (le)) * 1e3\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_sum{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_sum{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n}\n[$__rate_interval])\n) * 1e3\n/\nsum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_count{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_count{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n}\n[$__rate_interval])\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency (getmulti)",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 34,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum(\n # Backwards compatibility\n rate(thanos_cache_memcached_hits_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n }[$__rate_interval])\n or\n rate(thanos_cache_hits_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n }[$__rate_interval])\n)\n/\nsum(\n # Backwards compatibility\n rate(thanos_cache_memcached_requests_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n }[$__rate_interval])\n or\n rate(thanos_cache_requests_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n component=\"store-gateway\",\n name=\"chunks-cache\"\n }[$__rate_interval])\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "items",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Hit ratio",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "percentunit",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Memcached – chunks cache (store-gateway accesses)",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 10,
|
||
"id": 35,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 0,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by(operation) (\n # Backwards compatibility\n rate(thanos_memcached_operations_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n }[$__rate_interval])\n or ignoring(backend)\n rate(thanos_cache_operations_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n }[$__rate_interval])\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{operation}}",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Requests / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ops",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 36,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n) by (le)) * 1e3\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n) by (le)) * 1e3\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_sum{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_sum{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n) * 1e3\n/\nsum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_count{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_count{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n operation=\"getmulti\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency (getmulti)",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 37,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum(\n # Backwards compatibility\n rate(thanos_cache_memcached_hits_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n }[$__rate_interval])\n or\n rate(thanos_cache_hits_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n }[$__rate_interval])\n)\n/\nsum(\n # Backwards compatibility\n rate(thanos_cache_memcached_requests_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n }[$__rate_interval])\n or\n rate(thanos_cache_requests_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*store-gateway.*|cortex|mimir|mimir-backend.*))\",\n component=\"store-gateway\",\n name=\"metadata-cache\"\n }[$__rate_interval])\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "items",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Hit ratio",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "percentunit",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Memcached – metadata cache (store-gateway accesses)",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 10,
|
||
"id": 38,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 0,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by(operation) (\n # Backwards compatibility\n rate(thanos_memcached_operations_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n component=\"querier\",\n name=\"metadata-cache\"\n }[$__rate_interval])\n or ignoring(backend)\n rate(thanos_cache_operations_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n component=\"querier\",\n name=\"metadata-cache\"\n }[$__rate_interval])\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{operation}}",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Requests / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ops",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 39,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n operation=\"getmulti\",\n component=\"querier\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n operation=\"getmulti\",\n component=\"querier\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n) by (le)) * 1e3\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n operation=\"getmulti\",\n component=\"querier\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_bucket{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n operation=\"getmulti\",\n component=\"querier\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n) by (le)) * 1e3\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B",
|
||
"step": 10
|
||
},
|
||
{
|
||
"expr": "sum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_sum{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n operation=\"getmulti\",\n component=\"querier\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_sum{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n operation=\"getmulti\",\n component=\"querier\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n) * 1e3\n/\nsum(\n # Backwards compatibility\n rate(thanos_memcached_operation_duration_seconds_count{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n operation=\"getmulti\",\n component=\"querier\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n or\n rate(thanos_cache_operation_duration_seconds_count{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n operation=\"getmulti\",\n component=\"querier\",\n name=\"metadata-cache\"\n}\n[$__rate_interval])\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency (getmulti)",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 40,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 4,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum(\n # Backwards compatibility\n rate(thanos_cache_memcached_hits_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n component=\"querier\",\n name=\"metadata-cache\"\n }[$__rate_interval])\n or\n rate(thanos_cache_hits_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n component=\"querier\",\n name=\"metadata-cache\"\n }[$__rate_interval])\n)\n/\nsum(\n # Backwards compatibility\n rate(thanos_cache_memcached_requests_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n component=\"querier\",\n name=\"metadata-cache\"\n }[$__rate_interval])\n or\n rate(thanos_cache_requests_total{\n cluster=~\"$cluster\", job=~\"($namespace)/((.*querier.*|cortex|mimir|mimir-read.*))\",\n component=\"querier\",\n name=\"metadata-cache\"\n }[$__rate_interval])\n)\n",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "items",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Hit ratio",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "percentunit",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Memcached – metadata cache (querier accesses)",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 10,
|
||
"id": 41,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 0,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by(operation) (rate(thanos_objstore_bucket_operations_total{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{operation}}",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Operations / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "reqps",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"datasource": "$datasource",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"max": 1,
|
||
"min": 0,
|
||
"noValue": "0",
|
||
"unit": "percentunit"
|
||
}
|
||
},
|
||
"id": 42,
|
||
"links": [ ],
|
||
"options": {
|
||
"legend": {
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"span": 3,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by(operation) (rate(thanos_objstore_bucket_operation_failures_total{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\"}[$__rate_interval])) / sum by(operation) (rate(thanos_objstore_bucket_operations_total{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\"}[$__rate_interval])) >= 0",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{operation}}",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"title": "Error rate",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 43,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"attributes\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"attributes\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(thanos_objstore_bucket_operation_duration_seconds_sum{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"attributes\"}[$__rate_interval])) * 1e3 / sum(rate(thanos_objstore_bucket_operation_duration_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"attributes\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency of op: Attributes",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 44,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"exists\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"exists\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(thanos_objstore_bucket_operation_duration_seconds_sum{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"exists\"}[$__rate_interval])) * 1e3 / sum(rate(thanos_objstore_bucket_operation_duration_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"exists\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency of op: Exists",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Blocks object store (store-gateway accesses)",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 45,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"get\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"get\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(thanos_objstore_bucket_operation_duration_seconds_sum{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"get\"}[$__rate_interval])) * 1e3 / sum(rate(thanos_objstore_bucket_operation_duration_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"get\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency of op: Get",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 46,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"get_range\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"get_range\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(thanos_objstore_bucket_operation_duration_seconds_sum{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"get_range\"}[$__rate_interval])) * 1e3 / sum(rate(thanos_objstore_bucket_operation_duration_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"get_range\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency of op: GetRange",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 47,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"upload\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"upload\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(thanos_objstore_bucket_operation_duration_seconds_sum{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"upload\"}[$__rate_interval])) * 1e3 / sum(rate(thanos_objstore_bucket_operation_duration_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"upload\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency of op: Upload",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 48,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"delete\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"delete\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(thanos_objstore_bucket_operation_duration_seconds_sum{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"delete\"}[$__rate_interval])) * 1e3 / sum(rate(thanos_objstore_bucket_operation_duration_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"store-gateway\",operation=\"delete\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency of op: Delete",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 10,
|
||
"id": 49,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 0,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by(operation) (rate(thanos_objstore_bucket_operations_total{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{operation}}",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Operations / sec",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "reqps",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"datasource": "$datasource",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"max": 1,
|
||
"min": 0,
|
||
"noValue": "0",
|
||
"unit": "percentunit"
|
||
}
|
||
},
|
||
"id": 50,
|
||
"links": [ ],
|
||
"options": {
|
||
"legend": {
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"span": 3,
|
||
"targets": [
|
||
{
|
||
"expr": "sum by(operation) (rate(thanos_objstore_bucket_operation_failures_total{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\"}[$__rate_interval])) / sum by(operation) (rate(thanos_objstore_bucket_operations_total{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\"}[$__rate_interval])) >= 0",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{operation}}",
|
||
"legendLink": null
|
||
}
|
||
],
|
||
"title": "Error rate",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 51,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"attributes\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"attributes\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(thanos_objstore_bucket_operation_duration_seconds_sum{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"attributes\"}[$__rate_interval])) * 1e3 / sum(rate(thanos_objstore_bucket_operation_duration_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"attributes\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency of op: Attributes",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 52,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"exists\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"exists\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(thanos_objstore_bucket_operation_duration_seconds_sum{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"exists\"}[$__rate_interval])) * 1e3 / sum(rate(thanos_objstore_bucket_operation_duration_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"exists\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency of op: Exists",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "Blocks object store (querier accesses)",
|
||
"titleSize": "h6"
|
||
},
|
||
{
|
||
"collapse": false,
|
||
"height": "250px",
|
||
"panels": [
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 53,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"get\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"get\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(thanos_objstore_bucket_operation_duration_seconds_sum{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"get\"}[$__rate_interval])) * 1e3 / sum(rate(thanos_objstore_bucket_operation_duration_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"get\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency of op: Get",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 54,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"get_range\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"get_range\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(thanos_objstore_bucket_operation_duration_seconds_sum{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"get_range\"}[$__rate_interval])) * 1e3 / sum(rate(thanos_objstore_bucket_operation_duration_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"get_range\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency of op: GetRange",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 55,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"upload\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"upload\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(thanos_objstore_bucket_operation_duration_seconds_sum{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"upload\"}[$__rate_interval])) * 1e3 / sum(rate(thanos_objstore_bucket_operation_duration_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"upload\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency of op: Upload",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"aliasColors": { },
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": "$datasource",
|
||
"fill": 1,
|
||
"id": 56,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [ ],
|
||
"nullPointMode": "null as zero",
|
||
"percentage": false,
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [ ],
|
||
"spaceLength": 10,
|
||
"span": 3,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"expr": "histogram_quantile(0.99, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"delete\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "99th Percentile",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "histogram_quantile(0.50, sum(rate(thanos_objstore_bucket_operation_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"delete\"}[$__rate_interval])) by (le)) * 1e3",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "50th Percentile",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "sum(rate(thanos_objstore_bucket_operation_duration_seconds_sum{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"delete\"}[$__rate_interval])) * 1e3 / sum(rate(thanos_objstore_bucket_operation_duration_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\",component=\"querier\",operation=\"delete\"}[$__rate_interval]))",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Average",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [ ],
|
||
"timeFrom": null,
|
||
"timeShift": null,
|
||
"title": "Latency of op: Delete",
|
||
"tooltip": {
|
||
"shared": false,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"buckets": null,
|
||
"mode": "time",
|
||
"name": null,
|
||
"show": true,
|
||
"values": [ ]
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "ms",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"label": null,
|
||
"logBase": 1,
|
||
"max": null,
|
||
"min": null,
|
||
"show": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"repeat": null,
|
||
"repeatIteration": null,
|
||
"repeatRowId": null,
|
||
"showTitle": true,
|
||
"title": "",
|
||
"titleSize": "h6"
|
||
}
|
||
],
|
||
"schemaVersion": 14,
|
||
"style": "dark",
|
||
"tags": [
|
||
"mimir"
|
||
],
|
||
"templating": {
|
||
"list": [
|
||
{
|
||
"current": {
|
||
"text": "default",
|
||
"value": "default"
|
||
},
|
||
"hide": 0,
|
||
"label": "Data Source",
|
||
"name": "datasource",
|
||
"options": [ ],
|
||
"query": "prometheus",
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"type": "datasource"
|
||
},
|
||
{
|
||
"allValue": ".+",
|
||
"current": {
|
||
"selected": true,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
"datasource": "$datasource",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"label": "cluster",
|
||
"multi": true,
|
||
"name": "cluster",
|
||
"options": [ ],
|
||
"query": "label_values(cortex_build_info, cluster)",
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"sort": 1,
|
||
"tagValuesQuery": "",
|
||
"tags": [ ],
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"allValue": ".+",
|
||
"current": {
|
||
"selected": true,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
"datasource": "$datasource",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"label": "namespace",
|
||
"multi": true,
|
||
"name": "namespace",
|
||
"options": [ ],
|
||
"query": "label_values(cortex_build_info{cluster=~\"$cluster\"}, namespace)",
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"sort": 1,
|
||
"tagValuesQuery": "",
|
||
"tags": [ ],
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
}
|
||
]
|
||
},
|
||
"time": {
|
||
"from": "now-1h",
|
||
"to": "now"
|
||
},
|
||
"timepicker": {
|
||
"refresh_intervals": [
|
||
"5s",
|
||
"10s",
|
||
"30s",
|
||
"1m",
|
||
"5m",
|
||
"15m",
|
||
"30m",
|
||
"1h",
|
||
"2h",
|
||
"1d"
|
||
],
|
||
"time_options": [
|
||
"5m",
|
||
"15m",
|
||
"1h",
|
||
"6h",
|
||
"12h",
|
||
"24h",
|
||
"2d",
|
||
"7d",
|
||
"30d"
|
||
]
|
||
},
|
||
"timezone": "utc",
|
||
"title": "Mimir / Reads",
|
||
"uid": "e327503188913dc38ad571c647eef643",
|
||
"version": 0
|
||
} |