Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
INFLUXDB_VERSION=1.3.3-alpine
INFLUXDB_INIT_VERSION=1.0.1
INFLUXDB_WATCHER_VERSION=0.0.2

MYSQL_VERSION=5.7
MYSQL_INIT_VERSION=1.5.4

MEMCACHED_VERSION=1.5.0-alpine
CADVISOR_VERSION=v0.27.1
ZOOKEEPER_VERSION=3.4
ZOOKEEPER_WATCHER_VERSION=0.0.2

MON_SIDECAR_VERSION=1.0.0
MON_KEYSTONE_VERSION=1.1.3
Expand Down
3 changes: 3 additions & 0 deletions ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@
METRIC_PIPELINE_MODULE_TO_COMPOSE_SERVICES = {
'monasca-agent-forwarder': 'agent-forwarder',
'zookeeper': 'zookeeper',
'zookeeper-watcher': 'zookeeper-watcher',
'influxdb': 'influxdb',
'influxdb-watcher': 'influxdb-watcher',
'kafka': 'kafka',
'kafka-init': 'kafka-init',
'kafka-watcher': 'kafka-watcher',
'monasca-thresh': 'thresh',
'monasca-persister-python': 'monasca-persister',
'mysql-init': 'mysql-init',
Expand Down
20 changes: 20 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ services:
LOGSTASH_FIELDS: "service=influxdb-init"
depends_on:
- influxdb
influxdb-watcher:
image: monasca/influxdb-watcher:${INFLUXDB_WATCHER_VERSION}
environment:
INFLUXDB_ADDRESS: "http://influxdb:8086"
PROMETHEUS_ENDPOINT: "0.0.0.0:8080"
LOGSTASH_FIELDS: "service=influxdb-watcher"
depends_on:
- influxdb
ports:
- "18081:8080"

# cadvisor will allow host metrics to be collected, but requires significant
# access to the host system
Expand Down Expand Up @@ -61,6 +71,16 @@ services:
environment:
LOGSTASH_FIELDS: "service=zookeeper"
restart: on-failure
zookeeper-watcher:
image: monasca/zookeeper-watcher:${ZOOKEEPER_WATCHER_VERSION}
environment:
ZOOKEEPER_SERVERS: "zookeeper"
PROMETHEUS_ENDPOINT: "0.0.0.0:8080"
LOGSTASH_FIELDS: "service=zookeeper-watcher"
depends_on:
- zookeeper
ports:
- "18082:8080"

kafka:
image: monasca/kafka:${MON_KAFKA_VERSION}
Expand Down