Skip to main content

OTEL_TRACE_PARENT - UFTP configuration option

Description

The OTEL_TRACE_PARENT option specifies the parent span context for the start span. If provided, the start span will be a child of the specified parent span, otherwise it will be a root span. This option is useful for continuing tracing among multiple applications.

Usage

Method

Syntax

IBM i

UNIX

Windows

z/OS

Command Line, Long Form

-otel_trace_parent trace_parent

Environment Variable

OTEL_TRACE_PARENT=trace_parent

info

This option is NOT available on:

  • Solaris
  • z/OS

Values

value must be properly formatted as per Opentelemetry standards.

No default is set.