Skip to content

Commit

Permalink
Add Syndication failure metric to the Grafana dashboard (#2257)
Browse files Browse the repository at this point in the history
* Add Syndication failure metric to the Grafana dashboard

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED

* Add Syndication failure metric to the Grafana dashboard

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED

* remove the left TODO comment

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
  • Loading branch information
thearifismail authored Feb 11, 2025
1 parent 27a47ce commit d1e84f3
Showing 1 changed file with 91 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1010,6 +1010,97 @@ data:
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": true,
"colorPostfix": false,
"colorValue": false,
"colors": [
"#d44a3a",
"rgba(237, 129, 40, 0.89)",
"#299c46"
],
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 3,
"x": 9,
"y": 8
},
"id": 77,
"interval": null,
"links": [
{
"targetBlank": true,
"url": "[[kibana]],query:'@log_stream:+%22host-inventory-syndicator-*%22+AND+message:+%22DB+Name\:+insights%22'),sort:!('@timestamp',desc))"
}
],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "#052b51",
"full": true,
"lineColor": "#e5ac0e",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "sum(increase(hosts_syndication_fail_count_total{namespace=~\"host-inventory-*\"}[$_range]))"
"interval": "5m",
"refId": "A"
}
],
"thresholds": "0,1",
"title": "Syndication Failures",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
}
{
"cacheTimeout": null,
"colorBackground": true,
Expand Down

0 comments on commit d1e84f3

Please sign in to comment.