-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
bugSomething isn't workingSomething isn't workingneeds triageNew issue that requires triageNew issue that requires triage
Description
Describe the bug
When pekko's HTTP server is configured with a request-timeout (default 20s) the span is never ended, and its response status code is never set.
Here's an attempt at fixing that, including a test that fails without the changes: #13435
I imagine the same solution would work with akka-http.
Steps to reproduce
See testTimeout
Expected behavior
The span should:
- end
statusset toerrorhttp.response.status_codeset to the status code of theHttpResponsereturned by Timeout-Access (defaults to503)
Actual behavior
The span doesn't end, so doesn't get exported.
Javaagent or library instrumentation version
pekko-http-1.0
Environment
JDK: 21
OS: MacOS
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds triageNew issue that requires triageNew issue that requires triage