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

instrumentation/python: set OTEL_EXPORTER_OTLP_PROTOCOL to http/protobuf #3165

Merged

Conversation

xrmx
Copy link
Contributor

@xrmx xrmx commented Jul 25, 2024

Description:

Instead of setting the environment variable for each specific signal use the common one that it is also the one that is set by the distro.

Link to tracking Issue(s):

Testing:

Added test case for the new environment variable set

Documentation:

None

@xrmx xrmx force-pushed the python-set-otel-exporter-otlp-protocol branch 2 times, most recently from 5f1b8f2 to 6015543 Compare July 25, 2024 15:47
@xrmx xrmx marked this pull request as ready for review July 26, 2024 12:10
@xrmx xrmx requested a review from a team July 26, 2024 12:10
@xrmx
Copy link
Contributor Author

xrmx commented Jul 26, 2024

I'm not able to sort out what's wrong with the e2e-tests failure but looks unrelated.

@jaronoff97
Copy link
Contributor

@xrmx fixed that, e2e can be flaky at times.

@xrmx xrmx force-pushed the python-set-otel-exporter-otlp-protocol branch from 6f7ba8c to f5b5c17 Compare July 26, 2024 15:26
…gnal specific env vars

Instead of setting the environment variable for each signal
use the common one that it is also set by the distro.
@xrmx xrmx force-pushed the python-set-otel-exporter-otlp-protocol branch from f5b5c17 to 735d5ae Compare July 26, 2024 15:28
@xrmx
Copy link
Contributor Author

xrmx commented Jul 26, 2024

I don't understand what this mean:

pkg/instrumentation/python.go:26: File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/open-telemetry/opentelemetry-operator) (gci)

@TylerHelmuth
Copy link
Member

@xrmx it means the import statements at the top of the file are not arranged correctly into 3 sections.

@xrmx
Copy link
Contributor Author

xrmx commented Jul 26, 2024

@xrmx it means the import statements at the top of the file are not arranged correctly into 3 sections.

Was not that, the issue was that there were too many spaces in the const definitions before the equal sign 😅

@jaronoff97 jaronoff97 requested a review from TylerHelmuth July 29, 2024 13:41
@xrmx
Copy link
Contributor Author

xrmx commented Aug 19, 2024

Hello, can I do something to move this forward? BTW merged main and e2e tests failure looks unrelated. Thanks!

@swiatekm swiatekm requested a review from pavolloffay August 19, 2024 12:16
@TylerHelmuth TylerHelmuth added the ready-to-merge Code review completed; ready to merge by maintainers label Aug 19, 2024
@pavolloffay pavolloffay merged commit 7d59d65 into open-telemetry:main Aug 20, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants