raintank / statsdaemon

Metrics aggregation daemon like statsd, in Go and with a bunch of extra features.
The Unlicense
327 stars 30 forks source link

Legacy format appends .count .rate despite the flag #25

Closed tehlers320 closed 7 years ago

tehlers320 commented 7 years ago

With config settings:

legacy_namespace = true
prefix_rates = "stats."
prefix_counters = "stats_counts."
prefix_timers = "stats.timers."
prefix_gauges = "stats.gauges."

send echo "deploys.test.myservice:1|c" | nc -w 1 -u 127.0.0.1 8125 echo "deploys.test.myservice:1|c" | nc -w 1 -u 127.0.0.1 8125

nc -l 2003 |grep -v statsdaemon
stats_counts.deploys.test.myservice.count 2 1485198930
stats.deploys.test.myservice.rate 0.2 1485198930

Statsd default behavior for this same metric is: stats_counts.deploys.test.myservice 2 1485199431 stats.deploys.test.myservice 0.2 1485199431

tehlers320 commented 7 years ago

never-mind... user error.