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

Implement OTEL_EXPORTER env var #496

Closed
iNikem opened this issue Jun 11, 2020 · 8 comments · Fixed by #1242
Closed

Implement OTEL_EXPORTER env var #496

iNikem opened this issue Jun 11, 2020 · 8 comments · Fixed by #1242
Assignees

Comments

@iNikem
Copy link
Contributor

iNikem commented Jun 11, 2020

How an end-user can configure instrumentation agent to e.g. send spans to Zipkin and metrics to Prometheus? As of now only one exporter can be configured and some of them do not support metrics at all.

@trask
Copy link
Member

trask commented Aug 13, 2020

Moving this proposal over from #511 (comment):

Instead of a set of short names, we don't really need any short names. How about automatically activating an exporter based on the presence of the endpoint flag, like ota.otlp.endpoint, ota.zipkin.endpoint? Currently we only load one exporter but it'd actually be sort of nice if we could just go ahead and enable all the exporters that users set the endpoint for.

Also, this proposal addresses part of #385:

We currently only support a single exporter jar, so how does someone use jaeger + prometheus?

@trask
Copy link
Member

trask commented Aug 13, 2020

I forgot there were concerns about the proposal above (actually doc'd in meeting notes from July 16!!)

See open-telemetry/opentelemetry-specification#710 for the new proposal

@trask
Copy link
Member

trask commented Aug 13, 2020

Dropping from p1 to p3 to match prioritization of auto-collected metrics

@anuraaga
Copy link
Contributor

If selecting multiple exporters is also the same as this, I might mark it p1. Debugging deployment of OTel is quite hard if not able to enable both otlp and logging exporter at same time

@iNikem
Copy link
Contributor Author

iNikem commented Sep 14, 2020

Run local Collector with logging exporter? :)

@anuraaga
Copy link
Contributor

If it's making it to the collector, it's generally in a pretty good state already :) But logging exporter is the easiest way to see instrumentatoon is working, if some infrastructure issue is causing connection problems to the collector when starting out. Just ran into it yesterday.

@pavolloffay
Copy link
Member

I would like to work on this one

@trask
Copy link
Member

trask commented Sep 21, 2020

Adding note, shared with @pavolloffay already, let's solve this via OTEL_EXPORTER env var (I will rename this issue)

@trask trask changed the title Selecting different exporters for spans and metrics Implement OTEL_EXPORTER env var Sep 21, 2020
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 a pull request may close this issue.

4 participants