opentelemetry-python-contrib icon indicating copy to clipboard operation
opentelemetry-python-contrib copied to clipboard

Audit and test opentelemetry-instrumentation-boto

Open itsvshreyas opened this issue 8 months ago • 1 comments
trafficstars

Description

An https://github.com/open-telemetry/opentelemetry-python-contrib/issues/956 was found in the wsgi instrumentation by integration tests in the core repository. The issue should have been caught by unit tests in the instrumentation using the NoOpTracerProvider.

The outcome of this issue is to ensure each instrumentation contains a test using the NoOpTracerProvider and that it does not rely on the OpenTelemetry SDK. This test is specific to boto.

Fixes #989

Type of change

Please delete options that are not relevant.

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ x ] 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

  • [ x ] Ran the unit test TestBotoInstrumentationNoOpTracerProvider to ensure that the NoOpTracerProvider is correctly set and that no spans are created during the boto3 client operations.

Does This PR Require a Core Repo Change?

  • [ ] Yes. - Link to PR:
  • [ x ] No.

Checklist:

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

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

itsvshreyas avatar Mar 20 '25 05:03 itsvshreyas