#971 added the ability to export fact events as OpenTelemetry logs, it would be nice if we could also export them with TLS.
opentelemetry-otlp provides some feature flags that allow using rustls for this. However, I would suggest we follow an approach similar to what we use in the gRPC output and build our own HTTP client so we can use native-tls with openssl to get auto-FIPS compliance. The HTTP client can be provided to the LogExporterBuilder via with_http_client. Similarly, if #1080 is implemented, opentelemetry-otlp provides a with_channel method for the gRPC implementation that would allow us to use the same approach we use in our gRPC output for supporting TLS.
#971 added the ability to export fact events as OpenTelemetry logs, it would be nice if we could also export them with TLS.
opentelemetry-otlpprovides some feature flags that allow using rustls for this. However, I would suggest we follow an approach similar to what we use in the gRPC output and build our own HTTP client so we can usenative-tlswith openssl to get auto-FIPS compliance. The HTTP client can be provided to theLogExporterBuildervia with_http_client. Similarly, if #1080 is implemented,opentelemetry-otlpprovides a with_channel method for the gRPC implementation that would allow us to use the same approach we use in our gRPC output for supporting TLS.