diff --git a/config/resource-metrics/httpproxies.yaml b/config/resource-metrics/httpproxies.yaml index f85d6a9c..8e26ae9e 100644 --- a/config/resource-metrics/httpproxies.yaml +++ b/config/resource-metrics/httpproxies.yaml @@ -52,6 +52,17 @@ spec: reason: [reason] status: [status] valueFrom: [status] + - name: "status_condition_last_transition_time" + help: "last transition time for status conditions" + each: + type: Gauge + gauge: + path: [status, conditions] + labelsFromPath: + type: [type] + reason: [reason] + status: [status] + valueFrom: [lastTransitionTime] - name: "custom_hostname" help: "Custom hostname defined on the proxy" errorLogV: 10 diff --git a/config/resource-metrics/networks.yaml b/config/resource-metrics/networks.yaml index cf0406be..a2d46243 100644 --- a/config/resource-metrics/networks.yaml +++ b/config/resource-metrics/networks.yaml @@ -40,3 +40,14 @@ spec: reason: [reason] status: [status] valueFrom: [status] + - name: "status_condition_last_transition_time" + help: "last transition time for status conditions" + each: + type: Gauge + gauge: + path: [status, conditions] + labelsFromPath: + type: [type] + reason: [reason] + status: [status] + valueFrom: [lastTransitionTime] diff --git a/config/resource-metrics/subnet-claims.yaml b/config/resource-metrics/subnet-claims.yaml index 47123133..3a30c850 100644 --- a/config/resource-metrics/subnet-claims.yaml +++ b/config/resource-metrics/subnet-claims.yaml @@ -45,3 +45,14 @@ spec: reason: [reason] status: [status] valueFrom: [status] + - name: "status_condition_last_transition_time" + help: "last transition time for status conditions" + each: + type: Gauge + gauge: + path: [status, conditions] + labelsFromPath: + type: [type] + reason: [reason] + status: [status] + valueFrom: [lastTransitionTime] diff --git a/config/resource-metrics/subnets.yaml b/config/resource-metrics/subnets.yaml index fb56a263..b4766dd9 100644 --- a/config/resource-metrics/subnets.yaml +++ b/config/resource-metrics/subnets.yaml @@ -42,3 +42,14 @@ spec: reason: [reason] status: [status] valueFrom: [status] + - name: "status_condition_last_transition_time" + help: "last transition time for status conditions" + each: + type: Gauge + gauge: + path: [status, conditions] + labelsFromPath: + type: [type] + reason: [reason] + status: [status] + valueFrom: [lastTransitionTime]