mirror of
https://github.com/monitoring-mixins/website.git
synced 2024-12-14 11:37:31 +00:00
assets,site/content: daily assets regeneration
This commit is contained in:
parent
1f6e192b9a
commit
587b5927f0
1 changed files with 7 additions and 7 deletions
|
@ -98,18 +98,18 @@
|
|||
"steppedLine": false,
|
||||
"targets": [
|
||||
{
|
||||
"expr": "(\n kube_statefulset_status_replicas_updated{cluster=~\"$cluster\", namespace=~\"$namespace\",statefulset=~\"cortex-gw|distributor|ingester|query-frontend|querier|compactor|store-gateway|ruler|alertmanager\"}\n /\n kube_statefulset_replicas{cluster=~\"$cluster\", namespace=~\"$namespace\"}\n) and (\n kube_statefulset_replicas{cluster=~\"$cluster\", namespace=~\"$namespace\"}\n > 0\n)\n",
|
||||
"expr": "(\n sum by(cortex_service) (\n label_replace(\n kube_statefulset_status_replicas_updated{cluster=~\"$cluster\", namespace=~\"$namespace\",statefulset=~\"cortex-gw|distributor|ingester.*|query-frontend|querier|compactor|store-gateway|ruler|alertmanager\"},\n \"cortex_service\", \"$1\", \"statefulset\", \"(.*?)(?:-zone-[a-z])?\"\n )\n )\n /\n sum by(cortex_service) (\n label_replace(\n kube_statefulset_replicas{cluster=~\"$cluster\", namespace=~\"$namespace\"},\n \"cortex_service\", \"$1\", \"statefulset\", \"(.*?)(?:-zone-[a-z])?\"\n )\n )\n) and (\n sum by(cortex_service) (\n label_replace(\n kube_statefulset_replicas{cluster=~\"$cluster\", namespace=~\"$namespace\"},\n \"cortex_service\", \"$1\", \"statefulset\", \"(.*?)(?:-zone-[a-z])?\"\n )\n )\n > 0\n)\n",
|
||||
"format": null,
|
||||
"intervalFactor": null,
|
||||
"legendFormat": "{{statefulset}}",
|
||||
"legendFormat": "{{cortex_service}}",
|
||||
"legendLink": null,
|
||||
"step": null
|
||||
},
|
||||
{
|
||||
"expr": "(\n kube_deployment_status_replicas_updated{cluster=~\"$cluster\", namespace=~\"$namespace\",deployment=~\"cortex-gw|distributor|ingester|query-frontend|querier|compactor|store-gateway|ruler|alertmanager\"}\n /\n kube_deployment_spec_replicas{cluster=~\"$cluster\", namespace=~\"$namespace\"}\n) and (\n kube_deployment_spec_replicas{cluster=~\"$cluster\", namespace=~\"$namespace\"}\n > 0\n)\n",
|
||||
"expr": "(\n sum by(cortex_service) (\n label_replace(\n kube_deployment_status_replicas_updated{cluster=~\"$cluster\", namespace=~\"$namespace\",deployment=~\"cortex-gw|distributor|ingester.*|query-frontend|querier|compactor|store-gateway|ruler|alertmanager\"},\n \"cortex_service\", \"$1\", \"deployment\", \"(.*?)(?:-zone-[a-z])?\"\n )\n )\n /\n sum by(cortex_service) (\n label_replace(\n kube_deployment_spec_replicas{cluster=~\"$cluster\", namespace=~\"$namespace\"},\n \"cortex_service\", \"$1\", \"deployment\", \"(.*?)(?:-zone-[a-z])?\"\n )\n )\n) and (\n sum by(cortex_service) (\n label_replace(\n kube_deployment_spec_replicas{cluster=~\"$cluster\", namespace=~\"$namespace\"},\n \"cortex_service\", \"$1\", \"deployment\", \"(.*?)(?:-zone-[a-z])?\"\n )\n )\n > 0\n)\n",
|
||||
"format": null,
|
||||
"intervalFactor": null,
|
||||
"legendFormat": "{{deployment}}",
|
||||
"legendFormat": "{{cortex_service}}",
|
||||
"legendLink": null,
|
||||
"step": null
|
||||
}
|
||||
|
@ -1094,7 +1094,7 @@
|
|||
"steppedLine": false,
|
||||
"targets": [
|
||||
{
|
||||
"expr": "kube_deployment_status_replicas_unavailable{cluster=~\"$cluster\", namespace=~\"$namespace\", deployment=~\"cortex-gw|distributor|ingester|query-frontend|querier|compactor|store-gateway|ruler|alertmanager\"}\n> 0\n",
|
||||
"expr": "kube_deployment_status_replicas_unavailable{cluster=~\"$cluster\", namespace=~\"$namespace\", deployment=~\"cortex-gw|distributor|ingester.*|query-frontend|querier|compactor|store-gateway|ruler|alertmanager\"}\n> 0\n",
|
||||
"format": null,
|
||||
"instant": true,
|
||||
"interval": "",
|
||||
|
@ -1104,7 +1104,7 @@
|
|||
"step": null
|
||||
},
|
||||
{
|
||||
"expr": "kube_statefulset_status_replicas_current{cluster=~\"$cluster\", namespace=~\"$namespace\", statefulset=~\"cortex-gw|distributor|ingester|query-frontend|querier|compactor|store-gateway|ruler|alertmanager\"} -\nkube_statefulset_status_replicas_ready {cluster=~\"$cluster\", namespace=~\"$namespace\", statefulset=~\"cortex-gw|distributor|ingester|query-frontend|querier|compactor|store-gateway|ruler|alertmanager\"}\n> 0\n",
|
||||
"expr": "kube_statefulset_status_replicas_current{cluster=~\"$cluster\", namespace=~\"$namespace\", statefulset=~\"cortex-gw|distributor|ingester.*|query-frontend|querier|compactor|store-gateway|ruler|alertmanager\"} -\nkube_statefulset_status_replicas_ready {cluster=~\"$cluster\", namespace=~\"$namespace\", statefulset=~\"cortex-gw|distributor|ingester.*|query-frontend|querier|compactor|store-gateway|ruler|alertmanager\"}\n> 0\n",
|
||||
"format": null,
|
||||
"instant": true,
|
||||
"interval": "",
|
||||
|
@ -1177,7 +1177,7 @@
|
|||
"id": 11,
|
||||
"targets": [
|
||||
{
|
||||
"expr": "count by(container, version) (\n label_replace(\n kube_pod_container_info{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"cortex-gw|distributor|ingester|query-frontend|querier|compactor|store-gateway|ruler|alertmanager\"},\n \"version\", \"$1\", \"image\", \".*:(.+)-.*\"\n )\n)\n",
|
||||
"expr": "count by(container, version) (\n label_replace(\n kube_pod_container_info{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"cortex-gw|distributor|ingester.*|query-frontend|querier|compactor|store-gateway|ruler|alertmanager\"},\n \"version\", \"$1\", \"image\", \".*:(.+)-.*\"\n )\n)\n",
|
||||
"instant": true,
|
||||
"legendFormat": "",
|
||||
"refId": "A"
|
||||
|
|
Loading…
Reference in a new issue