Skip to content

Tracing: http.status_code attribute is not set when requests are not proxied #11141

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

Closed
1 task done
backjo opened this issue Jun 28, 2023 · 0 comments · Fixed by #11406
Closed
1 task done

Tracing: http.status_code attribute is not set when requests are not proxied #11141

backjo opened this issue Jun 28, 2023 · 0 comments · Fixed by #11406

Comments

@backjo
Copy link
Contributor

backjo commented Jun 28, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Kong version ($ kong version)

3.3.0

Current Behavior

When an HTTP request is terminated early by a plugin in the access phase, and the request is not proxied upstream, the http.status_code attribute is not properly set.

Expected Behavior

When an HTTP request is terminated early by a plugin in the access phase, and the request is not proxied upstream, the http.status_code attribute should be set.

Steps To Reproduce

No response

Anything else?

No response

@backjo backjo changed the title Tracing: http.status_code attribute is not set when Tracing: http.status_code attribute is not set when requests are not proxied Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant