Skip to content

Commit

Permalink
Merge pull request #46 from Kuadrant/gh-202
Browse files Browse the repository at this point in the history
add new metrics around dnsrecord
  • Loading branch information
david-martin authored Sep 17, 2024
2 parents 88cda97 + 9eec422 commit aba137a
Show file tree
Hide file tree
Showing 3 changed files with 315 additions and 718 deletions.
39 changes: 39 additions & 0 deletions config/default/custom-resource-state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,45 @@ spec:
labelsFromPath:
type: ["type"]
valueFrom: ["status"]
- groupVersionKind:
group: kuadrant.io
kind: "DNSRecord"
version: "v1alpha1"
metricNamePrefix: kuadrant_dnsrecord
labelsFromPath:
name:
- metadata
- name
namespace:
- metadata
- namespace
rootDomain:
- spec
- rootHost
metrics:
- name: "created"
help: "created timestamp"
each:
type: Gauge
gauge:
path: [metadata, creationTimestamp]
- name: "status_root_domain_owners"
help: "root domain owners (the ids of controllers managing this root domain)"
each:
type: Info
info:
path: [status, domainOwners]
labelsFromPath:
owner: []
- name: "status"
help: "status condition"
each:
type: Gauge
gauge:
path: [status, conditions]
labelsFromPath:
type: ["type"]
valueFrom: ["status"]
- groupVersionKind:
group: kuadrant.io
kind: "DNSPolicy"
Expand Down
Loading

0 comments on commit aba137a

Please sign in to comment.