segmentio / stats

Go package for abstracting stats collection
https://godoc.org/github.com/segmentio/stats
MIT License
208 stars 32 forks source link

Stats prefixed by dot when sending to datadog #129

Open tommi-gangverk opened 3 years ago

tommi-gangverk commented 3 years ago

Hi!

I'm having an issue where I'm defining a struct and then using Report to send them. It seems that if I have non nested stats they will be sent to datadog with a dot prefix.

I've created a test that demonstrates this bug.

https://play.golang.org/p/OsriVv3PS8o