Skip to content
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 93 additions & 3 deletions deploy/observability/dashboards/betterdb-anomalies.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"uid": "betterdb-anomalies",
"title": "BetterDB · Anomalies",
"tags": ["betterdb", "valkey"],
"tags": [
"betterdb",
"valkey"
],
"schemaVersion": 39,
"version": 1,
"refresh": "30s",
"refresh": "1m",
"time": {
"from": "now-6h",
"to": "now"
Expand Down Expand Up @@ -464,6 +467,93 @@
"x": 0,
"y": 32
}
},
{
"id": 11,
"type": "timeseries",
"title": "Correlated groups (new, 1h)",
"description": "Active groups of anomalies the correlator has linked together.",
"datasource": {
"type": "prometheus",
"uid": "${ds}"
},
"fieldConfig": {
"defaults": {
"unit": "short",
"custom": {
"fillOpacity": 10
}
},
"overrides": []
},
"targets": [
{
"refId": "A",
"datasource": {
"type": "prometheus",
"uid": "${ds}"
},
"expr": "sum by (connection, severity) (increase(betterdb_correlated_groups_total{job=~\"$job\",connection=~\"$connection\"}[1h]))",
"legendFormat": "{{connection}} {{severity}}"
}
],
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 40
}
},
{
"id": 12,
"type": "timeseries",
"title": "Correlated groups by severity",
"description": "Correlated anomaly groups split by severity.",
"datasource": {
"type": "prometheus",
"uid": "${ds}"
},
"fieldConfig": {
"defaults": {
"unit": "short",
"custom": {
"fillOpacity": 10
}
},
"overrides": []
},
"targets": [
{
"refId": "A",
"datasource": {
"type": "prometheus",
"uid": "${ds}"
},
"expr": "betterdb_correlated_groups_by_severity{job=~\"$job\",connection=~\"$connection\"}",
"legendFormat": "{{severity}}"
}
],
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 40
}
}
],
"links": [
{
"title": "BetterDB dashboards",
"type": "dashboards",
"tags": [
"betterdb"
],
"asDropdown": true,
"targetBlank": false,
"includeVars": true,
"keepTime": true,
"icon": "external link",
"keepTags": false
}
]
}
}
Loading
Loading