Skip to content
Docs Try Aspire

IResourceWithEnvironment.withOtlpExporterProtocol

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IResourceWithEnvironment {
// ... omitted for brevity
withOtlpExporterProtocol(protocol: OtlpProtocol): IResourceWithEnvironment;
}

Signature

method withOtlpExporterProtocol builder
Configures OTLP telemetry export with specific protocol
withOtlpExporterProtocol(protocol: OtlpProtocol): IResourceWithEnvironment
protocol OtlpProtocol
IResourceWithEnvironment

Defined on

This method is defined on the following type: