Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError in config due to breaking change in opentelemetry #2

Closed
ghost opened this issue Jan 11, 2022 · 1 comment
Closed

KeyError in config due to breaking change in opentelemetry #2

ghost opened this issue Jan 11, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 11, 2022

The config files in this example error out with key errors due to a breaking change in open-telemetry/opentelemetry-collector#4063. As of now the insecure key needs to be nested under tls
ie

exporters:
  otlp:
    endpoint: "{{ with service "otlp.otel-demo-collector" }}{{ with index . 0 }}{{ .Address }}:{{ .Port }}{{ end }}{{ end }}"
    insecure: true

should be

exporters:
  otlp:
    endpoint: "{{ with service "otlp.otel-demo-collector" }}{{ with index . 0 }}{{ .Address }}:{{ .Port }}{{ end }}{{ end }}"
    tls:
      insecure: true
@ghost
Copy link
Author

ghost commented Jan 11, 2022

Closing as the fix is merged in

@ghost ghost closed this as completed Jan 11, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants