This is a processor that receives collection of Span records sent from otel-trace-source, does stateful processing on extracting and filling-in trace group related fields.
Note:
otel_trace_rawprocessor has been renamed tootel_traces. You can use either name for now but the support forotel_trace_rawwill be removed in major version 3.0.
Example .yaml configuration
processor:
- otel_trace_raw:
trace_flush_interval: Anintrepresents the time interval in seconds to flush all the descendant spans without any root span. Default to 180.trace_group_cache_ttl: ADurationrepresents the time-to-live for traces in the trace group cache. Defaults to 15 seconds.trace_group_cache_max_size: Anintrepresenting the total number of traces to keep in the trace group cache.
In addition to the metrics from AbstractProcessor:
traceGroupCacheCount- (gauge) The count of trace groups in the trace group cachespanSetCount- (gauge) The count of span sets in the span set collection
This plugin is compatible with Java 8. See