File tree Expand file tree Collapse file tree
test/helm/gateway-addons-helm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8965,6 +8965,149 @@ data:
89658965 ],
89668966 "title": "Unhealthy Endpoints",
89678967 "type": "timeseries"
8968+ },
8969+ {
8970+ "collapsed": false,
8971+ "gridPos": {
8972+ "h": 1,
8973+ "w": 24,
8974+ "x": 0,
8975+ "y": 59
8976+ },
8977+ "id": 44,
8978+ "panels": [],
8979+ "title": "TLS Certificates",
8980+ "type": "row"
8981+ },
8982+ {
8983+ "datasource": {
8984+ "uid": "$datasource"
8985+ },
8986+ "fieldConfig": {
8987+ "defaults": {
8988+ "color": {
8989+ "mode": "thresholds"
8990+ },
8991+ "custom": {
8992+ "cellOptions": {
8993+ "type": "auto"
8994+ },
8995+ "filterable": false,
8996+ "inspect": false
8997+ },
8998+ "decimals": 0,
8999+ "mappings": [],
9000+ "thresholds": {
9001+ "mode": "absolute",
9002+ "steps": [
9003+ {
9004+ "color": "red",
9005+ "value": 0
9006+ },
9007+ {
9008+ "color": "yellow",
9009+ "value": 7
9010+ },
9011+ {
9012+ "color": "green",
9013+ "value": 30
9014+ }
9015+ ]
9016+ },
9017+ "unit": "none"
9018+ },
9019+ "overrides": [
9020+ {
9021+ "matcher": {
9022+ "id": "byName",
9023+ "options": "TTL (days)"
9024+ },
9025+ "properties": [
9026+ {
9027+ "id": "custom.cellOptions",
9028+ "value": {
9029+ "type": "color-background"
9030+ }
9031+ },
9032+ {
9033+ "id": "custom.width",
9034+ "value": 200
9035+ }
9036+ ]
9037+ }
9038+ ]
9039+ },
9040+ "gridPos": {
9041+ "h": 8,
9042+ "w": 24,
9043+ "x": 0,
9044+ "y": 60
9045+ },
9046+ "id": 45,
9047+ "options": {
9048+ "cellHeight": "sm",
9049+ "footer": {
9050+ "countRows": false,
9051+ "fields": "",
9052+ "reducer": [
9053+ "sum"
9054+ ],
9055+ "show": false
9056+ },
9057+ "showHeader": true,
9058+ "sortBy": [
9059+ {
9060+ "desc": false,
9061+ "displayName": "TTL (days)"
9062+ }
9063+ ]
9064+ },
9065+ "pluginVersion": "10.0.2",
9066+ "targets": [
9067+ {
9068+ "datasource": {
9069+ "uid": "$datasource"
9070+ },
9071+ "editorMode": "code",
9072+ "expr": "min by (envoy_tls_certificate) ((envoy_listener_ssl_certificate_expiration_unix_time_seconds{namespace=~\"$Namespace\"} - time()) / 86400)",
9073+ "format": "table",
9074+ "instant": true,
9075+ "legendFormat": "__auto",
9076+ "range": false,
9077+ "refId": "A"
9078+ }
9079+ ],
9080+ "title": "TLS Certificate Expiry",
9081+ "transformations": [
9082+ {
9083+ "id": "organize",
9084+ "options": {
9085+ "excludeByName": {
9086+ "Time": true,
9087+ "__name__": true,
9088+ "instance": true,
9089+ "job": true,
9090+ "pod": true,
9091+ "endpoint": true,
9092+ "namespace": true,
9093+ "container": true,
9094+ "service": true,
9095+ "node": true,
9096+ "envoy_listener_address": true,
9097+ "prometheus": true
9098+ },
9099+ "indexByName": {
9100+ "envoy_tls_certificate": 0,
9101+ "Value": 99
9102+ },
9103+ "renameByName": {
9104+ "Value": "TTL (days)",
9105+ "envoy_tls_certificate": "Certificate"
9106+ }
9107+ }
9108+ }
9109+ ],
9110+ "type": "table"
89689111 }
89699112 ],
89709113 "refresh": "10s",
@@ -9059,6 +9202,7 @@ data:
90599202 "version": 1,
90609203 "weekStart": ""
90619204 }
9205+
90629206 global-ratelimit.json : |-
90639207 {
90649208 "annotations": {
Original file line number Diff line number Diff line change @@ -9121,6 +9121,149 @@ data:
91219121 ],
91229122 "title": "Unhealthy Endpoints",
91239123 "type": "timeseries"
9124+ },
9125+ {
9126+ "collapsed": false,
9127+ "gridPos": {
9128+ "h": 1,
9129+ "w": 24,
9130+ "x": 0,
9131+ "y": 59
9132+ },
9133+ "id": 44,
9134+ "panels": [],
9135+ "title": "TLS Certificates",
9136+ "type": "row"
9137+ },
9138+ {
9139+ "datasource": {
9140+ "uid": "$datasource"
9141+ },
9142+ "fieldConfig": {
9143+ "defaults": {
9144+ "color": {
9145+ "mode": "thresholds"
9146+ },
9147+ "custom": {
9148+ "cellOptions": {
9149+ "type": "auto"
9150+ },
9151+ "filterable": false,
9152+ "inspect": false
9153+ },
9154+ "decimals": 0,
9155+ "mappings": [],
9156+ "thresholds": {
9157+ "mode": "absolute",
9158+ "steps": [
9159+ {
9160+ "color": "red",
9161+ "value": 0
9162+ },
9163+ {
9164+ "color": "yellow",
9165+ "value": 7
9166+ },
9167+ {
9168+ "color": "green",
9169+ "value": 30
9170+ }
9171+ ]
9172+ },
9173+ "unit": "none"
9174+ },
9175+ "overrides": [
9176+ {
9177+ "matcher": {
9178+ "id": "byName",
9179+ "options": "TTL (days)"
9180+ },
9181+ "properties": [
9182+ {
9183+ "id": "custom.cellOptions",
9184+ "value": {
9185+ "type": "color-background"
9186+ }
9187+ },
9188+ {
9189+ "id": "custom.width",
9190+ "value": 200
9191+ }
9192+ ]
9193+ }
9194+ ]
9195+ },
9196+ "gridPos": {
9197+ "h": 8,
9198+ "w": 24,
9199+ "x": 0,
9200+ "y": 60
9201+ },
9202+ "id": 45,
9203+ "options": {
9204+ "cellHeight": "sm",
9205+ "footer": {
9206+ "countRows": false,
9207+ "fields": "",
9208+ "reducer": [
9209+ "sum"
9210+ ],
9211+ "show": false
9212+ },
9213+ "showHeader": true,
9214+ "sortBy": [
9215+ {
9216+ "desc": false,
9217+ "displayName": "TTL (days)"
9218+ }
9219+ ]
9220+ },
9221+ "pluginVersion": "10.0.2",
9222+ "targets": [
9223+ {
9224+ "datasource": {
9225+ "uid": "$datasource"
9226+ },
9227+ "editorMode": "code",
9228+ "expr": "min by (envoy_tls_certificate) ((envoy_listener_ssl_certificate_expiration_unix_time_seconds{namespace=~\"$Namespace\"} - time()) / 86400)",
9229+ "format": "table",
9230+ "instant": true,
9231+ "legendFormat": "__auto",
9232+ "range": false,
9233+ "refId": "A"
9234+ }
9235+ ],
9236+ "title": "TLS Certificate Expiry",
9237+ "transformations": [
9238+ {
9239+ "id": "organize",
9240+ "options": {
9241+ "excludeByName": {
9242+ "Time": true,
9243+ "__name__": true,
9244+ "instance": true,
9245+ "job": true,
9246+ "pod": true,
9247+ "endpoint": true,
9248+ "namespace": true,
9249+ "container": true,
9250+ "service": true,
9251+ "node": true,
9252+ "envoy_listener_address": true,
9253+ "prometheus": true
9254+ },
9255+ "indexByName": {
9256+ "envoy_tls_certificate": 0,
9257+ "Value": 99
9258+ },
9259+ "renameByName": {
9260+ "Value": "TTL (days)",
9261+ "envoy_tls_certificate": "Certificate"
9262+ }
9263+ }
9264+ }
9265+ ],
9266+ "type": "table"
91249267 }
91259268 ],
91269269 "refresh": "10s",
@@ -9215,6 +9358,7 @@ data:
92159358 "version": 1,
92169359 "weekStart": ""
92179360 }
9361+
92189362 global-ratelimit.json : |-
92199363 {
92209364 "annotations": {
You can’t perform that action at this time.
0 commit comments