Skip to content

botocore hooks#679

Merged
ocelotl merged 9 commits intoopen-telemetry:mainfrom
helios:botocore_hooks
Sep 30, 2021
Merged

botocore hooks#679
ocelotl merged 9 commits intoopen-telemetry:mainfrom
helios:botocore_hooks

Conversation

@ItayGibel-helios
Copy link
Contributor

Description

opentelemetry-instrumentation-botocore: added request_hooks response_hooks dictionaries passed as arguments to the instrument method.

These dictionaries contain a mapping between AWS service names and callable objects that will be invoked before/after an api call to the respective service

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

added a new unit test, testing the hooks activation

Does This PR Require a Core Repo Change?

  • No.

Checklist:

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

@ItayGibel-helios ItayGibel-helios force-pushed the botocore_hooks branch 2 times, most recently from b12f5f9 to 47ae9a3 Compare September 17, 2021 08:47
@ItayGibel-helios
Copy link
Contributor Author

@owais - I've applied the change you requested, can you please have a look?
Thanks

@ocelotl ocelotl merged commit 7bc8f6c into open-telemetry:main Sep 30, 2021
@nozik nozik deleted the botocore_hooks branch November 7, 2021 15:13
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.

3 participants