Configuring OpenTelemetry

The OpenTelemetry configuration file location is specified by the MFOTL_CONFIG environment variable. For example:

export MFOTL_CONFIG=/apps/app_otl.cfg

The configuration file uses the same format as the MFTRACE_CONFIG file used by CTF and has the following requirements:

The file is processed during initialization of the OpenTelemetry subsystem.

Note: If MFOTL_CONFIG is not specified, no telemetry information will be generated.

The following configuration options are available:

mfotl.exporter
mfotl.exporter.<exporter-name>#<property>
mfotl.span_processor
mfotl.span_processor.<span_processor-name>#<property>
mfotl.tracer_context_resource_files
mfotl.sampler
mfotl.sampler.<sampler-name>#<property>
mfotl.service_name
mfotl.service_version
mfotl.application
mfotl.tracer.<tracer-name>#<property>