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