Files
grafana/apps/dashboard/pkg/migration/testdata/output/v14.broken-dash-min.json
Dominik Prokop b4e63c36c3 Migration v42: HideFrom tooltip consistency migration (#110517)
* Migration to be verified: v42 HideFrom tooltip migration

* snap update

* make gen cue

* Add comments of 42 being the final version
2025-09-05 15:07:30 +02:00

159 lines
3.4 KiB
JSON

{
"annotations": {
"list": []
},
"editable": false,
"gnetId": null,
"graphTooltip": 1,
"hideControls": false,
"id": 22815,
"links": [],
"panels": [
{
"datasource": {
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
}
]
},
"unit": "none"
}
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 1
},
"id": 2,
"links": [],
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "7",
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "sum(rate(http_requests_total{environment=\"$env\", region=\"$region\", service=\"webapp\"}[5m]))",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "Requests/sec",
"refId": "A"
},
{
"datasource": {
"uid": "$datasource"
},
"expr": "avg(memory_usage_bytes{environment=\"$env\", region=\"$region\", service=\"webapp\"}) / 1024 / 1024",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "Memory (MB)",
"refId": "B"
},
{
"datasource": {
"uid": "$datasource"
},
"expr": "histogram_quantile(0.95, rate(response_time_bucket{environment=\"$env\", region=\"$region\", service=\"webapp\"}[5m]))",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "95th percentile latency",
"refId": "C"
}
],
"title": "Service Stats",
"transparent": false,
"type": "stat"
},
{
"collapsed": false,
"datasource": {
"apiVersion": "v1",
"type": "prometheus",
"uid": "default-ds-uid"
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 0
},
"id": 3,
"panels": [],
"repeat": "",
"targets": [
{
"datasource": {
"apiVersion": "v1",
"type": "prometheus",
"uid": "default-ds-uid"
},
"refId": "A"
}
],
"title": "Overview",
"type": "row"
}
],
"refresh": "1m",
"schemaVersion": 42,
"style": "dark",
"tags": [
"example-service",
"as-code"
],
"templating": {
"list": []
},
"time": {
"from": "now-2h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "browser",
"title": "Service Overview Dashboard",
"uid": "ba9b93e998e09d254266b11192894a8d",
"version": 1
}