Skip to content

Commit 58f467a

Browse files
committed
feat(grafana): update node-alert.json adding ZFS ARC panels
- ARC Pressure
1 parent dd21605 commit 58f467a

File tree

1 file changed

+176
-7
lines changed

1 file changed

+176
-7
lines changed

files/grafana/node/node-alert.json

Lines changed: 176 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2705,19 +2705,188 @@
27052705
"refId": "A"
27062706
}
27072707
],
2708-
"thresholds": [
2708+
"title": "NodeClockSkew",
2709+
"type": "timeseries"
2710+
}
2711+
],
2712+
"title": "Node: Time",
2713+
"type": "row"
2714+
},
2715+
{
2716+
"collapsed": true,
2717+
"gridPos": {
2718+
"h": 1,
2719+
"w": 24,
2720+
"x": 0,
2721+
"y": 30
2722+
},
2723+
"id": 88,
2724+
"panels": [
2725+
{
2726+
"datasource": {
2727+
"type": "prometheus",
2728+
"uid": "ds-prometheus"
2729+
},
2730+
"description": "- 0.8+: Immediate intervention and adjustment are required \n- 0.6+: Monitor trends and prepare for scaling plans ",
2731+
"fieldConfig": {
2732+
"defaults": {
2733+
"color": {
2734+
"mode": "palette-classic"
2735+
},
2736+
"custom": {
2737+
"axisBorderShow": false,
2738+
"axisCenteredZero": false,
2739+
"axisColorMode": "text",
2740+
"axisLabel": "",
2741+
"axisPlacement": "auto",
2742+
"axisSoftMax": 1,
2743+
"barAlignment": 0,
2744+
"barWidthFactor": 0.6,
2745+
"drawStyle": "line",
2746+
"fillOpacity": 0,
2747+
"gradientMode": "none",
2748+
"hideFrom": {
2749+
"legend": false,
2750+
"tooltip": false,
2751+
"viz": false
2752+
},
2753+
"insertNulls": false,
2754+
"lineInterpolation": "linear",
2755+
"lineWidth": 1,
2756+
"pointSize": 5,
2757+
"scaleDistribution": {
2758+
"type": "linear"
2759+
},
2760+
"showPoints": "auto",
2761+
"spanNulls": false,
2762+
"stacking": {
2763+
"group": "A",
2764+
"mode": "none"
2765+
},
2766+
"thresholdsStyle": {
2767+
"mode": "area"
2768+
}
2769+
},
2770+
"links": [
2771+
{
2772+
"title": "Node Instance: ${__field.labels.ip}",
2773+
"url": "/d/node-instance?var-id=${__field.labels.ip}&${__url_time_range}"
2774+
}
2775+
],
2776+
"mappings": [
2777+
{
2778+
"options": {
2779+
"-1": {
2780+
"color": "gray",
2781+
"index": 1,
2782+
"text": "N/A"
2783+
}
2784+
},
2785+
"type": "value"
2786+
},
2787+
{
2788+
"options": {
2789+
"match": "null+nan",
2790+
"result": {
2791+
"color": "gray",
2792+
"index": 0,
2793+
"text": "No Data"
2794+
}
2795+
},
2796+
"type": "special"
2797+
}
2798+
],
2799+
"thresholds": {
2800+
"mode": "absolute",
2801+
"steps": [
2802+
{
2803+
"color": "super-light-green",
2804+
"value": null
2805+
},
2806+
{
2807+
"color": "orange",
2808+
"value": 0.6
2809+
},
2810+
{
2811+
"color": "semi-dark-orange",
2812+
"value": 0.7
2813+
},
2814+
{
2815+
"color": "red",
2816+
"value": 0.8
2817+
},
2818+
{
2819+
"color": "semi-dark-red",
2820+
"value": 0.9
2821+
}
2822+
]
2823+
},
2824+
"unit": "percentunit"
2825+
},
2826+
"overrides": [
2827+
{
2828+
"matcher": {
2829+
"id": "byName",
2830+
"options": "node:ins:zfs_arc_pressure_ratio"
2831+
},
2832+
"properties": [
2833+
{
2834+
"id": "color",
2835+
"value": {
2836+
"mode": "thresholds"
2837+
}
2838+
}
2839+
]
2840+
}
2841+
]
2842+
},
2843+
"gridPos": {
2844+
"h": 8,
2845+
"w": 24,
2846+
"x": 0,
2847+
"y": 31
2848+
},
2849+
"id": 89,
2850+
"options": {
2851+
"legend": {
2852+
"calcs": [
2853+
"lastNotNull"
2854+
],
2855+
"displayMode": "table",
2856+
"placement": "right",
2857+
"showLegend": true,
2858+
"sortBy": "Max",
2859+
"sortDesc": true
2860+
},
2861+
"tooltip": {
2862+
"hideZeros": false,
2863+
"mode": "single",
2864+
"sort": "none"
2865+
}
2866+
},
2867+
"pluginVersion": "11.5.2",
2868+
"targets": [
27092869
{
2710-
"colorMode": "critical",
2711-
"op": "gt",
2712-
"value": 0.05,
2713-
"visible": true
2870+
"datasource": {
2871+
"type": "prometheus",
2872+
"uid": "ds-prometheus"
2873+
},
2874+
"editorMode": "code",
2875+
"exemplar": false,
2876+
"expr": "node:ins:zfs_arc_pressure_ratio",
2877+
"hide": false,
2878+
"instant": false,
2879+
"interval": "",
2880+
"legendFormat": "{{ins}}",
2881+
"range": true,
2882+
"refId": "A"
27142883
}
27152884
],
2716-
"title": "NodeClockSkew",
2885+
"title": "ARC Pressure",
27172886
"type": "timeseries"
27182887
}
27192888
],
2720-
"title": "Node: Time",
2889+
"title": "Node: ZFS ARC",
27212890
"type": "row"
27222891
}
27232892
],

0 commit comments

Comments
 (0)