Skip to content
Snippets Groups Projects
Commit 93e86836 authored by pangliye's avatar pangliye Committed by Michal Nasiadka
Browse files

Add Kafka input to telegraf config

Change-Id: I9a8d3dc5f311d4ea4e5d9b03d522632abc66a7ac
parent 1c866201
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,10 @@
[[inputs.zookeeper]]
servers = ["{{ api_interface_address }}:{{ zookeeper_port }}"]
{% endif %}
{% if inventory_hostname in groups['kafka'] and enable_kafka | bool %}
[[inputs.kafka_consumer]]
brokers = ["{{ api_interface_address }}:{{ kafka_port }}"]
{% endif %}
{% if inventory_hostname in groups['mariadb'] and (enable_mariadb or enable_external_mariadb_load_balancer) | bool %}
[[inputs.mysql]]
servers = ["{{ database_user }}:{{ database_password }}@{{ mariadb_proto }}({{ api_interface_address }}:{{ database_port }})/"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment