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

contrib/starlette: fix outcome for 500 responses without exception #2060

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

xrmx
Copy link
Member

@xrmx xrmx commented Jun 7, 2024

What does this pull request do?

Set the outcome based on the status code of the http.response.start ASGI message instead of relying only on the raise of an exception both in asgi and starlette integrations.

Related issues

None

Set the outcome based on the status code of the http.response.start
ASGI message instead of relying only on the raise of an exception.
@xrmx xrmx requested a review from basepi June 7, 2024 14:22
Set the outcome based on the status code of the http.response.start
ASGI message instead of relying only on the raise of an exception.
@xrmx xrmx merged commit 30e474d into elastic:main Jun 10, 2024
92 checks passed
xrmx added a commit to xrmx/apm-agent-python that referenced this pull request Jun 10, 2024
…lastic#2060)

* contrib/starlette: fix outcome for 500 responses without exception

Set the outcome based on the status code of the http.response.start
ASGI message instead of relying only on the raise of an exception.

* contrib/asgi: fix outcome for 500 responses without exception

Set the outcome based on the status code of the http.response.start
ASGI message instead of relying only on the raise of an exception.
xrmx added a commit to xrmx/apm-agent-python that referenced this pull request Jun 10, 2024
…lastic#2060)

* contrib/starlette: fix outcome for 500 responses without exception

Set the outcome based on the status code of the http.response.start
ASGI message instead of relying only on the raise of an exception.

* contrib/asgi: fix outcome for 500 responses without exception

Set the outcome based on the status code of the http.response.start
ASGI message instead of relying only on the raise of an exception.
xrmx added a commit that referenced this pull request Jun 10, 2024
…2060)

* contrib/starlette: fix outcome for 500 responses without exception

Set the outcome based on the status code of the http.response.start
ASGI message instead of relying only on the raise of an exception.

* contrib/asgi: fix outcome for 500 responses without exception

Set the outcome based on the status code of the http.response.start
ASGI message instead of relying only on the raise of an exception.
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.

None yet

2 participants