"expr": "label_replace(topk(25, sum by (room) (exneuland_cowboy_init_count{namespace=\"prod\"})), \"roomslug\", \"$1\", \"room\", \"https://[^/]+/@/rc3_21/(.+)\")",
"expr": "label_replace(topk(25, sum by (room) (exneuland_cowboy_init_count{namespace=\"$environment\"})), \"roomslug\", \"$1\", \"room\", \"https://[^/]+/@/rc3_21/(.+)\")",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{roomslug}}",
"refId": "A"
}
],
"title": "Popular Maps (Top 25)",
"transformations": [],
"title": "Popular Maps",
"type": "piechart"
},
{
...
...
@@ -620,7 +633,7 @@ data:
},
"gridPos": {
"h": 8,
"w": 18,
"w": 12,
"x": 0,
"y": 30
},
...
...
@@ -647,6 +660,89 @@ data:
"title": "Hub Error Rate",
"type": "timeseries"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 30
},
"id": 46,
"options": {
"legend": {
"calcs": [
"last",
"max"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"exemplar": true,
"expr": "label_replace((sum by (room) (exneuland_cowboy_init_count{namespace=\"$environment\"})) - (sum by (room) (exneuland_cowboy_terminate_count{namespace=\"$environment\"})), \"roomslug\", \"$1\", \"room\", \"https://[^/]+/@/rc3_21/(.+)\")",