Unverified Commit 2de4e735 authored by dbk-rabel's avatar dbk-rabel Committed by GitHub

Telegraf fix output health (#262)

* telegraf - add namepass to outputs.health * Update values.yaml telegraf - add threshold parameter to metrics.health * telegraf - make output health threshold configurable * Bump chart version Co-authored-by: 's avatartimhallinflux <timhallinflux@users.noreply.github.com>
parent a5a079ff
apiVersion: v2
name: telegraf
version: 1.8.8
version: 1.8.9
appVersion: 1.21.1
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
......@@ -14,9 +14,10 @@ data:
{{- if .Values.metrics.health.enabled }}
[[outputs.health]]
service_address = "http://:8888"
namepass = ["internal_write"]
[[outputs.health.compares]]
field = "buffer_size"
lt = 5000.0
lt = {{ .Values.metrics.health.threshold }}
[[outputs.health.contains]]
field = "buffer_size"
{{- end }}
......
......@@ -170,6 +170,7 @@ config:
metrics:
health:
enabled: false
threshold: 5000.0
collect_memstats: false
# Lifecycle hooks
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment