af1b878cb7
* migrate to v19 * migrate to v18 * Migration to be verified: v17 Convert minSpan to maxPerRow in panels * Migration to be verified: 16 Grid layout migration * Refactor v17 and v19 migrations to use shared helper functions * Migration to be verified: 15 No-op migration for schema consistency * Update v27.go * Update v16.go * cleanup --------- Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com> Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>
145 lines
2.8 KiB
JSON
145 lines
2.8 KiB
JSON
{
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"datasource": {
|
|
"uid": "grafana"
|
|
},
|
|
"enable": true,
|
|
"name": "Annotations \u0026 Alerts"
|
|
}
|
|
]
|
|
},
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"id": 1,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "CPU Usage",
|
|
"type": "graph",
|
|
"yAxes": [
|
|
{
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"match": "null",
|
|
"result": {
|
|
"color": null,
|
|
"text": "N/A"
|
|
}
|
|
},
|
|
"type": "special"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"id": 2,
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"mean"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
},
|
|
"pluginVersion": "1.0.0",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"apiVersion": "v1",
|
|
"type": "prometheus",
|
|
"uid": "default-ds-uid"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Memory Usage",
|
|
"type": "stat"
|
|
}
|
|
],
|
|
"refresh": "",
|
|
"schemaVersion": 41,
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"datasource": {
|
|
"uid": "prometheus"
|
|
},
|
|
"name": "server",
|
|
"options": [],
|
|
"query": "label_values(server)",
|
|
"refresh": 1,
|
|
"type": "query"
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-6h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {
|
|
"refresh_intervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
]
|
|
},
|
|
"title": "V15 No-Op Migration Test Dashboard"
|
|
} |