File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
docs/platforms/kubernetes/operator Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ linkTitle: Elastic PHP Distro Donation
44date : 2026-04-16
55author : >-
66 [Pawel Filipczak](https://github.com/intuibase) (Elastic)
7- draft : true
87issue : https://github.com/open-telemetry/opentelemetry.io/issues/9434
98sig : OpenTelemetry PHP
109cSpell:ignore : Filipczak Pawel
Original file line number Diff line number Diff line change @@ -459,10 +459,10 @@ in the previous step.
459459
460460#### Auto-instrumenting Python logs
461461
462- By default, Python logs auto-instrumentation is disabled. If you would like to
463- enable this feature, you must to set
464- ` OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED ` environment variable as
465- follows:
462+ By default, Python logs auto-instrumentation is enabled by the
463+ ` opentelemetry-instrumentation-logging ` package. If you would like to disable
464+ this feature, you must to set ` OTEL_PYTHON_LOG_AUTO_INSTRUMENTATION ` environment
465+ variable as follows:
466466
467467``` yaml
468468apiVersion : opentelemetry.io/v1alpha1
@@ -479,12 +479,13 @@ spec:
479479 - baggage
480480 python :
481481 env :
482- - name : OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED
483- value : ' true '
482+ - name : OTEL_PYTHON_LOG_AUTO_INSTRUMENTATION
483+ value : ' false '
484484` ` `
485485
486- > As of operator v0.111.0 setting ` OTEL_LOGS_EXPORTER` to `otlp` is not required
487- > anymore.
486+ > Before operator v0.149.0 this was handled by
487+ > ` OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED` that was set to `false` by
488+ > default
488489
489490# ### Excluding auto-instrumentation {#python-excluding-auto-instrumentation}
490491
You can’t perform that action at this time.
0 commit comments