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

Support multiple exporters via OTLP_EXPORTER config #1242

Merged
merged 6 commits into from
Sep 23, 2020

Conversation

pavolloffay
Copy link
Member

Signed-off-by: Pavol Loffay [email protected]

Resolves #496

PS: my first PR to this repo, I might have done smth wrong.

Signed-off-by: Pavol Loffay <[email protected]>
@iNikem
Copy link
Contributor

iNikem commented Sep 23, 2020

@pavolloffay please run ./gradlew spotlessApply

Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
@pavolloffay
Copy link
Member Author

@iNikem I have updated the PR

README.md Outdated

| System property | Environment variable | Purpose |
|--------------------------|--------------------------|----------------------------------------------------------------------------------------------------|
| otel.exporter | OTEL_EXPORTER= | To select exporter e.g. `otlp,jaeger`. Defaults to `otlp` |
Copy link
Contributor

Choose a reason for hiding this comment

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

Still one extra = :)

Copy link
Member Author

Choose a reason for hiding this comment

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

yay, removed.

Signed-off-by: Pavol Loffay <[email protected]>
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

Thanks!

@trask trask merged commit a2fac7f into open-telemetry:master Sep 23, 2020
@malafeev
Copy link
Contributor

am I right that next values for OTEL_EXPORTER are supported: "otlp_span", "otlp_metric"? (https://github.com/open-telemetry/opentelemetry-specification/blob/2088381f57004be1de4fa16e0c2adeea04cf2ce2/specification/sdk-environment-variables.md#exporter-selection)

so if I specify "otlp_span" then metrics will not be enabled?

@trask
Copy link
Member

trask commented Sep 24, 2020

Hey @malafeev, otlp_span and otlp_metric values are not supported yet. If you are interested in those, can you open an issue for adding support for them?

@malafeev
Copy link
Contributor

created #1250

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.

Implement OTEL_EXPORTER env var
4 participants