Skip to content

Remove explicit log processor env var#311

Merged
lzchen merged 8 commits intomicrosoft:mainfrom
lzchen:remove
Aug 15, 2023
Merged

Remove explicit log processor env var#311
lzchen merged 8 commits intomicrosoft:mainfrom
lzchen:remove

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 a team and jeremydvoss 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

- 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