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

Safer patching for Falcon API #895

Merged
merged 1 commit into from
Feb 20, 2022
Merged

Safer patching for Falcon API #895

merged 1 commit into from
Feb 20, 2022

Conversation

owais
Copy link
Contributor

@owais owais commented Feb 3, 2022

Description

We replace Falcon API class with a partial callable. It is safer to
replace it with a sub-class of the base falcon.API class so any other
systems making assumptions about falcon don't fail.

Fixes #894

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?

  • Existing tests

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

@owais owais requested a review from a team February 3, 2022 01:21
@owais owais force-pushed the fix-894 branch 5 times, most recently from 0a919b8 to f794392 Compare February 3, 2022 17:26
We replace Falcon API class with a partial callable. It is safer to
replace it with a sub-class of the base falcon.API class so any other
systems making assumptions about falcon don't fail.
@owais owais merged commit 1080b04 into open-telemetry:main Feb 20, 2022
@owais owais deleted the fix-894 branch February 20, 2022 12:10
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.

Using opentelemetry-instrument breaks Sentry SDK
3 participants