docs: Add note about OTEL_TRACES_EXPORTER (#4669)

This commit is contained in:
Milos Gajdos 2025-07-09 11:27:44 -07:00 committed by GitHub
commit 17dc6f9cda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,6 +56,12 @@ REGISTRY_HTTP_TLS_LETSENCRYPT_HOSTS_0=registry.example.com
> be configured to tweak individual values. Overriding configuration sections
> with environment variables is not recommended.
### Disable traces export
Currently traces are set to `https://localhost:4318/v1/traces` by default.
You can control this by setting the [https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/#exporter-selection](environment variable) `OTEL_TRACES_EXPORTER`
to either `none` or your trace collector.
## Overriding the entire configuration file
If the default configuration is not a sound basis for your usage, or if you are