Skip to content

Allow using TLS with otel output #1081

Description

@Molter73

#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions