telegraf: Double batch size & use alpine image

This may fix some timing issues with sending the data within the interval & the alpine image is way smaller.
This commit is contained in:
saibotk 2021-03-14 14:06:46 +01:00
parent 96b3a8b015
commit d2ce31e11e
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -27,7 +27,7 @@ telegraf_config_location: "{{ telegraf_install_location }}/conf"
telegraf_version: "1.17.3"
# renovate: depName=quay.io/sheogorath/docker-socket-proxy
telegraf_dockersocketproxy_version: "2.3"
telegraf_image_version: "{{ telegraf_version }}"
telegraf_image_version: "{{ telegraf_version }}-alpine"
# The influxdb endpoints, telegraf should send data to
telegraf_influxdb_endpoints:
@ -49,7 +49,7 @@ telegraf_agent_round_interval: true
telegraf_agent_flush_interval: 10
telegraf_agent_flush_jitter: 5
telegraf_agent_collection_jitter: 5
telegraf_agent_metric_batch_size: 1000
telegraf_agent_metric_batch_size: 2000
telegraf_agent_metric_buffer_limit: 1000000
telegraf_agent_omit_hostname: False
@ -70,6 +70,7 @@ telegraf_output:
# The telegraf input plugins that are enabled by default (see https://docs.influxdata.com/telegraf/v1.15/plugins/plugin-list/)
telegraf_plugins:
- plugin: internal
- plugin: cpu
config:
- percpu = true