1
0
Fork 0
mirror of https://github.com/fluxcd/flux2-monitoring-example.git synced 2024-12-14 10:47:31 +00:00

Update dashboard panels to use time series visual

The graph panel has been deprecated. Migrate to the new time series
visualization panel.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
This commit is contained in:
Sunny 2023-08-18 10:22:44 +00:00
parent a370ffa075
commit ea9580f79a
No known key found for this signature in database
GPG key ID: C58440AB02208FDD
2 changed files with 1171 additions and 990 deletions

View file

@ -32,7 +32,7 @@
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": 5, "id": 3,
"links": [], "links": [],
"liveNow": false, "liveNow": false,
"panels": [ "panels": [
@ -86,7 +86,7 @@
"text": {}, "text": {},
"textMode": "value" "textMode": "value"
}, },
"pluginVersion": "10.0.2", "pluginVersion": "10.0.3",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -152,7 +152,7 @@
"text": {}, "text": {},
"textMode": "value" "textMode": "value"
}, },
"pluginVersion": "10.0.2", "pluginVersion": "10.0.3",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -222,7 +222,7 @@
"text": {}, "text": {},
"textMode": "value" "textMode": "value"
}, },
"pluginVersion": "10.0.2", "pluginVersion": "10.0.3",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -288,7 +288,7 @@
"text": {}, "text": {},
"textMode": "value" "textMode": "value"
}, },
"pluginVersion": "10.0.2", "pluginVersion": "10.0.3",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -358,7 +358,7 @@
"text": {}, "text": {},
"valueMode": "color" "valueMode": "color"
}, },
"pluginVersion": "10.0.2", "pluginVersion": "10.0.3",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -421,7 +421,7 @@
"text": {}, "text": {},
"valueMode": "color" "valueMode": "color"
}, },
"pluginVersion": "10.0.2", "pluginVersion": "10.0.3",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -534,7 +534,7 @@
} }
] ]
}, },
"pluginVersion": "10.0.2", "pluginVersion": "10.0.3",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -719,7 +719,7 @@
} }
] ]
}, },
"pluginVersion": "10.0.2", "pluginVersion": "10.0.3",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -812,50 +812,124 @@
"type": "row" "type": "row"
}, },
{ {
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}", "datasource": "${DS_PROMETHEUS}",
"description": "", "description": "",
"fill": 1, "fieldConfig": {
"fillGradient": 0, "defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsZero",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsNull",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
}
]
},
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 22 "y": 22
}, },
"hiddenSeries": false,
"id": 27, "id": 27,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideEmpty": true,
"hideZero": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": { "options": {
"alertThreshold": true "legend": {
"calcs": [
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
}, },
"percentage": false, "pluginVersion": "10.0.3",
"pluginVersion": "10.0.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -866,81 +940,128 @@
"refId": "B" "refId": "B"
} }
], ],
"thresholds": [],
"timeRegions": [],
"title": "Cluster reconciliation duration", "title": "Cluster reconciliation duration",
"tooltip": { "type": "timeseries"
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}, },
{ {
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}", "datasource": "${DS_PROMETHEUS}",
"description": "", "description": "",
"fill": 1, "fieldConfig": {
"fillGradient": 0, "defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsZero",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsNull",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
}
]
},
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 30 "y": 30
}, },
"hiddenSeries": false,
"id": 35, "id": 35,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideEmpty": true,
"hideZero": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": { "options": {
"alertThreshold": true "legend": {
"calcs": [
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
}, },
"percentage": false, "pluginVersion": "10.0.3",
"pluginVersion": "10.0.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -951,35 +1072,8 @@
"refId": "B" "refId": "B"
} }
], ],
"thresholds": [],
"timeRegions": [],
"title": "Source acquisition duration", "title": "Source acquisition duration",
"tooltip": { "type": "timeseries"
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
} }
], ],
"refresh": "30s", "refresh": "30s",

File diff suppressed because it is too large Load diff