New transform: log to span #13260
Labels
domain: logs
Anything related to Vector's log events
domain: traces
Anything related to Vectors' trace events
domain: transforms
Anything related to Vector's transform components
type: feature
A value-adding code addition that introduce new functionality.
A more basic version of #12029 that I'd love to have: simply generating spans from logs.
If my logs have
trace_id
andspan_id
on them, then I can just spit out spans and have some other part of the pipeline (possibly within vector, possibly not) group them by trace for tail based sampling, or stuff like thesql_query_count
example in #12710.Specific use cases for this simpler version:
remap
to parse out the trace context from the commentThis might not even by the same transform, but it's a huge missing piece of our nascent pipeline. For load balancer logs, we currently have a cloud function doing the conversion and exporting to our opentelemetry collector. It's a lot more operational overhead than I'd like, and a simple way to turn logs into spans would tidy it all away.
*
.spanId
as hex,.trace
asprojects/<project_id>/traces/<trace_id_hex>
Originally posted by @kamalmarhubi in #12029 (comment)
The text was updated successfully, but these errors were encountered: