Certificates configured with OTEL_EXPORTER_OTLP_CLIENT_KEY and OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE aren't reloaded, so if they are short lived certificates they only work for a short time.
See also #3363
Environment
Go Version: 1.21.3
opentelemetry-go version: v1.19.0/v0.42.0/v0.0.7
Steps To Reproduce
Use the configuration options OTEL_EXPORTER_OTLP_CLIENT_KEY and OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE.
Run the process
Wait for certificates to be replaced
See error when the original certificates expire
Expected behavior
Certificates are reloaded, or have an option to be reloaded, when they change on disk.
Description
Certificates configured with
OTEL_EXPORTER_OTLP_CLIENT_KEY
andOTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE
aren't reloaded, so if they are short lived certificates they only work for a short time.See also #3363
Environment
Steps To Reproduce
OTEL_EXPORTER_OTLP_CLIENT_KEY
andOTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE
.Expected behavior
Certificates are reloaded, or have an option to be reloaded, when they change on disk.
Related issues / solutions in the collector: https://github.com/open-telemetry/opentelemetry-collector/pull/4737 https://github.com/open-telemetry/opentelemetry-collector/issues/7619