updated telegraf state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-03-20 15:18:54 +01:00
parent 54eafc090a
commit 54132a9baa
2 changed files with 4 additions and 4 deletions

View File

@ -10,14 +10,14 @@ telegraf:
config: config:
main: main:
interval: "1m" interval: "1m"
round_interval: true round_interval: "true"
metric_batch_size: 1000 metric_batch_size: 1000
metric_buffer_limit: 10000 metric_buffer_limit: 10000
collection_jitter: "0s" collection_jitter: "0s"
flush_interval: "30s" flush_interval: "30s"
flush_jitter: "0s" flush_jitter: "0s"
precision: "" precision: ""
omit_hostname: false omit_hostname: "false"
outputs: outputs:
influxdb: influxdb:
urls: urls:

View File

@ -11,14 +11,14 @@
[agent] [agent]
hostname = "{{ salt['grains.get']('fqdn') }}" hostname = "{{ salt['grains.get']('fqdn') }}"
interval = "{{ config.interval|default('1m') }}" interval = "{{ config.interval|default('1m') }}"
round_interval = {{ config.round_interval|default(true) }} round_interval = {{ config.round_interval|default('true') }}
metric_batch_size = {{ config.metric_batch_size|default(1000) }} metric_batch_size = {{ config.metric_batch_size|default(1000) }}
metric_buffer_limit = {{ config.metric_buffer_limit|default(10000) }} metric_buffer_limit = {{ config.metric_buffer_limit|default(10000) }}
collection_jitter = "{{ config.collection_jitter|default('0s') }}" collection_jitter = "{{ config.collection_jitter|default('0s') }}"
flush_interval = "{{ config.flush_interval|default('30s') }}" flush_interval = "{{ config.flush_interval|default('30s') }}"
flush_jitter = "{{ config.flush_jitter|default('0s') }}" flush_jitter = "{{ config.flush_jitter|default('0s') }}"
precision = "{{ config.precision|default('') }}" precision = "{{ config.precision|default('') }}"
omit_hostname = {{ config.omit_hostname|default(false) }} omit_hostname = {{ config.omit_hostname|default('false') }}
{% for name, value in config.outputs.items() -%} {% for name, value in config.outputs.items() -%}
[[outputs.{{ name }}]] [[outputs.{{ name }}]]