Skip to content

KeyError in config due to breaking change in opentelemetry #2

Closed
@ghost

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions