Skip to content

otel_trace ​

The otel_trace processor completes trace-group-related fields in all incoming Data Prepper span records by state caching the root span information for each traceId.

Parameters ​

This processor includes the following parameters.

  • traceGroup: Root span name
  • endTime: End time of the entire trace in International Organization for Standardization (ISO) 8601 format
  • durationInNanos: Duration of the entire trace in nanoseconds
  • statusCode: Status code for the entire trace in nanoseconds

Configuration ​

The following table describes the options you can use to configure the otel_trace processor.

OptionRequiredTypeDescription
trace_flush_intervalNoIntegerRepresents the time interval in seconds to flush all the descendant spans without any root span. Default is 180.

Metrics ​

The following table describes common Abstract processor metrics.

Metric nameTypeDescription
recordsInCounterMetric representing the ingress of records to a pipeline component.
recordsOutCounterMetric representing the egress of records from a pipeline component.
timeElapsedTimerMetric representing the time elapsed during execution of a pipeline component.

The otel_trace processor includes the following custom metrics:

  • traceGroupCacheCount: The number of trace groups in the trace group cache.
  • spanSetCount: The number of span sets in the span set collection.

Released under the Apache License 2.0. Forum · Contact us