Skip to content

Conversation

@hawkw
Copy link
Contributor

@hawkw hawkw commented Apr 7, 2023

PR #2250 removed the l5d-dst-canonical header from ServiceProfile requests. This header is used by the inbound proxy for telemetry purposes, so removing it and not putting it back broke ServiceProfile route metrics. This commit adds a layer for setting this header to the service profile route stack.

We can also add the header for non-ServiceProfile requests if that's desirable...I'll have to look into whether it is. This commit should, at least, fix the existing ServiceProfile route metrics.

PR #2250 removed the `l5d-dst-canonical` header from ServiceProfile
requests. This header is used by the inbound proxy for telemetry
purposes, so removing it and not putting it back broke ServiceProfile
route metrics. This commit adds a layer for setting this header to the
service profile route stack.

We can also add the header for non-ServiceProfile requests if that's
desirable...I'll have to look into whether it is. This commit should, at
least, fix the existing ServiceProfile route metrics.
@hawkw hawkw merged commit cef2ba9 into main Apr 7, 2023
@hawkw hawkw deleted the eliza/canonical-dst branch April 7, 2023 20:27
hawkw added a commit to linkerd/linkerd2 that referenced this pull request Apr 7, 2023
This proxy release includes a fix for outbound proxies not setting the
`l5d-canonical-dst` header, which results in missing inbound
ServiceProfile route metrics (#10521).

---

* outbound: add `l5d-dst-canonical` to requests with ServiceProfiles (linkerd/linkerd2-proxy#2383)
hawkw added a commit to linkerd/linkerd2 that referenced this pull request Apr 8, 2023
This proxy release introduces a new `outbound_http_balancer_endpoints`
gauge metric which allows tracking the number of endpoints in a load
balancer by their readiness status. Additionally, it includes a fix for
outbound proxies not setting the `l5d-canonical-dst` header, which
results in missing inbound ServiceProfile route metrics (#10521).

---

* outbound: Report HTTP balancer endpoint gauges (linkerd/linkerd2-proxy#2380)
* outbound: add `l5d-dst-canonical` to requests with ServiceProfiles (linkerd/linkerd2-proxy#2383)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants