@@ -330,6 +330,13 @@ services:
330330 DISABLE_AUTO_UPDATE : " true" # disables oh-my-zsh update message
331331 USE_ZSH_NERDFONT : ${USE_ZSH_NERDFONT:-0}
332332 XDEBUG_MODE : off
333+ # OpenTelemetry export (opt-in): set the OTEL_* values in your .env file, see .env.dist.
334+ OTEL_PHP_AUTOLOAD_ENABLED : ${OTEL_PHP_AUTOLOAD_ENABLED:-}
335+ OTEL_SERVICE_NAME : ${OTEL_SERVICE_NAME:-}
336+ OTEL_EXPORTER_OTLP_ENDPOINT : ${OTEL_EXPORTER_OTLP_ENDPOINT:-}
337+ OTEL_TRACES_EXPORTER : ${OTEL_TRACES_EXPORTER:-}
338+ OTEL_LOGS_EXPORTER : ${OTEL_LOGS_EXPORTER:-}
339+ OTEL_METRICS_EXPORTER : ${OTEL_METRICS_EXPORTER:-}
333340 volumes :
334341 - ${LOCAL_SRC}:${REMOTE_SRC}
335342 - totara-data:${REMOTE_DATA}
@@ -359,6 +366,13 @@ services:
359366 HIST_FILE : /root/.bash_history
360367 DISABLE_AUTO_UPDATE : " true" # disables oh-my-zsh update message
361368 USE_ZSH_NERDFONT : ${USE_ZSH_NERDFONT:-0}
369+ # OpenTelemetry export (opt-in): set the OTEL_* values in your .env file, see .env.dist.
370+ OTEL_PHP_AUTOLOAD_ENABLED : ${OTEL_PHP_AUTOLOAD_ENABLED:-}
371+ OTEL_SERVICE_NAME : ${OTEL_SERVICE_NAME:-}
372+ OTEL_EXPORTER_OTLP_ENDPOINT : ${OTEL_EXPORTER_OTLP_ENDPOINT:-}
373+ OTEL_TRACES_EXPORTER : ${OTEL_TRACES_EXPORTER:-}
374+ OTEL_LOGS_EXPORTER : ${OTEL_LOGS_EXPORTER:-}
375+ OTEL_METRICS_EXPORTER : ${OTEL_METRICS_EXPORTER:-}
362376 volumes :
363377 - ${LOCAL_SRC}:${REMOTE_SRC}
364378 - totara-data:${REMOTE_DATA}
@@ -382,6 +396,13 @@ services:
382396 DISABLE_AUTO_UPDATE : " true" # disables oh-my-zsh update message
383397 USE_ZSH_NERDFONT : ${USE_ZSH_NERDFONT:-0}
384398 XDEBUG_MODE : off
399+ # OpenTelemetry export (opt-in): set the OTEL_* values in your .env file, see .env.dist.
400+ OTEL_PHP_AUTOLOAD_ENABLED : ${OTEL_PHP_AUTOLOAD_ENABLED:-}
401+ OTEL_SERVICE_NAME : ${OTEL_SERVICE_NAME:-}
402+ OTEL_EXPORTER_OTLP_ENDPOINT : ${OTEL_EXPORTER_OTLP_ENDPOINT:-}
403+ OTEL_TRACES_EXPORTER : ${OTEL_TRACES_EXPORTER:-}
404+ OTEL_LOGS_EXPORTER : ${OTEL_LOGS_EXPORTER:-}
405+ OTEL_METRICS_EXPORTER : ${OTEL_METRICS_EXPORTER:-}
385406 volumes :
386407 - ${LOCAL_SRC}:${REMOTE_SRC}
387408 - totara-data:${REMOTE_DATA}
@@ -411,6 +432,13 @@ services:
411432 HIST_FILE : /root/.bash_history
412433 DISABLE_AUTO_UPDATE : " true" # disables oh-my-zsh update message
413434 USE_ZSH_NERDFONT : ${USE_ZSH_NERDFONT:-0}
435+ # OpenTelemetry export (opt-in): set the OTEL_* values in your .env file, see .env.dist.
436+ OTEL_PHP_AUTOLOAD_ENABLED : ${OTEL_PHP_AUTOLOAD_ENABLED:-}
437+ OTEL_SERVICE_NAME : ${OTEL_SERVICE_NAME:-}
438+ OTEL_EXPORTER_OTLP_ENDPOINT : ${OTEL_EXPORTER_OTLP_ENDPOINT:-}
439+ OTEL_TRACES_EXPORTER : ${OTEL_TRACES_EXPORTER:-}
440+ OTEL_LOGS_EXPORTER : ${OTEL_LOGS_EXPORTER:-}
441+ OTEL_METRICS_EXPORTER : ${OTEL_METRICS_EXPORTER:-}
414442 volumes :
415443 - ${LOCAL_SRC}:${REMOTE_SRC}
416444 - totara-data:${REMOTE_DATA}
0 commit comments