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

Auto Instrumentation sitecustomize: allowing unset PYTHONPATH #2886

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BackSlasher
Copy link

For edge cases where PYTHONPATH is not set at all

Description

Allowing edge cases where PYTHONPATH is not set outside the sitecustomize.py file by providing a default empty string

Fixes # (issue)
None, I can create one

Type of change

Please delete options that are not relevant.

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

How Has This Been Tested?

Used locally in my own project by running this at start of file:

import opentelemetry.instrumentation.auto_instrumentation.sitecustomize

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

For edge cases where PYTHONPATH is not set at all
Copy link

CLA Not Signed

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.

1 participant