Skip to content

Commit

Permalink
Add DNSRecord tests
Browse files Browse the repository at this point in the history
Signed-off-by: David Martin <[email protected]>
  • Loading branch information
david-martin committed Sep 18, 2024
1 parent 855fb5a commit 549c3d0
Show file tree
Hide file tree
Showing 4 changed files with 744 additions and 0 deletions.
39 changes: 39 additions & 0 deletions config/examples/kube-prometheus/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1700,6 +1700,45 @@ data:
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"]
kind: ConfigMap
metadata:
name: custom-resource-state
Expand Down
Loading

0 comments on commit 549c3d0

Please sign in to comment.