Commit 87c9f33e authored by Simon Volpert's avatar Simon Volpert 🐧
Browse files

Update dashboards/bbb-instance.json

parent 541499d3
Pipeline #77011 passed with stage
in 56 seconds
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
"annotations": { "annotations": {
"list": [ "list": [
{ {
"$$hashKey": "object:653",
"builtIn": 1, "builtIn": 1,
"datasource": "-- Grafana --", "datasource": "-- Grafana --",
"enable": true, "enable": true,
...@@ -15,8 +16,7 @@ ...@@ -15,8 +16,7 @@
"editable": true, "editable": true,
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"id": 4, "iteration": 1585927044612,
"iteration": 1585237638870,
"links": [], "links": [],
"panels": [ "panels": [
{ {
...@@ -357,6 +357,7 @@ ...@@ -357,6 +357,7 @@
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [ "seriesOverrides": [
{ {
"$$hashKey": "object:740",
"alias": "Participants", "alias": "Participants",
"yaxis": 2 "yaxis": 2
} }
...@@ -366,9 +367,9 @@ ...@@ -366,9 +367,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sum(irate(node_cpu_seconds_total{mode!=\"idle\",service_id='$instance'}[5m]))", "expr": "avg by (service_id) (1 - irate(node_cpu_seconds_total{service_id=~\"$instance\", mode=\"idle\"}[5m]))",
"interval": "", "interval": "",
"legendFormat": "CPU Utlization", "legendFormat": "",
"refId": "A" "refId": "A"
}, },
{ {
...@@ -398,14 +399,16 @@ ...@@ -398,14 +399,16 @@
}, },
"yaxes": [ "yaxes": [
{ {
"format": "percent", "$$hashKey": "object:753",
"format": "percentunit",
"label": "CPU Utlization [%]", "label": "CPU Utlization [%]",
"logBase": 1, "logBase": 1,
"max": "100", "max": "1",
"min": null, "min": null,
"show": true "show": true
}, },
{ {
"$$hashKey": "object:754",
"format": "short", "format": "short",
"label": "Participants", "label": "Participants",
"logBase": 1, "logBase": 1,
...@@ -988,9 +991,10 @@ ...@@ -988,9 +991,10 @@
{ {
"allValue": null, "allValue": null,
"current": { "current": {
"$$hashKey": "object:690",
"selected": true, "selected": true,
"text": "bbb-3", "text": "bbb-8",
"value": "bbb-3" "value": "bbb-8"
}, },
"datasource": "Prometheus", "datasource": "Prometheus",
"definition": "label_values(bbb_api_up, service_id)", "definition": "label_values(bbb_api_up, service_id)",
...@@ -1002,51 +1006,61 @@ ...@@ -1002,51 +1006,61 @@
"name": "instance", "name": "instance",
"options": [ "options": [
{ {
"$$hashKey": "object:683",
"selected": false, "selected": false,
"text": "bbb-1", "text": "bbb-1",
"value": "bbb-1" "value": "bbb-1"
}, },
{ {
"$$hashKey": "object:684",
"selected": false, "selected": false,
"text": "bbb-2", "text": "bbb-2",
"value": "bbb-2" "value": "bbb-2"
}, },
{ {
"selected": true, "$$hashKey": "object:685",
"selected": false,
"text": "bbb-3", "text": "bbb-3",
"value": "bbb-3" "value": "bbb-3"
}, },
{ {
"$$hashKey": "object:686",
"selected": false, "selected": false,
"text": "bbb-4", "text": "bbb-4",
"value": "bbb-4" "value": "bbb-4"
}, },
{ {
"$$hashKey": "object:687",
"selected": false, "selected": false,
"text": "bbb-5", "text": "bbb-5",
"value": "bbb-5" "value": "bbb-5"
}, },
{ {
"$$hashKey": "object:688",
"selected": false, "selected": false,
"text": "bbb-6", "text": "bbb-6",
"value": "bbb-6" "value": "bbb-6"
}, },
{ {
"$$hashKey": "object:689",
"selected": false, "selected": false,
"text": "bbb-7", "text": "bbb-7",
"value": "bbb-7" "value": "bbb-7"
}, },
{ {
"selected": false, "$$hashKey": "object:690",
"selected": true,
"text": "bbb-8", "text": "bbb-8",
"value": "bbb-8" "value": "bbb-8"
}, },
{ {
"$$hashKey": "object:691",
"selected": false, "selected": false,
"text": "bbb-9", "text": "bbb-9",
"value": "bbb-9" "value": "bbb-9"
}, },
{ {
"$$hashKey": "object:692",
"selected": false, "selected": false,
"text": "bbb-10", "text": "bbb-10",
"value": "bbb-10" "value": "bbb-10"
...@@ -1089,5 +1103,5 @@ ...@@ -1089,5 +1103,5 @@
"variables": { "variables": {
"list": [] "list": []
}, },
"version": 4 "version": 1
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment