Specifies the type of a span processor by the type property, the associated exporter by the exporter property, and additional
processor-specific property values.
The span processor names must have been specified in the preceding
mfotl.span_processor entry.
Syntax:
mfotl.span_processor<processor-name>#<property>=<property-value>
Parameters:
- processor-name
- Specifies the processor name.
- property
-
- exporter
- Specifies which exporter is associated with this span processor.
- type
- See the
property-value below for more information.
Note: Span processor property values are strings, unlike CTF property values.
- property-value
- The type property supports the following values:
- simple
- Corresponds to SimpleSpanProcessor
OpenTelemetry class.
- batch
- Corresponds to the BatchSpanProcessor
OpenTelemetry class. This has optional properties such as max_queue_size, schedule_delay_millis, max_export_batch_size. See
OpenTelemetry documentation for more information.
Example:
# simple span processor
mfotl.span_processor.default#type=simple
mfotl.span_processor.default#exporter=myfileexporter
# batch span processor
mfotl.span_processor.fast_processor#type=batch
mfotl.span_processor.fast_processor#exporter=myoltpexporter
mfotl.span_processor.fast_processor#max_export_batch_size=1024