Skip to content

Commit

Permalink
Update doc/observability/metrics.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 Apr 22, 2024
1 parent 8704327 commit 087264e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/observability/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ traffic belongs to.
The 2nd part of the query uses the `gatewayapi_httproute_labels` metric and the
`label_replace` function. The `gatewayapi_httproute_labels` metric gives a list
of all httproutes, including any labels on them. The HTTPRoute in this example
has a label called 'service', set to be the same as the istio service name.
has a label called 'service', set to be the same as the Istio service name.
This allows us to join the 2 results set.
However, because the label doesn't match exactly (`destination_service_name` and `service`),
we can replace the label so that it does match. That's what the `label_replace`
Expand Down

0 comments on commit 087264e

Please sign in to comment.