mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 18:06:36 +02:00
add gostatsd
This commit is contained in:
parent
dde3a8b322
commit
3bd50fbf51
@ -272,6 +272,7 @@ A collection of delicious docker recipes.
|
||||
- [x] mher/flower
|
||||
- [x] ghost
|
||||
- [x] gitlab/gitlab-ce
|
||||
- [x] atlassianlabs/gostatsd
|
||||
- [x] gliderlabs/logspout
|
||||
- [x] gliderlabs/registrator
|
||||
- [ ] glot
|
||||
|
14
gostatsd/data/gostatsd.toml
Normal file
14
gostatsd/data/gostatsd.toml
Normal file
@ -0,0 +1,14 @@
|
||||
[graphite]
|
||||
address = "graphite:2003"
|
||||
dial_timeout = '5s'
|
||||
write_timeout = '30s'
|
||||
|
||||
mode = 'tags'
|
||||
|
||||
global_prefix = 'stats'
|
||||
global_suffix = ''
|
||||
|
||||
prefix_counter = 'counters'
|
||||
prefix_timer = 'timers'
|
||||
prefix_gauge = 'gauges'
|
||||
prefix_sets = 'sets'
|
12
gostatsd/docker-compose.yml
Normal file
12
gostatsd/docker-compose.yml
Normal file
@ -0,0 +1,12 @@
|
||||
gostatsd:
|
||||
image: atlassianlabs/gostatsd
|
||||
command: gostatsd --backends=graphite --config-path=/etc/gostatsd/gostatsd.toml
|
||||
ports:
|
||||
- "8125:8125/udp"
|
||||
- "8126:8126/tcp"
|
||||
- "8181:8181/tcp"
|
||||
volumes:
|
||||
- ./data:/etc/gostatsd
|
||||
external_links:
|
||||
- graphite_graphite_1:graphite
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user