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

aiohttp-client: Allow overriding of span status #1394

Merged
merged 4 commits into from
Nov 7, 2022

Conversation

nils-borrmann-y42
Copy link
Contributor

@nils-borrmann-y42 nils-borrmann-y42 commented Oct 20, 2022

Description

Fixes #1393 - move the response_hook() evaluation to after the status has been set on the span to allow for overriding the status in the hook.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@nils-borrmann-y42 nils-borrmann-y42 requested a review from a team as a code owner October 20, 2022 21:35
@srikanthccv srikanthccv enabled auto-merge (squash) November 7, 2022 16:55
@srikanthccv srikanthccv merged commit 7acc336 into open-telemetry:main Nov 7, 2022
saartochner-lumigo pushed a commit to lumigo-io/opentelemetry-python-contrib that referenced this pull request Nov 13, 2022
saartochner-lumigo pushed a commit to lumigo-io/opentelemetry-python-contrib that referenced this pull request Nov 13, 2022
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.

aiohttp-client: Allow overriding of span status
3 participants