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

✨ cdiz-collector: use logfmt with traceid #10

Open
davidB opened this issue Feb 11, 2024 · 0 comments
Open

✨ cdiz-collector: use logfmt with traceid #10

davidB opened this issue Feb 11, 2024 · 0 comments
Assignees

Comments

@davidB
Copy link
Contributor

davidB commented Feb 11, 2024

  1. make a PR to init_tracing_opentelemetry::tracing_subscriber_ext to support logfmt and configurable log level
  2. switch cdviz-collector to use logfmt when available on init_tracing_opentelemetry
  3. use verbosity to configure tracing & log
    //TODO use verbosity to configure tracing & log, but allow override and finer control with RUST_LOG & CDVIZ_COLLECTOR_LOG (higher priority)
    //TODO use logfmt format (with traceid,...) see [tracing-logfmt-otel](https://github.com/elkowar/tracing-logfmt-otel)
    init_tracing_opentelemetry::tracing_subscriber_ext::init_subscribers()?;
@davidB davidB self-assigned this Feb 11, 2024
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

1 participant