withOtlpExporter
Method
interface ContainerResource { // ... omitted for brevity withOtlpExporter(protocol?: OtlpProtocol): IResourceWithEnvironment;}Signature
method
withOtlpExporterbuilderConfigures OTLP telemetry export
withOtlpExporter(protocol?: OtlpProtocol): IResourceWithEnvironmentParameters
protocolOtlpProtocoloptionalReturns
IResourceWithEnvironmentApplies to
This method applies to the following types: