-
Notifications
You must be signed in to change notification settings - Fork 91
feat: Add OTEL default variables #1812
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for polite-licorice-3db33c canceled.
|
|
@askpt I would suggest using https://pkg.go.dev/go.opentelemetry.io/contrib/exporters/autoexport and not re-implement the entire otel sdk. |
Thank you so much for the suggestion @erka! I was not aware of this library, and I will take a look. I am concerned that it may not be easily switched, as we need to maintain backwards compatibility with the previous settings. |
|
You can likely configure the OTEL environment variables within the code - using the flagd configuration - prior to initializing autoexport to maintain backwards compatibility. |
…erride Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
…ation Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
…sistency Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
…uration. Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
94a88af to
6d015b6
Compare
Signed-off-by: André Silva 2493377+askpt@users.noreply.github.com
This PR
Related Issues
Fixes #1141
Notes
Follow-up Tasks
How to test