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
Allow disabling hb_id
#377
Comments
hb_id allows you to associate a trace entry with entries in your log. |
Isn't that what the metadata provider provided trace/span IDs already do? |
is hb_id used internally to attach span_id/trace_id to the logger? I just started playing with Hummingbird along with swift-otel. I noticed each log has span_id, trace_id and hb_id, since swift-otel does support log export with OTEL yet; I will try running Grafana agent to see if I can correlate logs with traces. |
|
I think I understand what |
Sorry took so long to reply.
If you really want to remove the Originally I wanted to use metadata providers in Hummingbird but I haven't found a method where I can use them without trampling over metadata from other system eg swift-otel @slashmo Out of interest when are the trace-id and span-id set? |
When using Distributed Tracing with a metadata provider, Hummingbird logs get span and trace ID metadata values automatically. This makes the
hb_id
metadata value a bit superfluous and it adds unnecessary bloat to the log statements. Therefore, it would be great if one could disable it.The text was updated successfully, but these errors were encountered: