Influxdb: Support graphite templates (#3333)

* Influxdb: Support graphite templates

* Fix comment indentation

* Step up version
This commit is contained in:
Jonas von Andrian
2018-01-24 08:30:39 -08:00
committed by k8s-ci-robot
parent dab70068a5
commit 74cf7125ec
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: influxdb
version: 0.8.0
version: 0.8.1
description: Scalable datastore for metrics, events, and real-time analytics.
keywords:
- influxdb
+8 -1
View File
@@ -84,7 +84,7 @@ data:
unix-socket-enabled = {{ .Values.config.http.unix_socket_enabled }}
bind-socket = "{{ .Values.config.http.bind_socket }}"
# TODO: allow multiple graphite listeners with templates
# TODO: allow multiple graphite listeners
[[graphite]]
enabled = {{ .Values.config.graphite.enabled }}
@@ -98,6 +98,13 @@ data:
consistency-level = "{{ .Values.config.graphite.consistency_level }}"
separator = "{{ .Values.config.graphite.separator }}"
udp-read-buffer = {{ .Values.config.graphite.udp_read_buffer | int64 }}
{{- if .Values.config.graphite.templates }}
templates = [
{{- range .Values.config.graphite.templates }}
{{ quote . }},
{{- end }}
]
{{- end }}
# TODO: allow multiple collectd listeners with templates
+3
View File
@@ -167,6 +167,9 @@ config:
consistency_level: one
separator: .
udp_read_buffer: 0
# Uncomment to define graphite templates
# templates:
# - "graphite.metric.*.*.* measurement.run"
collectd:
enabled: false
bind_address: 25826