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

Improve exporter setup #3

Merged
merged 2 commits into from
Sep 6, 2023
Merged

Improve exporter setup #3

merged 2 commits into from
Sep 6, 2023

Conversation

pyohannes
Copy link
Contributor

Changes

With the existing logic, the AgentOtlpExporter settings are always used as the default, even if environment variables for setting up the CloudOtlpExporter are set.

With these changes, the CloudOtlpExporter is used when environment variables are present, otherwise the AgentOtlpExporter is used.

Merge requirement checklist

  • Unit tests added/updated
  • CHANGELOG.md file updated for non-trivial changes
  • Changes in public API reviewed (if applicable)

@matt-hensley matt-hensley merged commit a84e74f into main Sep 6, 2023
7 checks passed
@pyohannes pyohannes deleted the dev/johannes/env-config branch November 8, 2023 16:17
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.

2 participants