Skip to content

Commit

Permalink
Dashboards: added support to experimental read-write deployment mode (#…
Browse files Browse the repository at this point in the history
…2780)

Signed-off-by: Marco Pracucci <marco@pracucci.com>

Signed-off-by: Marco Pracucci <marco@pracucci.com>
  • Loading branch information
pracucci committed Aug 22, 2022
1 parent bf01808 commit ec587dd
Show file tree
Hide file tree
Showing 15 changed files with 362 additions and 361 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

### Mixin

* [FEATURE] Dashboards: added support to experimental read-write deployment mode. #2780
* [ENHANCEMENT] Dashboards: added support to query-tee in front of ruler-query-frontend in the "Remote ruler reads" dashboard. #2761

### Jsonnet
Expand Down
70 changes: 35 additions & 35 deletions operations/mimir-mixin-compiled/dashboards/mimir-alertmanager.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/(compactor.*|cortex|mimir)\"})",
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/(compactor.*|cortex|mimir|mimir-backend)\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down
48 changes: 24 additions & 24 deletions operations/mimir-mixin-compiled/dashboards/mimir-compactor.json

Large diffs are not rendered by default.

134 changes: 67 additions & 67 deletions operations/mimir-mixin-compiled/dashboards/mimir-queries.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
"steppedLine": false,
"targets": [
{
"expr": "avg(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((query-frontend.*|cortex|mimir))\"})",
"expr": "avg(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((query-frontend.*|cortex|mimir|mimir-read))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -229,7 +229,7 @@
"step": 10
},
{
"expr": "max(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((query-frontend.*|cortex|mimir))\"})",
"expr": "max(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((query-frontend.*|cortex|mimir|mimir-read))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -306,7 +306,7 @@
"steppedLine": false,
"targets": [
{
"expr": "avg(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((query-frontend.*|cortex|mimir))\"}))",
"expr": "avg(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((query-frontend.*|cortex|mimir|mimir-read))\"}))",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -315,7 +315,7 @@
"step": 10
},
{
"expr": "max(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((query-frontend.*|cortex|mimir))\"}))",
"expr": "max(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((query-frontend.*|cortex|mimir|mimir-read))\"}))",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -324,7 +324,7 @@
"step": 10
},
{
"expr": "min(cortex_tcp_connections_limit{cluster=~\"$cluster\", job=~\"($namespace)/((query-frontend.*|cortex|mimir))\"})",
"expr": "min(cortex_tcp_connections_limit{cluster=~\"$cluster\", job=~\"($namespace)/((query-frontend.*|cortex|mimir|mimir-read))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -567,7 +567,7 @@
"steppedLine": false,
"targets": [
{
"expr": "avg(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/(query-scheduler.*)\"})",
"expr": "avg(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/(query-scheduler.*|mimir-backend)\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -576,7 +576,7 @@
"step": 10
},
{
"expr": "max(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/(query-scheduler.*)\"})",
"expr": "max(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/(query-scheduler.*|mimir-backend)\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -653,7 +653,7 @@
"steppedLine": false,
"targets": [
{
"expr": "avg(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/(query-scheduler.*)\"}))",
"expr": "avg(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/(query-scheduler.*|mimir-backend)\"}))",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -662,7 +662,7 @@
"step": 10
},
{
"expr": "max(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/(query-scheduler.*)\"}))",
"expr": "max(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/(query-scheduler.*|mimir-backend)\"}))",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -671,7 +671,7 @@
"step": 10
},
{
"expr": "min(cortex_tcp_connections_limit{cluster=~\"$cluster\", job=~\"($namespace)/(query-scheduler.*)\"})",
"expr": "min(cortex_tcp_connections_limit{cluster=~\"$cluster\", job=~\"($namespace)/(query-scheduler.*|mimir-backend)\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -914,7 +914,7 @@
"steppedLine": false,
"targets": [
{
"expr": "avg(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((querier.*|cortex|mimir))\"})",
"expr": "avg(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((querier.*|cortex|mimir|mimir-read))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -923,7 +923,7 @@
"step": 10
},
{
"expr": "max(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((querier.*|cortex|mimir))\"})",
"expr": "max(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((querier.*|cortex|mimir|mimir-read))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -1000,7 +1000,7 @@
"steppedLine": false,
"targets": [
{
"expr": "avg(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((querier.*|cortex|mimir))\"}))",
"expr": "avg(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((querier.*|cortex|mimir|mimir-read))\"}))",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -1009,7 +1009,7 @@
"step": 10
},
{
"expr": "max(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((querier.*|cortex|mimir))\"}))",
"expr": "max(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((querier.*|cortex|mimir|mimir-read))\"}))",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -1018,7 +1018,7 @@
"step": 10
},
{
"expr": "min(cortex_tcp_connections_limit{cluster=~\"$cluster\", job=~\"($namespace)/((querier.*|cortex|mimir))\"})",
"expr": "min(cortex_tcp_connections_limit{cluster=~\"$cluster\", job=~\"($namespace)/((querier.*|cortex|mimir|mimir-read))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -1261,7 +1261,7 @@
"steppedLine": false,
"targets": [
{
"expr": "avg(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((store-gateway.*|cortex|mimir))\"})",
"expr": "avg(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((store-gateway.*|cortex|mimir|mimir-backend))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -1270,7 +1270,7 @@
"step": 10
},
{
"expr": "max(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((store-gateway.*|cortex|mimir))\"})",
"expr": "max(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((store-gateway.*|cortex|mimir|mimir-backend))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -1347,7 +1347,7 @@
"steppedLine": false,
"targets": [
{
"expr": "avg(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((store-gateway.*|cortex|mimir))\"}))",
"expr": "avg(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((store-gateway.*|cortex|mimir|mimir-backend))\"}))",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -1356,7 +1356,7 @@
"step": 10
},
{
"expr": "max(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((store-gateway.*|cortex|mimir))\"}))",
"expr": "max(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((store-gateway.*|cortex|mimir|mimir-backend))\"}))",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -1365,7 +1365,7 @@
"step": 10
},
{
"expr": "min(cortex_tcp_connections_limit{cluster=~\"$cluster\", job=~\"($namespace)/((store-gateway.*|cortex|mimir))\"})",
"expr": "min(cortex_tcp_connections_limit{cluster=~\"$cluster\", job=~\"($namespace)/((store-gateway.*|cortex|mimir|mimir-backend))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -1608,7 +1608,7 @@
"steppedLine": false,
"targets": [
{
"expr": "avg(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir))\"})",
"expr": "avg(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir|mimir-backend))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -1617,7 +1617,7 @@
"step": 10
},
{
"expr": "max(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir))\"})",
"expr": "max(cortex_inflight_requests{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir|mimir-backend))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -1694,7 +1694,7 @@
"steppedLine": false,
"targets": [
{
"expr": "avg(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir))\"}))",
"expr": "avg(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir|mimir-backend))\"}))",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -1703,7 +1703,7 @@
"step": 10
},
{
"expr": "max(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir))\"}))",
"expr": "max(sum by(pod) (cortex_tcp_connections{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir|mimir-backend))\"}))",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand All @@ -1712,7 +1712,7 @@
"step": 10
},
{
"expr": "min(cortex_tcp_connections_limit{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir))\"})",
"expr": "min(cortex_tcp_connections_limit{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir|mimir-backend))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/((query-frontend.*|cortex|mimir))\"})",
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/((query-frontend.*|cortex|mimir|mimir-read))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -585,7 +585,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/(query-scheduler.*)\"})",
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/(query-scheduler.*|mimir-backend)\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -888,7 +888,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/((querier.*|cortex|mimir))\"})",
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/((querier.*|cortex|mimir|mimir-read))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -1083,7 +1083,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/((ingester.*|cortex|mimir))\"})",
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/((ingester.*|cortex|mimir|mimir-write))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -1398,7 +1398,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by(pod) (cortex_prometheus_rule_group_rules{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir))\"})",
"expr": "sum by(pod) (cortex_prometheus_rule_group_rules{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir|mimir-backend))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -1703,7 +1703,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir))\"})",
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/((ruler|cortex|mimir|mimir-backend))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down Expand Up @@ -1898,7 +1898,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/((store-gateway.*|cortex|mimir))\"})",
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/((store-gateway.*|cortex|mimir|mimir-backend))\"})",
"format": "time_series",
"interval": "15s",
"intervalFactor": 2,
Expand Down
Loading

0 comments on commit ec587dd

Please sign in to comment.