Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithOtlpExporter

Method
📦 Aspire.Hosting.Keycloak v17.0.0-preview.1.26565.2
func (KeycloakResource) WithOtlpExporter(options ...*WithOtlpExporterOptions) KeycloakResource

Signature

methodWithOtlpExporterbuilder
Configures the OTLP exporter for Keycloak
WithOtlpExporter(options ...*WithOtlpExporterOptions) KeycloakResource
options...*WithOtlpExporterOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithOtlpExporterOptions argument.

Protocol*OtlpProtocol
KeycloakResource

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: