Skip to content

Commit

Permalink
Merge pull request #14 from GilHoggarth/master
Browse files Browse the repository at this point in the history
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
GilHoggarth authored Aug 20, 2020
2 parents b6a8da8 + e2a1c3d commit 2d19f35
Show file tree
Hide file tree
Showing 10 changed files with 4,565 additions and 4,339 deletions.
1 change: 1 addition & 0 deletions monitor/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ alertmanager/config.yml
grafana/grafana.ini
prometheus/prometheus.yml
grafana/provisioning/datasources/prometheus.yaml
grafana/provisioning/_dashboard_generator/wa-status.json-template

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"cacheTimeout": null,
"colorBackground": true,
"colorValue": false,
"colorValue": true,
"colors": [
"#299c46",
"<colour>",
"#d44a3a"
"<colour1>",
"<colour2>",
"<colour3>"
],
"format": "none",
"gauge": {
Expand Down Expand Up @@ -76,4 +76,4 @@
}
],
"valueName": "current"
},
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@
}
],
"valueName": "current"
},
}
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
}
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
}
Loading

0 comments on commit 2d19f35

Please sign in to comment.