OpenTelemetry PHP

ValueTypes

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  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
Attribute Limits
OTEL_BLRP_EXPORT_TIMEOUT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_BLRP_MAX_EXPORT_BATCH_SIZE  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_BLRP_MAX_QUEUE_SIZE  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_BLRP_SCHEDULE_DELAY  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
Batch LogRecord Processor
OTEL_BSP_EXPORT_TIMEOUT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_BSP_MAX_EXPORT_BATCH_SIZE  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_BSP_MAX_QUEUE_SIZE  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_BSP_SCHEDULE_DELAY  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
Batch Span Processor
OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_EXPORTER_OTLP_CERTIFICATE  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING
OTEL_EXPORTER_OTLP_COMPRESSION  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM
OTEL_EXPORTER_OTLP_ENDPOINT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING
OTLP Exporter
OTEL_EXPORTER_OTLP_HEADERS  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::MAP
OTEL_EXPORTER_OTLP_INSECURE  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::BOOL
OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING
OTEL_EXPORTER_OTLP_METRICS_COMPRESSION  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM
OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING
OTEL_EXPORTER_OTLP_METRICS_HEADERS  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::MAP
OTEL_EXPORTER_OTLP_METRICS_INSECURE  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::BOOL
OTEL_EXPORTER_OTLP_METRICS_PROTOCOL  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM
OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM
OTEL_EXPORTER_OTLP_METRICS_TIMEOUT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_EXPORTER_OTLP_PROTOCOL  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM
OTEL_EXPORTER_OTLP_TIMEOUT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING
OTEL_EXPORTER_OTLP_TRACES_COMPRESSION  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING
OTEL_EXPORTER_OTLP_TRACES_HEADERS  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::MAP
OTEL_EXPORTER_OTLP_TRACES_INSECURE  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::BOOL
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM
OTEL_EXPORTER_OTLP_TRACES_TIMEOUT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_EXPORTER_PROMETHEUS_HOST  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING
Prometheus Exporter
OTEL_EXPORTER_PROMETHEUS_PORT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_EXPORTER_ZIPKIN_ENDPOINT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING
Zipkin Exporter
OTEL_EXPORTER_ZIPKIN_PROTOCOL  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING
OTEL_EXPORTER_ZIPKIN_TIMEOUT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_LINK_ATTRIBUTE_COUNT_LIMIT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_LOG_LEVEL  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM
OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
LogRecord Limits
OTEL_LOGS_EXPORTER  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::LIST
OTEL_METRIC_EXPORT_INTERVAL  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_METRIC_EXPORT_TIMEOUT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_METRICS_EXEMPLAR_FILTER  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM
Metrics SDK Configuration
OTEL_METRICS_EXPORTER  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::LIST
OTEL_PHP_AUTOLOAD_ENABLED  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::BOOL
OTEL_PHP_DETECTORS  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::LIST
OTEL_PHP_DISABLED_INSTRUMENTATIONS  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::LIST
OTEL_PHP_INTERNAL_METRICS_ENABLED  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::BOOL
OTEL_PHP_LOG_DESTINATION  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM
OTEL_PHP_LOGS_PROCESSOR  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::LIST
OTEL_PHP_TRACES_PROCESSOR  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM
Language Specific Environment Variables
OTEL_PROPAGATORS  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::LIST
OTEL_RESOURCE_ATTRIBUTES  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::MAP
General SDK Configuration
OTEL_SERVICE_NAME  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING
OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
Span Limits
OTEL_SPAN_EVENT_COUNT_LIMIT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_SPAN_LINK_COUNT_LIMIT  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
OTEL_TRACES_EXPORTER  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::LIST
Exporter Selection
OTEL_TRACES_SAMPLER  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING
OTEL_TRACES_SAMPLER_ARG  = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::MIXED

Constants

OTEL_ATTRIBUTE_COUNT_LIMIT

public mixed OTEL_ATTRIBUTE_COUNT_LIMIT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_BLRP_EXPORT_TIMEOUT

public mixed OTEL_BLRP_EXPORT_TIMEOUT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_BLRP_MAX_EXPORT_BATCH_SIZE

public mixed OTEL_BLRP_MAX_EXPORT_BATCH_SIZE = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_BLRP_MAX_QUEUE_SIZE

public mixed OTEL_BLRP_MAX_QUEUE_SIZE = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_BSP_EXPORT_TIMEOUT

public mixed OTEL_BSP_EXPORT_TIMEOUT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_BSP_MAX_EXPORT_BATCH_SIZE

public mixed OTEL_BSP_MAX_EXPORT_BATCH_SIZE = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_BSP_MAX_QUEUE_SIZE

public mixed OTEL_BSP_MAX_QUEUE_SIZE = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT

public mixed OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_EXPORTER_OTLP_CERTIFICATE

public mixed OTEL_EXPORTER_OTLP_CERTIFICATE = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING

OTEL_EXPORTER_OTLP_COMPRESSION

public mixed OTEL_EXPORTER_OTLP_COMPRESSION = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM

OTEL_EXPORTER_OTLP_HEADERS

public mixed OTEL_EXPORTER_OTLP_HEADERS = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::MAP

OTEL_EXPORTER_OTLP_INSECURE

public mixed OTEL_EXPORTER_OTLP_INSECURE = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::BOOL

OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE

public mixed OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING

OTEL_EXPORTER_OTLP_METRICS_COMPRESSION

public mixed OTEL_EXPORTER_OTLP_METRICS_COMPRESSION = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM

OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION

public mixed OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM

OTEL_EXPORTER_OTLP_METRICS_ENDPOINT

public mixed OTEL_EXPORTER_OTLP_METRICS_ENDPOINT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING

OTEL_EXPORTER_OTLP_METRICS_HEADERS

public mixed OTEL_EXPORTER_OTLP_METRICS_HEADERS = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::MAP

OTEL_EXPORTER_OTLP_METRICS_INSECURE

public mixed OTEL_EXPORTER_OTLP_METRICS_INSECURE = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::BOOL

OTEL_EXPORTER_OTLP_METRICS_PROTOCOL

public mixed OTEL_EXPORTER_OTLP_METRICS_PROTOCOL = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM

OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE

public mixed OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM

OTEL_EXPORTER_OTLP_METRICS_TIMEOUT

public mixed OTEL_EXPORTER_OTLP_METRICS_TIMEOUT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_EXPORTER_OTLP_PROTOCOL

public mixed OTEL_EXPORTER_OTLP_PROTOCOL = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM

OTEL_EXPORTER_OTLP_TIMEOUT

public mixed OTEL_EXPORTER_OTLP_TIMEOUT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE

public mixed OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING

OTEL_EXPORTER_OTLP_TRACES_COMPRESSION

public mixed OTEL_EXPORTER_OTLP_TRACES_COMPRESSION = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM

OTEL_EXPORTER_OTLP_TRACES_ENDPOINT

public mixed OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING

OTEL_EXPORTER_OTLP_TRACES_HEADERS

public mixed OTEL_EXPORTER_OTLP_TRACES_HEADERS = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::MAP

OTEL_EXPORTER_OTLP_TRACES_INSECURE

public mixed OTEL_EXPORTER_OTLP_TRACES_INSECURE = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::BOOL

OTEL_EXPORTER_OTLP_TRACES_PROTOCOL

public mixed OTEL_EXPORTER_OTLP_TRACES_PROTOCOL = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM

OTEL_EXPORTER_OTLP_TRACES_TIMEOUT

public mixed OTEL_EXPORTER_OTLP_TRACES_TIMEOUT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_EXPORTER_PROMETHEUS_PORT

public mixed OTEL_EXPORTER_PROMETHEUS_PORT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_EXPORTER_ZIPKIN_PROTOCOL

public mixed OTEL_EXPORTER_ZIPKIN_PROTOCOL = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING

OTEL_EXPORTER_ZIPKIN_TIMEOUT

public mixed OTEL_EXPORTER_ZIPKIN_TIMEOUT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
public mixed OTEL_LINK_ATTRIBUTE_COUNT_LIMIT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_LOG_LEVEL

public mixed OTEL_LOG_LEVEL = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM

OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT

public mixed OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_LOGS_EXPORTER

public mixed OTEL_LOGS_EXPORTER = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::LIST

OTEL_METRIC_EXPORT_INTERVAL

public mixed OTEL_METRIC_EXPORT_INTERVAL = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_METRIC_EXPORT_TIMEOUT

public mixed OTEL_METRIC_EXPORT_TIMEOUT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_METRICS_EXPORTER

public mixed OTEL_METRICS_EXPORTER = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::LIST

OTEL_PHP_AUTOLOAD_ENABLED

public mixed OTEL_PHP_AUTOLOAD_ENABLED = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::BOOL

OTEL_PHP_DETECTORS

public mixed OTEL_PHP_DETECTORS = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::LIST

OTEL_PHP_DISABLED_INSTRUMENTATIONS

public mixed OTEL_PHP_DISABLED_INSTRUMENTATIONS = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::LIST

OTEL_PHP_INTERNAL_METRICS_ENABLED

public mixed OTEL_PHP_INTERNAL_METRICS_ENABLED = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::BOOL

OTEL_PHP_LOG_DESTINATION

public mixed OTEL_PHP_LOG_DESTINATION = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::ENUM

OTEL_PHP_LOGS_PROCESSOR

public mixed OTEL_PHP_LOGS_PROCESSOR = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::LIST

OTEL_PROPAGATORS

public mixed OTEL_PROPAGATORS = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::LIST

OTEL_SERVICE_NAME

public mixed OTEL_SERVICE_NAME = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING

OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT

public mixed OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_SPAN_EVENT_COUNT_LIMIT

public mixed OTEL_SPAN_EVENT_COUNT_LIMIT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER
public mixed OTEL_SPAN_LINK_COUNT_LIMIT = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::INTEGER

OTEL_TRACES_SAMPLER

public mixed OTEL_TRACES_SAMPLER = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::STRING

OTEL_TRACES_SAMPLER_ARG

public mixed OTEL_TRACES_SAMPLER_ARG = \OpenTelemetry\SDK\Common\Configuration\VariableTypes::MIXED

        
On this page

Search results