Skip to content

Commit

Permalink
Nest insecure key under tls key (#3)
Browse files Browse the repository at this point in the history
This fixes a key error parsing config files introduced by a breaking change in
open-telemetry/opentelemetry-collector#4063
  • Loading branch information
twunderlich-grapl authored Jan 11, 2022
1 parent 27c46c8 commit 9cb63c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion examples/nomad/otel-agent.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ receivers:
exporters:
otlp:
endpoint: "{{ with service "otel-collector" }}{{ with index . 0 }}{{ .Address }}:{{ .Port }}{{ end }}{{ end }}"
insecure: true
tls:
insecure: true
sending_queue:
num_consumers: 4
queue_size: 100
Expand Down
3 changes: 2 additions & 1 deletion examples/nomad/otel-collector.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ exporters:
endpoint: "http://somezipkin.target.com:9411/api/v2/spans" # Replace with a real endpoint.
jaeger:
endpoint: "somejaegergrpc.target.com:14250" # Replace with a real endpoint.
insecure: true
tls:
insecure: true
service:
extensions: [health_check, zpages]
pipelines:
Expand Down
6 changes: 4 additions & 2 deletions examples/nomad/otel-demo.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ exporters:
jaeger:
endpoint: "{{ with service "grpc.otel-demo-jaeger" }}{{ with index . 0 }}{{ .Address }}:{{ .Port }}{{ end }}{{ end }}"
insecure: true
tls:
insecure: true
processors:
batch:
Expand Down Expand Up @@ -360,7 +361,8 @@ receivers:
exporters:
otlp:
endpoint: "{{ with service "otlp.otel-demo-collector" }}{{ with index . 0 }}{{ .Address }}:{{ .Port }}{{ end }}{{ end }}"
insecure: true
tls:
insecure: true
logging:
loglevel: debug
Expand Down

0 comments on commit 9cb63c8

Please sign in to comment.