WithConfig
Method
func (OpenTelemetryCollectorResource) WithConfig(configPath string) OpenTelemetryCollectorResourceSignature
method
WithConfig builderAdds a configuration file to the collector resource.
WithConfig(configPath string) OpenTelemetryCollectorResourceParameters
configPath stringThe path to the collector configuration file.Returns
OpenTelemetryCollectorResource A reference to the resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: