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

Ability to export traces into console (or other exporter) #6

Open
jcchavezs opened this issue Nov 2, 2020 · 3 comments
Open

Ability to export traces into console (or other exporter) #6

jcchavezs opened this issue Nov 2, 2020 · 3 comments

Comments

@jcchavezs
Copy link
Contributor

I wonder if there is (or there should be) a way to display traces in console for our agents. It is quite useful when debugging.

More so I'd like to know if we should be able to send traces to multiples destinations, again for debugging purposes. I know the collector is supposed to do that but sometimes you also want to check what goes into the collector.

Ping @adriancole @davexroth @mohit-a21 @pavolloffay

@pavolloffay
Copy link
Member

OTEL collector support logging exporter and fan out to multiple backends. Configuring a similar capability in an agent is also useful, especially for running locally.

If the upstream project on which the agent is based supports multiple exporters then the config should ideally allow it as well.

@jcchavezs
Copy link
Contributor Author

Since we settle on Config.Reporting.Endpoint I think it is a good opportunity to do this in a uniform way, for example we could say /dev/stdout for console and /path/to/myfile for file exporter. That would be pretty consistent with current implementation which uses zipkin endpoint for http and attempt touse OTLP for GRPC. Notice where is a challenge for /dev/stdout as it is not consistent but as described in https://unix.stackexchange.com/questions/36403/how-portable-are-dev-stdin-dev-stdout-and-dev-stderr

/dev/stdout [...] it is not POSIX, although many actual shells (including AT&T ksh and bash) will simulate it if it's not present in the OS

Ping @davexroth @mohit-a21

@pavolloffay
Copy link
Member

partialy done, now the config has exporter type property. We could add logging/console option

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

No branches or pull requests

2 participants