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

This commit is contained in:
Paul 2024-03-20 15:14:07 +01:00
parent fc509efe3b
commit 54eafc090a
2 changed files with 18 additions and 9 deletions

View File

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

View File

@ -9,16 +9,16 @@
{%- endmacro %} {%- endmacro %}
[global_tags] [global_tags]
[agent] [agent]
interval = "1m"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "30s"
flush_jitter = "0s"
precision = ""
hostname = "{{ salt['grains.get']('fqdn') }}" hostname = "{{ salt['grains.get']('fqdn') }}"
omit_hostname = false interval = "{{ config.interval|default('1m') }}"
round_interval = {{ config.round_interval|default(true) }}
metric_batch_size = {{ config.metric_batch_size|default(1000) }}
metric_buffer_limit = {{ config.metric_buffer_limit|default(10000) }}
collection_jitter = "{{ config.collection_jitter|default('0s') }}"
flush_interval = "{{ config.flush_interval|default('30s') }}"
flush_jitter = "{{ config.flush_jitter|default('0s') }}"
precision = "{{ config.precision|default('') }}"
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 }}]]