Browse Source

[containerd/tracing]: fix containerd tracing templating (#11372)

Signed-off-by: Ugur Ozturk <ugurozturk918@gmail.com>
pull/11401/head
Ugur Can Ozturk 3 months ago
committed by GitHub
parent
commit
2299e49e0e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions
  1. 4
      roles/container-engine/containerd/templates/config.toml.j2

4
roles/container-engine/containerd/templates/config.toml.j2

@ -100,9 +100,9 @@ oom_score = {{ containerd_oom_score }}
[plugins."io.containerd.tracing.processor.v1.otlp"] [plugins."io.containerd.tracing.processor.v1.otlp"]
endpoint = "{{ containerd_tracing_endpoint }}" endpoint = "{{ containerd_tracing_endpoint }}"
protocol = "{{ containerd_tracing_protocol }}" protocol = "{{ containerd_tracing_protocol }}"
{% if containerd_tracing_protocol == "grpc" %}
{% if containerd_tracing_protocol == "grpc" %}
insecure = false insecure = false
{% endif %}
{% endif %}
[plugins."io.containerd.internal.v1.tracing"] [plugins."io.containerd.internal.v1.tracing"]
sampling_ratio = {{ containerd_tracing_sampling_ratio }} sampling_ratio = {{ containerd_tracing_sampling_ratio }}
service_name = "{{ containerd_tracing_service_name }}" service_name = "{{ containerd_tracing_service_name }}"

Loading…
Cancel
Save