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