Skip to content

Commit aba137a

Browse files
authored
Merge pull request #46 from Kuadrant/gh-202
add new metrics around dnsrecord
2 parents 88cda97 + 9eec422 commit aba137a

File tree

3 files changed

+315
-718
lines changed

3 files changed

+315
-718
lines changed

config/default/custom-resource-state.yaml

+39
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,45 @@ spec:
512512
labelsFromPath:
513513
type: ["type"]
514514
valueFrom: ["status"]
515+
- groupVersionKind:
516+
group: kuadrant.io
517+
kind: "DNSRecord"
518+
version: "v1alpha1"
519+
metricNamePrefix: kuadrant_dnsrecord
520+
labelsFromPath:
521+
name:
522+
- metadata
523+
- name
524+
namespace:
525+
- metadata
526+
- namespace
527+
rootDomain:
528+
- spec
529+
- rootHost
530+
metrics:
531+
- name: "created"
532+
help: "created timestamp"
533+
each:
534+
type: Gauge
535+
gauge:
536+
path: [metadata, creationTimestamp]
537+
- name: "status_root_domain_owners"
538+
help: "root domain owners (the ids of controllers managing this root domain)"
539+
each:
540+
type: Info
541+
info:
542+
path: [status, domainOwners]
543+
labelsFromPath:
544+
owner: []
545+
- name: "status"
546+
help: "status condition"
547+
each:
548+
type: Gauge
549+
gauge:
550+
path: [status, conditions]
551+
labelsFromPath:
552+
type: ["type"]
553+
valueFrom: ["status"]
515554
- groupVersionKind:
516555
group: kuadrant.io
517556
kind: "DNSPolicy"

0 commit comments

Comments
 (0)