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

Make span attributes available to sampler in aiohttp_client #1072

Conversation

nstawski
Copy link
Contributor

@nstawski nstawski commented Apr 27, 2022

Description

Makes span attributes available in aiohttp_client at span start.

Fixes #939

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Existing test suite ran successfully

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

@nstawski nstawski requested a review from a team April 27, 2022 21:24
Fixes opentelemetry-python-contrib#939
@nstawski nstawski force-pushed the ns-939-make-requests-span-attributes-available-to-samplers-for-aiohttp-client branch from b977d89 to 295a6cb Compare April 27, 2022 21:25
@nstawski nstawski changed the title [WIP] Make span attributes available in aiohttp-client Make span attributes available in aiohttp-client Apr 27, 2022
@nstawski nstawski changed the title Make span attributes available in aiohttp-client Make span attributes available in aiohttp_client Apr 27, 2022
@nstawski nstawski changed the title Make span attributes available in aiohttp_client [WIP] Make span attributes available in aiohttp_client Apr 27, 2022
@ocelotl
Copy link
Contributor

ocelotl commented Apr 27, 2022

@nstawski is this WIP? If so, please mark the PR as draft 🙂

@nstawski nstawski marked this pull request as draft April 27, 2022 22:08
…rc/opentelemetry/instrumentation/aiohttp_client/__init__.py

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
@nstawski nstawski marked this pull request as ready for review April 28, 2022 19:35
@nstawski nstawski changed the title [WIP] Make span attributes available in aiohttp_client Make span attributes available in aiohttp_client Apr 28, 2022
@srikanthccv srikanthccv changed the title Make span attributes available in aiohttp_client Make span attributes available to sampler in aiohttp_client Apr 28, 2022
@srikanthccv srikanthccv merged commit a8edcf6 into open-telemetry:main Apr 28, 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.

opentelemetry-instrumentation-aiohttp-client
3 participants