Skip to content

Commit

Permalink
Update otel_collector_config.yml.j2
Browse files Browse the repository at this point in the history
  • Loading branch information
ishanjainn authored Mar 27, 2024
1 parent 0ae54ae commit fbddddc
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
{% if otel_collector_receivers is defined and otel_collector_receivers | length > 0 %}
receivers:
{{ otel_collector_receivers | to_nice_yaml(indent=2) | indent(2, true) }}
{% endif %}
{% if otel_collector_processors is defined and otel_collector_processors | length > 0 %}
processors:
{{ otel_collector_processors | to_nice_yaml(indent=2) | indent(2, true) }}
{% endif %}
{% if otel_collector_exporters is defined and otel_collector_exporters | length > 0 %}
exporters:
{{ otel_collector_exporters | to_nice_yaml(indent=2) | indent(2, true) }}
{% endif %}
{% if otel_collector_extensions is defined and otel_collector_extensions | length > 0 %}
extensions:
{{ otel_collector_extensions | to_nice_yaml(indent=2) | indent(2, true) }}
{% endif %}
{% if otel_collector_service is defined and otel_collector_service | length > 0 %}
service:
{{ otel_collector_service | to_nice_yaml(indent=2) | indent(2, true) }}
{% endif %}
{% if otel_collector_connectors is defined and otel_collector_connectors | length > 0 %}
connectors:
{{ otel_collector_connectors | to_nice_yaml(indent=2) | indent(2, true) }}
Expand Down

0 comments on commit fbddddc

Please sign in to comment.