Skip to content

Commit

Permalink
adding dnsprobe healthy status
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Brookes <[email protected]>
  • Loading branch information
philbrookes committed Dec 11, 2024
1 parent 9dd1006 commit 48bd400
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/kuadrant/clusterrole-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- ratelimitpolicies
- authpolicies
- dnsrecords
- dnshealthcheckprobes
verbs:
- list
- watch
19 changes: 19 additions & 0 deletions config/kuadrant/custom-resource-state-kuadrant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,22 @@
labelsFromPath:
type: ["type"]
valueFrom: ["status"]
- groupVersionKind:
group: kuadrant.io
kind: "DNSHealthCheckProbe"
version: "v1alpha1"
metricNamePrefix: kuadrant_dnshealthcheckprobe
labelsFromPath:
name:
- metadata
- name
namespace:
- metadata
- namespace
metrics:
- name: "healthy_status"
help: "DNS Probe current status"
each:
type: Gauge
gauge:
path: [status, healthy]
19 changes: 19 additions & 0 deletions config/kuadrant/custom-resource-state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -754,3 +754,22 @@ spec:
labelsFromPath:
type: ["type"]
valueFrom: ["status"]
- groupVersionKind:
group: kuadrant.io
kind: "DNSHealthCheckProbe"
version: "v1alpha1"
metricNamePrefix: kuadrant_dnshealthcheckprobe
labelsFromPath:
name:
- metadata
- name
namespace:
- metadata
- namespace
metrics:
- name: "healthy_status"
help: "DNS Probe current status"
each:
type: Gauge
gauge:
path: [status, healthy]

0 comments on commit 48bd400

Please sign in to comment.