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

Set OTEL_LOGS_EXPORTER for python #3330

Merged
merged 8 commits into from
Oct 17, 2024

Conversation

xrmx
Copy link
Contributor

@xrmx xrmx commented Oct 7, 2024

Description:

Set OTEL_LOGS_EXPORTER to otlp to match the other signals. Logging is still disabled because it requires OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED set to true but that's a bigger change and may require a discussion.

Link to tracking Issue(s):

  • Resolves: none

Testing:

make test

Documentation:

@xrmx xrmx requested a review from a team as a code owner October 7, 2024 08:59
@pavolloffay
Copy link
Member

Set OTEL_LOGS_EXPORTER to otlp to match the other signals. L

Is this fixing a bug or is it just to be aligned with other injection code?

@xrmx xrmx requested a review from pavolloffay October 10, 2024 12:56
@swiatekm
Copy link
Contributor

@xrmx it looks like you have some E2E test failures related to the order of env variables in containers.

@xrmx xrmx force-pushed the setup-python-otel-logs-exporter branch from 26acf2b to b474a15 Compare October 14, 2024 15:04
@xrmx xrmx force-pushed the setup-python-otel-logs-exporter branch from a3c8b64 to 391ffc5 Compare October 14, 2024 15:57
@xrmx xrmx force-pushed the setup-python-otel-logs-exporter branch from 391ffc5 to aad65c0 Compare October 15, 2024 09:43
pkg/instrumentation/python.go Outdated Show resolved Hide resolved
pkg/instrumentation/python.go Outdated Show resolved Hide resolved
pkg/instrumentation/python.go Outdated Show resolved Hide resolved
@swiatekm swiatekm merged commit c4c5cc8 into open-telemetry:main Oct 17, 2024
35 checks passed
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.

5 participants