withOtlpExporterProtocol
Method
interface ContainerResource { // ... omitted for brevity withOtlpExporterProtocol(protocol: OtlpProtocol): IResourceWithEnvironment;}Signature
method
withOtlpExporterProtocol builder Configures OTLP telemetry export with specific protocol
withOtlpExporterProtocol(protocol: OtlpProtocol): IResourceWithEnvironmentParameters
protocol OtlpProtocol Returns
IResourceWithEnvironment Applies to
This method applies to the following types: