-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from GilHoggarth/master
Updated wa_status to use Stat panel, not SingleStat. Added trackdb number of records daily delta alert and report. Changed solr errors and warnings report to show daily changes not accumulating graph.
- Loading branch information
Showing
10 changed files
with
4,565 additions
and
4,339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
193 changes: 113 additions & 80 deletions
193
monitor/grafana/provisioning/_dashboard_generator/generate_wa-status_dashboard.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,4 +76,4 @@ | |
} | ||
], | ||
"valueName": "current" | ||
}, | ||
} |
76 changes: 76 additions & 0 deletions
76
monitor/grafana/provisioning/_dashboard_generator/templates/panelStat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"fieldConfig": { | ||
"defaults": { | ||
"custom": {}, | ||
"unit": "none", | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"value": <threshold1>, | ||
"color": "<colour1>" | ||
}, | ||
{ | ||
"value": <threshold2>, | ||
"color": "<colour2>" | ||
}, | ||
{ | ||
"value": <threshold3>, | ||
"color": "<colour3>" | ||
} | ||
] | ||
}, | ||
"mappings": [ | ||
{ | ||
"op": "=", | ||
"text": "N/A", | ||
"value": "null", | ||
"id": 0, | ||
"type": 1 | ||
} | ||
], | ||
"nullValueMode": "connected" | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": <h>, | ||
"w": <w>, | ||
"x": <x>, | ||
"y": <y> | ||
}, | ||
"id": <id>, | ||
"links": [], | ||
"maxDataPoints": 100, | ||
"options": { | ||
"reduceOptions": { | ||
"values": false, | ||
"calcs": [ | ||
"lastNotNull" | ||
], | ||
"fields": "" | ||
}, | ||
"orientation": "horizontal", | ||
"textMode": "none", | ||
"colorMode": "background", | ||
"graphMode": "none", | ||
"justifyMode": "auto" | ||
}, | ||
"pluginVersion": "7.1.3", | ||
"targets": [ | ||
{ | ||
"expr": "<expr>", | ||
"legendFormat": "", | ||
"interval": "", | ||
"format": "time_series", | ||
"instant": false, | ||
"intervalFactor": 1, | ||
"refId": "A" | ||
} | ||
], | ||
"type": "stat", | ||
"title": "<title>", | ||
"cacheTimeout": null, | ||
"interval": null, | ||
"datasource": null | ||
} |
73 changes: 73 additions & 0 deletions
73
monitor/grafana/provisioning/_dashboard_generator/templates/panelStatHadoopUsed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"gridPos": { | ||
"h": <h>, | ||
"w": <w>, | ||
"x": <x>, | ||
"y": <y> | ||
}, | ||
"id": <id>, | ||
"links": [], | ||
"maxDataPoints": 100, | ||
"targets": [ | ||
{ | ||
"expr": "<expr>", | ||
"format": "time_series", | ||
"intervalFactor": 1, | ||
"refId": "A" | ||
} | ||
], | ||
"title": "<title>", | ||
"type": "stat", | ||
"options": { | ||
"reduceOptions": { | ||
"values": false, | ||
"calcs": [ | ||
"lastNotNull" | ||
], | ||
"fields": "" | ||
}, | ||
"orientation": "horizontal", | ||
"textMode": "auto", | ||
"colorMode": "background", | ||
"graphMode": "none", | ||
"justifyMode": "auto" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"custom": {}, | ||
"unit": "percent", | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"value": <threshold1>, | ||
"color": "<colour1>" | ||
}, | ||
{ | ||
"value": <threshold2>, | ||
"color": "<colour2>" | ||
}, | ||
{ | ||
"value": <threshold3>, | ||
"color": "<colour3>" | ||
} | ||
] | ||
}, | ||
"mappings": [ | ||
{ | ||
"op": "=", | ||
"text": "N/A", | ||
"value": "null", | ||
"id": 0, | ||
"type": 1 | ||
} | ||
], | ||
"nullValueMode": "connected" | ||
}, | ||
"overrides": [] | ||
}, | ||
"pluginVersion": "7.1.3", | ||
"cacheTimeout": null, | ||
"interval": null, | ||
"datasource": null | ||
} |
Oops, something went wrong.