Skip to content

Commit

Permalink
update node dashboards with timex metrics instead of ntp metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonng committed Oct 17, 2023
1 parent 3785ac6 commit 94f53c0
Show file tree
Hide file tree
Showing 6 changed files with 1,460 additions and 1,030 deletions.
38 changes: 24 additions & 14 deletions files/grafana/node/node-alert.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"text": {},
"textMode": "auto"
},
"pluginVersion": "10.1.1",
"pluginVersion": "10.1.5",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -272,7 +272,7 @@
},
"textMode": "auto"
},
"pluginVersion": "10.1.1",
"pluginVersion": "10.1.5",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -889,7 +889,7 @@
}
]
},
"pluginVersion": "10.1.1",
"pluginVersion": "10.1.5",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -2551,6 +2551,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
Expand Down Expand Up @@ -2580,7 +2581,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
Expand All @@ -2596,7 +2598,7 @@
"h": 7,
"w": 24,
"x": 0,
"y": 9
"y": 31
},
"id": 75,
"options": {
Expand All @@ -2606,7 +2608,9 @@
],
"displayMode": "table",
"placement": "right",
"showLegend": true
"showLegend": true,
"sortBy": "Min",
"sortDesc": false
},
"tooltip": {
"mode": "single",
Expand All @@ -2619,22 +2623,24 @@
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "min without() (node_ntp_sanity or node_timex_sync_status)",
"expr": "min without() (node_timex_sync_status)",
"interval": "",
"legendFormat": "{{ ip }}",
"range": true,
"refId": "A"
}
],
"title": "NodeNtpSanity",
"title": "NodeTimeSync",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "Clock time offset alert > 50ms",
"description": "Clock time offset alert > 64ms",
"fieldConfig": {
"defaults": {
"color": {
Expand All @@ -2654,6 +2660,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
Expand Down Expand Up @@ -2682,7 +2689,8 @@
"mode": "absolute",
"steps": [
{
"color": "#3e668f"
"color": "#3e668f",
"value": null
},
{
"color": "green",
Expand All @@ -2694,7 +2702,7 @@
},
{
"color": "orange",
"value": 0.05
"value": 0.064
},
{
"color": "red",
Expand All @@ -2718,7 +2726,7 @@
"h": 7,
"w": 24,
"x": 0,
"y": 16
"y": 38
},
"id": 74,
"options": {
Expand All @@ -2728,7 +2736,9 @@
],
"displayMode": "table",
"placement": "right",
"showLegend": true
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"mode": "single",
Expand Down Expand Up @@ -2760,7 +2770,7 @@
"type": "timeseries"
}
],
"title": "Node: NTP",
"title": "Node: Time",
"type": "row"
}
],
Expand Down
Loading

0 comments on commit 94f53c0

Please sign in to comment.