OpenTelemetry PHP

Variables

Environment variables defined by the OpenTelemetry specification and language specific variables for the PHP SDK.

Tags
see
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md

Table of Contents

Constants

OTEL_ATTRIBUTE_COUNT_LIMIT  = 'OTEL_ATTRIBUTE_COUNT_LIMIT'
OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT  = 'OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT'
Attribute Limits
OTEL_BLRP_EXPORT_TIMEOUT  = 'OTEL_BLRP_EXPORT_TIMEOUT'
OTEL_BLRP_MAX_EXPORT_BATCH_SIZE  = 'OTEL_BLRP_MAX_EXPORT_BATCH_SIZE'
OTEL_BLRP_MAX_QUEUE_SIZE  = 'OTEL_BLRP_MAX_QUEUE_SIZE'
OTEL_BLRP_SCHEDULE_DELAY  = 'OTEL_BLRP_SCHEDULE_DELAY'
Batch LogRecord Processor
OTEL_BSP_EXPORT_TIMEOUT  = 'OTEL_BSP_EXPORT_TIMEOUT'
OTEL_BSP_MAX_EXPORT_BATCH_SIZE  = 'OTEL_BSP_MAX_EXPORT_BATCH_SIZE'
OTEL_BSP_MAX_QUEUE_SIZE  = 'OTEL_BSP_MAX_QUEUE_SIZE'
OTEL_BSP_SCHEDULE_DELAY  = 'OTEL_BSP_SCHEDULE_DELAY'
Batch Span Processor
OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT  = 'OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT'
OTEL_EXPERIMENTAL_CONFIG_FILE  = 'OTEL_EXPERIMENTAL_CONFIG_FILE'
OTEL_EXPORTER_OTLP_CERTIFICATE  = 'OTEL_EXPORTER_OTLP_CERTIFICATE'
OTEL_EXPORTER_OTLP_COMPRESSION  = 'OTEL_EXPORTER_OTLP_COMPRESSION'
OTEL_EXPORTER_OTLP_ENDPOINT  = 'OTEL_EXPORTER_OTLP_ENDPOINT'
OTLP Exporter
OTEL_EXPORTER_OTLP_HEADERS  = 'OTEL_EXPORTER_OTLP_HEADERS'
OTEL_EXPORTER_OTLP_INSECURE  = 'OTEL_EXPORTER_OTLP_INSECURE'
OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE  = 'OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE'
OTEL_EXPORTER_OTLP_LOGS_COMPRESSION  = 'OTEL_EXPORTER_OTLP_LOGS_COMPRESSION'
OTEL_EXPORTER_OTLP_LOGS_ENDPOINT  = 'OTEL_EXPORTER_OTLP_LOGS_ENDPOINT'
OTEL_EXPORTER_OTLP_LOGS_HEADERS  = 'OTEL_EXPORTER_OTLP_LOGS_HEADERS'
OTEL_EXPORTER_OTLP_LOGS_INSECURE  = 'OTEL_EXPORTER_OTLP_LOGS_INSECURE'
OTEL_EXPORTER_OTLP_LOGS_PROTOCOL  = 'OTEL_EXPORTER_OTLP_LOGS_PROTOCOL'
OTEL_EXPORTER_OTLP_LOGS_TIMEOUT  = 'OTEL_EXPORTER_OTLP_LOGS_TIMEOUT'
OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE  = 'OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE'
OTEL_EXPORTER_OTLP_METRICS_COMPRESSION  = 'OTEL_EXPORTER_OTLP_METRICS_COMPRESSION'
OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION  = 'OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION'
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT  = 'OTEL_EXPORTER_OTLP_METRICS_ENDPOINT'
OTEL_EXPORTER_OTLP_METRICS_HEADERS  = 'OTEL_EXPORTER_OTLP_METRICS_HEADERS'
OTEL_EXPORTER_OTLP_METRICS_INSECURE  = 'OTEL_EXPORTER_OTLP_METRICS_INSECURE'
OTEL_EXPORTER_OTLP_METRICS_PROTOCOL  = 'OTEL_EXPORTER_OTLP_METRICS_PROTOCOL'
OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE  = 'OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE'
OTEL_EXPORTER_OTLP_METRICS_TIMEOUT  = 'OTEL_EXPORTER_OTLP_METRICS_TIMEOUT'
OTEL_EXPORTER_OTLP_PROTOCOL  = 'OTEL_EXPORTER_OTLP_PROTOCOL'
OTEL_EXPORTER_OTLP_TIMEOUT  = 'OTEL_EXPORTER_OTLP_TIMEOUT'
OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE  = 'OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE'
OTEL_EXPORTER_OTLP_TRACES_COMPRESSION  = 'OTEL_EXPORTER_OTLP_TRACES_COMPRESSION'
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT  = 'OTEL_EXPORTER_OTLP_TRACES_ENDPOINT'
OTEL_EXPORTER_OTLP_TRACES_HEADERS  = 'OTEL_EXPORTER_OTLP_TRACES_HEADERS'
OTEL_EXPORTER_OTLP_TRACES_INSECURE  = 'OTEL_EXPORTER_OTLP_TRACES_INSECURE'
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL  = 'OTEL_EXPORTER_OTLP_TRACES_PROTOCOL'
OTEL_EXPORTER_OTLP_TRACES_TIMEOUT  = 'OTEL_EXPORTER_OTLP_TRACES_TIMEOUT'
OTEL_EXPORTER_PROMETHEUS_HOST  = 'OTEL_EXPORTER_PROMETHEUS_HOST'
Prometheus Exporter
OTEL_EXPORTER_PROMETHEUS_PORT  = 'OTEL_EXPORTER_PROMETHEUS_PORT'
OTEL_EXPORTER_ZIPKIN_ENDPOINT  = 'OTEL_EXPORTER_ZIPKIN_ENDPOINT'
Zipkin Exporter
OTEL_EXPORTER_ZIPKIN_PROTOCOL  = 'OTEL_EXPORTER_ZIPKIN_PROTOCOL'
OTEL_EXPORTER_ZIPKIN_TIMEOUT  = 'OTEL_EXPORTER_ZIPKIN_TIMEOUT'
OTEL_LINK_ATTRIBUTE_COUNT_LIMIT  = 'OTEL_LINK_ATTRIBUTE_COUNT_LIMIT'
OTEL_LOG_LEVEL  = 'OTEL_LOG_LEVEL'
OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT  = 'OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT'
OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT  = 'OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT'
LogRecord limits
OTEL_LOGS_EXPORTER  = 'OTEL_LOGS_EXPORTER'
OTEL_METRIC_EXPORT_INTERVAL  = 'OTEL_METRIC_EXPORT_INTERVAL'
OTEL_METRIC_EXPORT_TIMEOUT  = 'OTEL_METRIC_EXPORT_TIMEOUT'
OTEL_METRICS_EXEMPLAR_FILTER  = 'OTEL_METRICS_EXEMPLAR_FILTER'
Metrics SDK Configuration
OTEL_METRICS_EXPORTER  = 'OTEL_METRICS_EXPORTER'
OTEL_PHP_AUTOLOAD_ENABLED  = 'OTEL_PHP_AUTOLOAD_ENABLED'
OTEL_PHP_DETECTORS  = 'OTEL_PHP_DETECTORS'
OTEL_PHP_DISABLED_INSTRUMENTATIONS  = 'OTEL_PHP_DISABLED_INSTRUMENTATIONS'
OTEL_PHP_EXCLUDED_URLS  = 'OTEL_PHP_EXCLUDED_URLS'
OTEL_PHP_EXPERIMENTAL_AUTO_ROOT_SPAN  = 'OTEL_PHP_EXPERIMENTAL_AUTO_ROOT_SPAN'
OTEL_PHP_INTERNAL_METRICS_ENABLED  = 'OTEL_PHP_INTERNAL_METRICS_ENABLED'
OTEL_PHP_LOG_DESTINATION  = 'OTEL_PHP_LOG_DESTINATION'
OTEL_PHP_LOGS_PROCESSOR  = 'OTEL_PHP_LOGS_PROCESSOR'
OTEL_PHP_TRACES_PROCESSOR  = 'OTEL_PHP_TRACES_PROCESSOR'
Language Specific Environment Variables
OTEL_PROPAGATORS  = 'OTEL_PROPAGATORS'
OTEL_RESOURCE_ATTRIBUTES  = 'OTEL_RESOURCE_ATTRIBUTES'
General SDK Configuration
OTEL_SDK_DISABLED  = 'OTEL_SDK_DISABLED'
OTEL_SERVICE_NAME  = 'OTEL_SERVICE_NAME'
OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT  = 'OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT'
OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT  = 'OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT'
Span Limits
OTEL_SPAN_EVENT_COUNT_LIMIT  = 'OTEL_SPAN_EVENT_COUNT_LIMIT'
OTEL_SPAN_LINK_COUNT_LIMIT  = 'OTEL_SPAN_LINK_COUNT_LIMIT'
OTEL_TRACES_EXPORTER  = 'OTEL_TRACES_EXPORTER'
Exporter Selection
OTEL_TRACES_SAMPLER  = 'OTEL_TRACES_SAMPLER'
OTEL_TRACES_SAMPLER_ARG  = 'OTEL_TRACES_SAMPLER_ARG'

Constants

OTEL_ATTRIBUTE_COUNT_LIMIT

public mixed OTEL_ATTRIBUTE_COUNT_LIMIT = 'OTEL_ATTRIBUTE_COUNT_LIMIT'

OTEL_BLRP_EXPORT_TIMEOUT

public mixed OTEL_BLRP_EXPORT_TIMEOUT = 'OTEL_BLRP_EXPORT_TIMEOUT'

OTEL_BLRP_MAX_EXPORT_BATCH_SIZE

public mixed OTEL_BLRP_MAX_EXPORT_BATCH_SIZE = 'OTEL_BLRP_MAX_EXPORT_BATCH_SIZE'

OTEL_BLRP_MAX_QUEUE_SIZE

public mixed OTEL_BLRP_MAX_QUEUE_SIZE = 'OTEL_BLRP_MAX_QUEUE_SIZE'

OTEL_BSP_EXPORT_TIMEOUT

public mixed OTEL_BSP_EXPORT_TIMEOUT = 'OTEL_BSP_EXPORT_TIMEOUT'

OTEL_BSP_MAX_EXPORT_BATCH_SIZE

public mixed OTEL_BSP_MAX_EXPORT_BATCH_SIZE = 'OTEL_BSP_MAX_EXPORT_BATCH_SIZE'

OTEL_BSP_MAX_QUEUE_SIZE

public mixed OTEL_BSP_MAX_QUEUE_SIZE = 'OTEL_BSP_MAX_QUEUE_SIZE'

OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT

public mixed OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT = 'OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT'

OTEL_EXPERIMENTAL_CONFIG_FILE

public mixed OTEL_EXPERIMENTAL_CONFIG_FILE = 'OTEL_EXPERIMENTAL_CONFIG_FILE'

OTEL_EXPORTER_OTLP_CERTIFICATE

public mixed OTEL_EXPORTER_OTLP_CERTIFICATE = 'OTEL_EXPORTER_OTLP_CERTIFICATE'

OTEL_EXPORTER_OTLP_COMPRESSION

public mixed OTEL_EXPORTER_OTLP_COMPRESSION = 'OTEL_EXPORTER_OTLP_COMPRESSION'

OTEL_EXPORTER_OTLP_HEADERS

public mixed OTEL_EXPORTER_OTLP_HEADERS = 'OTEL_EXPORTER_OTLP_HEADERS'

OTEL_EXPORTER_OTLP_INSECURE

public mixed OTEL_EXPORTER_OTLP_INSECURE = 'OTEL_EXPORTER_OTLP_INSECURE'

OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE

public mixed OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE = 'OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE'

OTEL_EXPORTER_OTLP_LOGS_COMPRESSION

public mixed OTEL_EXPORTER_OTLP_LOGS_COMPRESSION = 'OTEL_EXPORTER_OTLP_LOGS_COMPRESSION'

OTEL_EXPORTER_OTLP_LOGS_ENDPOINT

public mixed OTEL_EXPORTER_OTLP_LOGS_ENDPOINT = 'OTEL_EXPORTER_OTLP_LOGS_ENDPOINT'

OTEL_EXPORTER_OTLP_LOGS_HEADERS

public mixed OTEL_EXPORTER_OTLP_LOGS_HEADERS = 'OTEL_EXPORTER_OTLP_LOGS_HEADERS'

OTEL_EXPORTER_OTLP_LOGS_INSECURE

public mixed OTEL_EXPORTER_OTLP_LOGS_INSECURE = 'OTEL_EXPORTER_OTLP_LOGS_INSECURE'

OTEL_EXPORTER_OTLP_LOGS_PROTOCOL

public mixed OTEL_EXPORTER_OTLP_LOGS_PROTOCOL = 'OTEL_EXPORTER_OTLP_LOGS_PROTOCOL'

OTEL_EXPORTER_OTLP_LOGS_TIMEOUT

public mixed OTEL_EXPORTER_OTLP_LOGS_TIMEOUT = 'OTEL_EXPORTER_OTLP_LOGS_TIMEOUT'

OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE

public mixed OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE = 'OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE'

OTEL_EXPORTER_OTLP_METRICS_COMPRESSION

public mixed OTEL_EXPORTER_OTLP_METRICS_COMPRESSION = 'OTEL_EXPORTER_OTLP_METRICS_COMPRESSION'

OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION

public mixed OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION = 'OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION'

OTEL_EXPORTER_OTLP_METRICS_ENDPOINT

public mixed OTEL_EXPORTER_OTLP_METRICS_ENDPOINT = 'OTEL_EXPORTER_OTLP_METRICS_ENDPOINT'

OTEL_EXPORTER_OTLP_METRICS_HEADERS

public mixed OTEL_EXPORTER_OTLP_METRICS_HEADERS = 'OTEL_EXPORTER_OTLP_METRICS_HEADERS'

OTEL_EXPORTER_OTLP_METRICS_INSECURE

public mixed OTEL_EXPORTER_OTLP_METRICS_INSECURE = 'OTEL_EXPORTER_OTLP_METRICS_INSECURE'

OTEL_EXPORTER_OTLP_METRICS_PROTOCOL

public mixed OTEL_EXPORTER_OTLP_METRICS_PROTOCOL = 'OTEL_EXPORTER_OTLP_METRICS_PROTOCOL'

OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE

public mixed OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE = 'OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE'

OTEL_EXPORTER_OTLP_METRICS_TIMEOUT

public mixed OTEL_EXPORTER_OTLP_METRICS_TIMEOUT = 'OTEL_EXPORTER_OTLP_METRICS_TIMEOUT'

OTEL_EXPORTER_OTLP_PROTOCOL

public mixed OTEL_EXPORTER_OTLP_PROTOCOL = 'OTEL_EXPORTER_OTLP_PROTOCOL'

OTEL_EXPORTER_OTLP_TIMEOUT

public mixed OTEL_EXPORTER_OTLP_TIMEOUT = 'OTEL_EXPORTER_OTLP_TIMEOUT'

OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE

public mixed OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE = 'OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE'

OTEL_EXPORTER_OTLP_TRACES_COMPRESSION

public mixed OTEL_EXPORTER_OTLP_TRACES_COMPRESSION = 'OTEL_EXPORTER_OTLP_TRACES_COMPRESSION'

OTEL_EXPORTER_OTLP_TRACES_ENDPOINT

public mixed OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = 'OTEL_EXPORTER_OTLP_TRACES_ENDPOINT'

OTEL_EXPORTER_OTLP_TRACES_HEADERS

public mixed OTEL_EXPORTER_OTLP_TRACES_HEADERS = 'OTEL_EXPORTER_OTLP_TRACES_HEADERS'

OTEL_EXPORTER_OTLP_TRACES_INSECURE

public mixed OTEL_EXPORTER_OTLP_TRACES_INSECURE = 'OTEL_EXPORTER_OTLP_TRACES_INSECURE'

OTEL_EXPORTER_OTLP_TRACES_PROTOCOL

public mixed OTEL_EXPORTER_OTLP_TRACES_PROTOCOL = 'OTEL_EXPORTER_OTLP_TRACES_PROTOCOL'

OTEL_EXPORTER_OTLP_TRACES_TIMEOUT

public mixed OTEL_EXPORTER_OTLP_TRACES_TIMEOUT = 'OTEL_EXPORTER_OTLP_TRACES_TIMEOUT'

OTEL_EXPORTER_PROMETHEUS_PORT

public mixed OTEL_EXPORTER_PROMETHEUS_PORT = 'OTEL_EXPORTER_PROMETHEUS_PORT'

OTEL_EXPORTER_ZIPKIN_PROTOCOL

public mixed OTEL_EXPORTER_ZIPKIN_PROTOCOL = 'OTEL_EXPORTER_ZIPKIN_PROTOCOL'

OTEL_EXPORTER_ZIPKIN_TIMEOUT

public mixed OTEL_EXPORTER_ZIPKIN_TIMEOUT = 'OTEL_EXPORTER_ZIPKIN_TIMEOUT'
public mixed OTEL_LINK_ATTRIBUTE_COUNT_LIMIT = 'OTEL_LINK_ATTRIBUTE_COUNT_LIMIT'

OTEL_LOG_LEVEL

public mixed OTEL_LOG_LEVEL = 'OTEL_LOG_LEVEL'

OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT

public mixed OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT = 'OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT'

OTEL_LOGS_EXPORTER

public mixed OTEL_LOGS_EXPORTER = 'OTEL_LOGS_EXPORTER'

OTEL_METRIC_EXPORT_INTERVAL

public mixed OTEL_METRIC_EXPORT_INTERVAL = 'OTEL_METRIC_EXPORT_INTERVAL'

OTEL_METRIC_EXPORT_TIMEOUT

public mixed OTEL_METRIC_EXPORT_TIMEOUT = 'OTEL_METRIC_EXPORT_TIMEOUT'

OTEL_METRICS_EXPORTER

public mixed OTEL_METRICS_EXPORTER = 'OTEL_METRICS_EXPORTER'

OTEL_PHP_AUTOLOAD_ENABLED

public mixed OTEL_PHP_AUTOLOAD_ENABLED = 'OTEL_PHP_AUTOLOAD_ENABLED'

OTEL_PHP_DETECTORS

public mixed OTEL_PHP_DETECTORS = 'OTEL_PHP_DETECTORS'

OTEL_PHP_DISABLED_INSTRUMENTATIONS

public mixed OTEL_PHP_DISABLED_INSTRUMENTATIONS = 'OTEL_PHP_DISABLED_INSTRUMENTATIONS'

OTEL_PHP_EXCLUDED_URLS

public mixed OTEL_PHP_EXCLUDED_URLS = 'OTEL_PHP_EXCLUDED_URLS'

OTEL_PHP_EXPERIMENTAL_AUTO_ROOT_SPAN

public mixed OTEL_PHP_EXPERIMENTAL_AUTO_ROOT_SPAN = 'OTEL_PHP_EXPERIMENTAL_AUTO_ROOT_SPAN'

OTEL_PHP_INTERNAL_METRICS_ENABLED

public mixed OTEL_PHP_INTERNAL_METRICS_ENABLED = 'OTEL_PHP_INTERNAL_METRICS_ENABLED'

OTEL_PHP_LOG_DESTINATION

public mixed OTEL_PHP_LOG_DESTINATION = 'OTEL_PHP_LOG_DESTINATION'

OTEL_PHP_LOGS_PROCESSOR

public mixed OTEL_PHP_LOGS_PROCESSOR = 'OTEL_PHP_LOGS_PROCESSOR'

OTEL_PROPAGATORS

public mixed OTEL_PROPAGATORS = 'OTEL_PROPAGATORS'

OTEL_SDK_DISABLED

public mixed OTEL_SDK_DISABLED = 'OTEL_SDK_DISABLED'

OTEL_SERVICE_NAME

public mixed OTEL_SERVICE_NAME = 'OTEL_SERVICE_NAME'

OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT

public mixed OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT = 'OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT'

OTEL_SPAN_EVENT_COUNT_LIMIT

public mixed OTEL_SPAN_EVENT_COUNT_LIMIT = 'OTEL_SPAN_EVENT_COUNT_LIMIT'
public mixed OTEL_SPAN_LINK_COUNT_LIMIT = 'OTEL_SPAN_LINK_COUNT_LIMIT'

OTEL_TRACES_SAMPLER

public mixed OTEL_TRACES_SAMPLER = 'OTEL_TRACES_SAMPLER'

OTEL_TRACES_SAMPLER_ARG

public mixed OTEL_TRACES_SAMPLER_ARG = 'OTEL_TRACES_SAMPLER_ARG'

        
On this page

Search results