Skip to content

How to add client TLS in the OpenTelemetryRumInitializer? #1475

@brsgina

Description

@brsgina

Hi,

I am using the OpenTelemetryRumInitializer.initialize function in my Android project to create the OpenTelemetryRum instance and I would like to set a client TLS. With io.opentelemetry.android.instrumentation (+ io.opentelemetry.exporter.otlp) it was possible to build a OtlpHttpLogRecordExporter and set the client TLS to it with the addLoggerProviderCustomizer function:

val logExporter = OtlpHttpLogRecordExporter.builder().setEndpoint(BASE_URL).setClientTls(keyBytes, crtBytes) .build()

But if I understand correctly, there is currently no solution for this in the initializer configuration. Is there currently a way to set up a TLS certificate, or will it be possible to specify something in the configuration later?

Thank you in advance for the response!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions