segmentio / stats

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

Datadog events #84

Closed dfuentes closed 6 years ago

dfuentes commented 6 years ago

This PR adds support in the dogstats server to accept and parse datadog events.

My use case is using the segment/dogstatsd container locally to echo my dogstats calls for debugging. This pr allows that server to also print out any events messages that it receives.

This PR also lays the groundwork for events parsing and serializing if we decide we want to support events natively, but doesn't expose them in the top level stats API.