atlassian / gostatsd

An implementation of Etsy's statsd in Go with tags support
MIT License
380 stars 99 forks source link

Backend OTLP: Adding OTLP as a configurable backend for GoStatsD #656

Closed MovieStoreGuy closed 3 months ago

MovieStoreGuy commented 8 months ago

Context

This adds in support for OTLP as a supported backend for Gostatsd however it does come with some limitations:

Events will need to be exported as logs which currently isn't written yet and ignored for this PR.

Migration

To ensure the highest amount of compatibility with other configurable backends, timers can either exported as Gauges with the calculated value added as suffix to the metric. This should ensure that existing metrics being emitted to your configured backend should maintain the same semantic value when visualising / evaluating within metrics platform.

Outstanding

MovieStoreGuy commented 8 months ago

I've parked the additional actions, I would like to follow up on those to be done within the transport instead of within the encoding step.