I have a kubernetes cluster where parca and tempo are deployed. Tempo is running with TLS using self signed certificates and I want to configure parca to send its traces to that Tempo instance.
The current OTLP flag provided by parca: --otlp-address seem to not work when the tracing backend is running with TLS.
This is likely due to using WithInsecure:
|
otlptracegrpc.WithInsecure(), |
and not having a mechanism to pass TLSConfig,
we can expose another flag
--otlp-insecure default to True for backwards compatibility and then check if its set to
true, use
WithInsecure() else don't set that flag.
I have a kubernetes cluster where
parcaandtempoare deployed. Tempo is running with TLS using self signed certificates and I want to configureparcato send its traces to that Tempo instance.The current OTLP flag provided by parca:
--otlp-addressseem to not work when the tracing backend is running with TLS.This is likely due to using
WithInsecure:parca/pkg/tracer/tracer.go
Line 149 in 03cff40
and not having a mechanism to pass TLSConfig,
we can expose another flag
--otlp-insecuredefault to True for backwards compatibility and then check if its set totrue, useWithInsecure()else don't set that flag.