mfotl.tracer_context_resource_files

Specifies the names of resource property files used for trace context configuration.

These might contain data specific to a particular OpenTelemetry provider, such as Dynatrace.

Syntax:

mfotl.tracer_context_resource_files=file1[,filen]...

Parameters:

filen
Specifies a file or list of files quoted and seperated by a comma. You can specify an absolute file path or a relative path to the location of the MFOTL_CONFIG file.

Tracer context resource files contain name-value pair entries with each entry on a separate line. Blank lines or lines beginning with # are treated as comment lines. This is the same format as the main OpenTelemetry subsystem configuration file. Click here for more information.

The resource files are processed in the order specified, and their entries will be merged into a single ResourceAttributes instance which will then be used to initialize the trace context factory.

Example:

mfotl.tracer_context_resource_files="/apps/dt_metadata_e617c525669e072eebe3d0f08212e8f2.properties","/var/lib/dynatrace/enrichment/dt_metadata.properties"