commit | 4cd8692920c2b498e51443200a4fb0c2febe7b86 | [log] [tgz] |
---|---|---|
author | Ales Komarek <akomarek@mirantis.com> | Tue Jun 06 12:13:04 2017 +0000 |
committer | Gerrit Code Review <gerrit2@32a4cf582fa9> | Tue Jun 06 12:13:05 2017 +0000 |
tree | ed3e4d63292cb427fe1423072881f481bce34200 | |
parent | 46f7af4ae0efe49c1a38216af647c8df92657f45 [diff] | |
parent | 150e5e028f2b485591bb54239b1e6831123e4d58 [diff] |
Merge "Add input plugin for MySQL/Galera"
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 %}