Skip to content

Commit

Permalink
hack/observability: add capi_machine_status_certificatesexpirydate me…
Browse files Browse the repository at this point in the history
…tric
  • Loading branch information
chrischdi committed Jul 27, 2023
1 parent ce33c29 commit 44530a5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hack/observability/kube-state-metrics/crd-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,14 @@ spec:
address:
- address
type: Info
- name: status_certificatesexpirydate
help: Information about the node reference of a machine.
each:
gauge:
path:
- status
- certificatesExpiryDate
type: Gauge
- name: status_noderef
help: Information about the node reference of a machine.
each:
Expand Down
8 changes: 8 additions & 0 deletions hack/observability/kube-state-metrics/metrics/machine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@
address:
- address
type: Info
- name: status_certificatesexpirydate
help: Information about the node reference of a machine.
each:
gauge:
path:
- status
- certificatesExpiryDate
type: Gauge
- name: status_noderef
help: Information about the node reference of a machine.
each:
Expand Down

0 comments on commit 44530a5

Please sign in to comment.