Skip to content

Commit

Permalink
Add missing part about certificate renewal to the operator dashboard (#…
Browse files Browse the repository at this point in the history
…167)

Signed-off-by: Jakub Stejskal <[email protected]>
  • Loading branch information
Frawless authored Jun 4, 2024
1 parent 4aca2b3 commit ac36a63
Showing 1 changed file with 129 additions and 4 deletions.
133 changes: 129 additions & 4 deletions metrics/grafana/dashboards/00-operators-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1285,6 +1285,131 @@ spec:
"title": "Maximum reconciliation time",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 24
},
"id": 59,
"panels": [],
"title": "Certificates",
"type": "row"
},
{
"datasource": "${DS_THANOS}",
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"filterable": true
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "string"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Expiry Time"
},
"properties": [
{
"id": "unit",
"value": "dateTimeAsIso"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Time To Expiry"
},
"properties": [
{
"id": "unit",
"value": "dateTimeFromNow"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 25
},
"id": 57,
"options": {
"showHeader": true
},
"pluginVersion": "7.4.5",
"targets": [
{
"expr": "sort (min by (cluster, type, resource_namespace) (strimzi_certificate_expiration_timestamp_ms))",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cert Expiry",
"transformations": [
{
"id": "calculateField",
"options": {
"alias": "time_to_expiry",
"mode": "reduceRow",
"reduce": {
"reducer": "last"
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {
"Time": 0,
"Value": 4,
"cluster": 1,
"resource_namespace": 2,
"time_to_expiry": 5,
"type": 3
},
"renameByName": {
"Value": "Expiry Time",
"cluster": "Cluster Name",
"resource_namespace": "Namespace",
"time_to_expiry": "Time To Expiry",
"type": "Type"
}
}
}
],
"type": "table"
},
{
"collapsed": false,
"datasource": {
Expand All @@ -1295,7 +1420,7 @@ spec:
"h": 1,
"w": 24,
"x": 0,
"y": 24
"y": 33
},
"id": 18,
"panels": [],
Expand Down Expand Up @@ -1373,7 +1498,7 @@ spec:
"h": 7,
"w": 8,
"x": 0,
"y": 25
"y": 34
},
"id": 20,
"options": {
Expand Down Expand Up @@ -1464,7 +1589,7 @@ spec:
"h": 7,
"w": 8,
"x": 8,
"y": 25
"y": 34
},
"id": 21,
"options": {
Expand Down Expand Up @@ -1555,7 +1680,7 @@ spec:
"h": 7,
"w": 8,
"x": 16,
"y": 25
"y": 34
},
"id": 22,
"options": {
Expand Down

0 comments on commit ac36a63

Please sign in to comment.