mirror of https://github.com/vimagick/dockerfiles
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] mher/flower
|
||||||
- [x] ghost
|
- [x] ghost
|
||||||
- [x] gitlab/gitlab-ce
|
- [x] gitlab/gitlab-ce
|
||||||
|
- [x] atlassianlabs/gostatsd
|
||||||
- [x] gliderlabs/logspout
|
- [x] gliderlabs/logspout
|
||||||
- [x] gliderlabs/registrator
|
- [x] gliderlabs/registrator
|
||||||
- [ ] glot
|
- [ ] glot
|
||||||
|
|
|
@ -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'
|
|
@ -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