Skip to content

Remove explicit log processor env var #311

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

Merged
merged 8 commits into from
Aug 15, 2023
Merged

Remove explicit log processor env var #311

merged 8 commits into from
Aug 15, 2023

Conversation

lzchen
Copy link
Contributor

@lzchen lzchen commented Aug 15, 2023

We are now leveraging OT env vars for our configuration instead of custom ones. Confirmed that OT sdk uses OTEL_BLRP_SCHEDULE_DELAY as specified here in the usage docs.

Fixes #265

PR that added these env vars to OT sdk: open-telemetry/opentelemetry-python#3237

@lzchen lzchen requested review from jeremydvoss and a team as code owners August 15, 2023 17:20
@lzchen lzchen closed this Aug 15, 2023
@lzchen lzchen reopened this Aug 15, 2023
CHANGELOG.md Outdated
@@ -4,6 +4,8 @@

- Unpin OTel SDK/API version
([#310](https://github.com/microsoft/ApplicationInsights-Python/pull/310))
- Replace custom log processor exporter interval env var with OT SDK env var
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's always been the OT env var. Just a question of whether we use it on our end or leave it for the OTel sdk (which previously failed to do so).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to read "explicit" instead of custom. No logic is needed in our distro when it pertains to configuring export interval as we are leveraging OT SDK env vars.

@jeremydvoss
Copy link
Member

We are now leveraging OT env vars for our configuration instead of custom ones. Confirmed that OT sdk uses OTEL_BLRP_SCHEDULE_DELAY as specified here in the usage docs.

Fixes #265

PR that added these env vars to OT sdk: open-telemetry/opentelemetry-python#3237

Misleading description. What custom env var are you talking about?

@lzchen lzchen changed the title Remove custom log processor env var Remove explicit log processor env var Aug 15, 2023
@lzchen lzchen merged commit c4d7fb6 into microsoft:main Aug 15, 2023
@lzchen lzchen deleted the remove branch August 15, 2023 22:49
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.

Remove logging export validation and env var logic once it is added to OTel SDK
2 participants