-
Notifications
You must be signed in to change notification settings - Fork 23
Labels
Test caseNew test caseNew test case
Description
Automated end-to-end tests validating the Kuadrant operator Prometheus metrics documented in the Kuadrant Operator Metrics Reference.
These tests verify that the operator health metrics and policy metrics are correctly emitted with expected values and labels, and respond dynamically to policy lifecycle events.
Operator Health Metrics
- Validate
kuadrant_exists== 1 - Validate
kuadrant_ready== 1 with correctnamespaceandnamelabels - Validate
kuadrant_component_ready== 1 forauthorinoandlimitador - Validate
kuadrant_dependency_detectedexists with value 0 or 1 for all dependencies (authorino-operator,limitador-operator,cert-manager,dns-operator,istio,envoygateway) - Validate
kuadrant_controller_registeredexists with value 0 or 1 for all controllers (auth_policies,rate_limit_policies,dns_policies,tls_policies,istio_integration,envoygateway_integration)
Policy Count Metrics
- Validate
kuadrant_policies_total{kind=<kind>}>= 1 after creating AuthPolicy and RateLimitPolicy - Validate
kuadrant_policies_enforced{kind=<kind>, status="true"}>= 1 after policies are committed and ready
Policy Metrics Lifecycle (disruptive)
- Validate
kuadrant_policies_totalincrements when a new policy is created - Validate
kuadrant_policies_totaldecrements when a policy is deleted
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Test caseNew test caseNew test case
Type
Projects
Status
In Review
Status
In Review