commit | 3bad2faabaf24df45d00b92d9c277f59fe275864 | [log] [tgz] |
---|---|---|
author | Filip Pytloun <fpytloun@mirantis.com> | Tue Jun 06 12:39:31 2017 +0000 |
committer | Gerrit Code Review <gerrit2@32a4cf582fa9> | Tue Jun 06 12:39:31 2017 +0000 |
tree | 659eee5e3c5ca9b4c4d61763c7c17809f19b9f06 | |
parent | 4cd8692920c2b498e51443200a4fb0c2febe7b86 [diff] | |
parent | df1f5303a45cf9b45cd7b6743c1b5fd7a6065389 [diff] |
Merge "Support multiple instances of telegraf"
diff --git a/telegraf/files/input/mysql.conf b/telegraf/files/input/mysql.conf new file mode 100644 index 0000000..3566535 --- /dev/null +++ b/telegraf/files/input/mysql.conf
@@ -0,0 +1,5 @@ +{%- if values.address is defined %} +[[inputs.mysql]] + servers = [ "{{ values.username }}:{{ values.password }}@{{ values.protocol|default("unix") }}({{ values.address }})/" ] +{%- include 'telegraf/files/input/_tags.conf' %} +{%- endif %}