Skip to content
Snippets Groups Projects
Commit b76f4016 authored by Doug Szumski's avatar Doug Szumski Committed by Eduardo Gonzalez
Browse files

Supporting configuring Monasca Kafka topics

Multiple Monasca services will need to access these topics. We
can use these variables to make sure that they all use the correct
ones.

Change-Id: I9f40090287542a78dc7d7c6bdd3933abb32918d7
Partially-Implements: blueprint monasca-roles
parent 4ed05731
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,9 @@ monasca_influxdb_http_port: "{{ influxdb_http_port }}"
monasca_kafka: "{% for host in groups['kafka'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ kafka_port }}{% if not loop.last %},{% endif %}{% endfor %}"
monasca_memcached_servers: "{% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}"
monasca_metrics_topic: "metrics"
monasca_raw_logs_topic: "logs"
####################
# Docker
####################
......
......@@ -14,6 +14,7 @@ ip_address = {{ monasca_influxdb_address }}
port = {{ monasca_influxdb_http_port }}
[kafka]
metrics_topic = {{ monasca_metrics_topic }}
partitions = 0
uri = {{ monasca_kafka }}
......
......@@ -4,9 +4,11 @@ log_dir = /var/log/kolla/monasca
debug = {{ monasca_logging_debug }}
[kafka_healthcheck]
kafka_topics = {{ monasca_raw_logs_topic }}
kafka_url = {{ monasca_kafka }}
[log_publisher]
topics = {{ monasca_raw_logs_topic }}
kafka_url = {{ monasca_kafka }}
[monitoring]
......
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