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

[feat] Add ConsoleSpanExporter easy-button for local dev #73

Open
JamieDanielson opened this issue Feb 14, 2024 · 0 comments
Open

[feat] Add ConsoleSpanExporter easy-button for local dev #73

JamieDanielson opened this issue Feb 14, 2024 · 0 comments
Labels
type: enhancement New feature or request

Comments

@JamieDanielson
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Sometimes it's nice to see what the output of telemetry would be, without needing to send anywhere. Debug only logs to stdout if it's successfully exported, and otherwise you need to manually add in a ConsoleSpan Exporter.

Describe the solution you'd like

Maybe a ConsoleSpanExporter easy-button. Since debug only logs if something is successfully exported, a "dev" option could ignore everything else and just always send to stdout and never try to export elsewhere

Describe alternatives you've considered

Just rely on manually adding ConsoleSpanExporter and/or spinning up a collector. Or another tool might work just as well or better for this and I just don't have it in mind right now!

Additional context

Comment thread on PR 72

if we drop everything, do we still get logs if debug is true? like could someone set it to zero to see what events would be sent but not actually send events over the wire?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant