This version of the OpenSearch documentation is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.
otel_trace_raw
Overview
The otel_trace_raw
processor completes trace-group-related fields in all incoming Data Prepper span records by state caching the root span information for each tradeId
. This processor includes the following parameters.
traceGroup
: Root span nameendTime
: End time of the entire trace in International Organization for Standardization (ISO) 8601 formatdurationInNanos
: Duration of the entire trace in nanosecondsstatusCode
: Status code for the entire trace in nanoseconds
The following table describes the options you can use to configure the otel_trace_raw
processor.
Option | Required | Type | Description |
---|---|---|---|
trace_flush_interval | No | Integer | Represents 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 name | Type | Description |
---|---|---|
recordsIn | Counter | Metric representing the ingress of records to a pipeline component. |
recordsOut | Counter | Metric representing the egress of records from a pipeline component. |
timeElapsed | Timer | Metric representing the time elapsed during execution of a pipeline component. |
The otel_trace_raw
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.