IResourceWithEnvironment.withOtlpExporter
Method
interface IResourceWithEnvironment { // ... omitted for brevity withOtlpExporter(protocol?: OtlpProtocol): IResourceWithEnvironment;}Signature
method
withOtlpExporter builder Configures OTLP telemetry export
withOtlpExporter(protocol?: OtlpProtocol): IResourceWithEnvironmentParameters
protocol OtlpProtocol optional Returns
IResourceWithEnvironment Defined on
This method is defined on the following type: