Skip to content

Commit

Permalink
Update rfcs/0000-gateway-api-metrics-exporter.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Madigan <[email protected]>
  • Loading branch information
david-martin and jasonmadigan authored Aug 19, 2024
1 parent d9776a0 commit fc69e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rfcs/0000-gateway-api-metrics-exporter.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ The health status of listeners can then be visualised in a stat panel in Grafana
This expands the debugging path beyond just the overall health of a Gateway.

```promql
gatewayapi_httproute_status_parents_conditions{namespace="<NAMESPACE>",name="<GATEWAY>",controller_name="<CONTROLLER_NAME>,"parent_group="<PARENT_GROUP>",parent_kind="<PARENT_KIND>",parent_name="<PARENT_NAME>",parent_namespace="<PARENT_NAMESPACE>",type="<ResolvedRefs|Accepted|Other>} 1
gatewayapi_httproute_status_parents_conditions{namespace="<NAMESPACE>",name="<GATEWAY>",controller_name="<CONTROLLER_NAME>","parent_group="<PARENT_GROUP>",parent_kind="<PARENT_KIND>",parent_name="<PARENT_NAME>",parent_namespace="<PARENT_NAMESPACE>",type="<ResolvedRefs|Accepted|Other>} 1
```
This metric captures the condition types for each parent of a HTTPRoute.
The `type` field would also record any custom types set by a controller. For example, `kuadrant.io/AuthPolicyAffected` and `kuadrant.io/RateLimitPolicyAffected`.
Expand Down

0 comments on commit fc69e09

Please sign in to comment.