Skip to content
Docs Try Aspire
Docs Try

IResourceWithEnvironment.withOtlpExporter

Method
📦 Aspire.Hosting v13.4.0
interface IResourceWithEnvironment {
// ... omitted for brevity
withOtlpExporter(protocol?: OtlpProtocol): IResourceWithEnvironment;
}

Signature

method withOtlpExporter builder
Configures OTLP telemetry export
withOtlpExporter(protocol?: OtlpProtocol): IResourceWithEnvironment
protocol OtlpProtocol optional
IResourceWithEnvironment

Defined on

This method is defined on the following type: