This repository was archived by the owner on Aug 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anthony Woods
committed
May 23, 2018
1 parent
a5d95d6
commit 988cd10
Showing
18 changed files
with
606 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
version: '2' | ||
|
||
services: | ||
metrictank: | ||
hostname: metrictank | ||
image: grafana/metrictank | ||
ports: | ||
- "6060:6060" | ||
- "2003:2003" | ||
volumes: | ||
- ../../build/metrictank:/usr/bin/metrictank | ||
- ./metrictank.ini:/etc/metrictank/metrictank.ini | ||
- ./storage-schemas.conf:/etc/metrictank/storage-schemas.conf | ||
- ./storage-aggregation.conf:/etc/metrictank/storage-aggregation.conf | ||
environment: | ||
WAIT_HOSTS: kafka:9092 | ||
WAIT_TIMEOUT: 60 | ||
MT_STATS_ADDR: graphite:2003 | ||
MT_CASSANDRA_ADDRS: <addr> | ||
MT_CASSANDRA_SSL: "true" | ||
MT_CASSANDRA_HOST_VERIFICATION: "false" | ||
MT_CASSANDRA_AUTH: "true" | ||
MT_CASSANDRA_USERNAME: <user> | ||
MT_CASSANDRA_PASSWORD: <pass> | ||
MT_CASSANDRA_IDX_HOSTS: <addr> | ||
MT_CASSANDRA_IDX_NUM_CONNS: 1 | ||
MT_CASSANDRA_IDX_SSL: "true" | ||
MT_CASSANDRA_IDX_HOST_VERIFICATION: "false" | ||
MT_CASSANDRA_IDX_AUTH: "true" | ||
MT_CASSANDRA_IDX_USERNAME: <user> | ||
MT_CASSANDRA_IDX_PASSWORD: <pass> | ||
links: | ||
- kafka | ||
|
||
kafka: | ||
hostname: kafka | ||
image: raintank/kafka:latest | ||
environment: | ||
ADVERTISED_HOST: kafka | ||
NUM_PARTITIONS: 8 | ||
ports: | ||
- "2181:2181" | ||
- "9092:9092" | ||
- "9999:9999" | ||
volumes: | ||
- /tmp/kafka-logs | ||
|
||
graphite: | ||
hostname: graphite | ||
image: graphiteapp/graphite-statsd:latest | ||
ports: | ||
- "8080:80" | ||
|
||
grafana: | ||
hostname: grafana | ||
image: grafana/grafana:latest | ||
ports: | ||
- "3000:3000" | ||
|
||
tsdb-gw: | ||
hostname: tsdb-gw | ||
image: raintank/tsdb-gw:latest | ||
ports: | ||
- "8081:80" | ||
environment: | ||
GW_GRAPHITE_URL: http://metrictank:6060 | ||
GW_METRICS_PUBLISH: "true" | ||
GW_METRICS_KAFKA_COMP: snappy | ||
GW_KAFKA_TCP_ADDR: kafka:9092 | ||
GW_STATS_ENABLED: "true" | ||
GW_STATS_PREFIX: "tsdb-gw.stats.dev.tsdbgw_tsdb-gw_1" | ||
GW_STATS_ADDR: "graphite:2003" |
Oops, something went wrong.