ingress-nginx
ingress-nginx copied to clipboard
Support for use_ssl setting in opentelemetry.toml file
Hi,
I am in need to set the value use_ssl in the opentelemetry.toml file.
# https://github.com/open-telemetry/opentelemetry-cpp-contrib/tree/main/instrumentation/nginx
use_ssl = true
This is required because our collector only supports https (https://docs.newrelic.com/docs/more-integrations/open-source-telemetry-integrations/opentelemetry/get-started/opentelemetry-set-up-your-app/) and by default the nginx OpenTelemetry C++ module will not set it as true.
The result is that we get an error while trying to push data.
I tried to look into the options available and it doesn't seem possible to set the value for now (https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/opentelemetry/). I also tried to create my own configmap and mount it where nginx expects it but I get an error due to it being read-only.
I may be missing some alternative way to fix this issue, if so please let me know.
Is there currently another issue associated with this?
None that I found.
Does it require a particular kubernetes version?
No.