Skip to content

Conversation

askpt
Copy link
Member

@askpt askpt commented Oct 13, 2025

Signed-off-by: André Silva [email protected]

This PR

  • adds this new feature

Related Issues

Fixes #1141

Notes

Follow-up Tasks

How to test

Copy link

netlify bot commented Oct 13, 2025

Deploy Preview for polite-licorice-3db33c canceled.

Name Link
🔨 Latest commit f9493c4
🔍 Latest deploy log https://app.netlify.com/projects/polite-licorice-3db33c/deploys/68ed5fe3c44a3100083d51d5

@erka
Copy link

erka commented Oct 14, 2025

@askpt I would suggest using https://pkg.go.dev/go.opentelemetry.io/contrib/exporters/autoexport and not re-implement the entire otel sdk.

@askpt
Copy link
Member Author

askpt commented Oct 14, 2025

@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.

@erka
Copy link

erka commented Oct 14, 2025

You can likely configure the OTEL environment variables within the code - using the flagd configuration - prior to initializing autoexport to maintain backwards compatibility.

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.

[FEATURE] flagd should use standard OTel SDK env vars

2 participants