replace go.opentelemetry.io/collector => ../opentelemetry-collector/
receivers: otlp: protocols: grpc: tls_settings: key_file: /root/test-keys/test-key cert_file: /root/test-keys/test-key.pub
Error: cannot load configuration: error reading settings for receiver type "otlp": 1 error(s) decoding: * '' has invalid keys: protocols
I opened an issue here open-telemetry/opentelemetry-collector#2101
Looking over the code I didn't see where I could register new auth modules
open question for Go experts related to
go.mod(maybe a pretty basic one). Any lead is appreciated. Thanks.
I pushed an update to
opentelemetry-collector core repo. Now, from the
opentelemetry-collector-contrib repo, I need to use a module (exporterhelper module) from that specific commit hash. I tried the following ways- but couldn't make it work. What's the right way to do it.
require ( // go.opentelemetry.io/collector v0.14.1-0.20201106183657-c6b8f28c60b5 github.com/open-telemetry/opentelemetry-collector 5f60c7232abd6e1d3af94f8860c006f062d1c1f0 )
require ( go.opentelemetry.io/collector v0.14.1-0.20201106183657-c6b8f28c60b5 ) replace go.opentelemetry.io/collector/exporter/exporterhelper v0.14.1-0.20201106183657-c6b8f28c60b5 => github.com/open-telemetry/opentelemetry-collector/exporter/exporterhelper 5f60c7232abd6e1d3af94f8860c006f062d1c1f0