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