Skip to content

Commit 6c52662

Browse files
author
Jonathan Chauncey
committed
Merge pull request #76 from sstarcher/graphite
Adding Graphite Support
2 parents a2b8bf2 + 0195bd3 commit 6c52662

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

influxdb/rootfs/config.toml.tpl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,12 @@ bind-address = {{ default ":8088" .BIND_ADDRESS | quote }}
9696
retry-interval = {{ default "1s" .HINTED_HANDOFF_RETRY_INTERVAL | quote }}
9797
retry-max-interval = {{ default "1m0s" .HINTED_HANDOFF_RETRY_MAX_INTERVAL | quote }}
9898
purge-interval = {{ default "1h0m0s" .HINTED_HANDOFF_PURGE_INTERVAL | quote }}
99+
100+
[[graphite]]
101+
enabled = {{ default false .GRAPHITE_ENABLED }}
102+
bind-address = {{ default ":2003" .GRAPHITE_BIND_ADDRESS | quote }}
103+
protocol = {{ default "tcp" .GRAPHITE_PROTOCOL | quote }}
104+
consistency-level = {{ default "one" .GRAPHITE_CONSISTENCY_LEVEL | quote }}
105+
separator = {{ default "." .GRAPHITE_SEPERATOR | quote }}
106+
{{ if .GRAPHITE_TAGS }}tags = [{{ .GRAPHITE_TAGS | quote }}]{{end}}
107+
{{ if .GRAPHITE_TEMPLATES }}templates = [{{ .GRAPHITE_TEMPLATES | quote }}]{{end}}

0 commit comments

Comments
 (0)