Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tracing): record http.status_code when request is not proxied #11406

Merged
merged 3 commits into from
Aug 22, 2023

Conversation

locao
Copy link
Contributor

@locao locao commented Aug 14, 2023

Summary

This PR invokes instrumentation when kong requests are not proxied to the upstream, so that the
relevant span attributes are set on all requests.

Checklist

Full changelog

  • Fix: record http.status_code even when request is not proxied.
  • Test case.

Issue reference

Fixes #11141
Closes #11152
KAG-2346

@backjo
Copy link
Contributor

backjo commented Aug 15, 2023

Thx @locao for driving this one forward!

@locao locao requested a review from gruceo August 15, 2023 16:45
@locao locao force-pushed the fix/trace_not_proxied_requests branch from 8c77928 to a512992 Compare August 22, 2023 12:37
@locao locao merged commit b00c73e into master Aug 22, 2023
@locao locao deleted the fix/trace_not_proxied_requests branch August 22, 2023 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tracing: http.status_code attribute is not set when requests are not proxied
3 participants