1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 17:56:53 +02:00

add gostatsd

This commit is contained in:
kev 2019-08-11 13:08:47 +08:00
parent dde3a8b322
commit 3bd50fbf51
3 changed files with 27 additions and 0 deletions

View File

@ -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

View 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'

View 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