withConfig
Method
interface OpenTelemetryCollectorResource { // ... omitted for brevity withConfig(configPath: string): OpenTelemetryCollectorResource;}Signature
method
withConfig builderAdds a configuration file to the collector resource.
withConfig(configPath: string): OpenTelemetryCollectorResourceParameters
configPath stringReturns
OpenTelemetryCollectorResource Applies to
This method applies to the following types: