godogstats package is implemented to bridge lyft/gostats with dogstatsd.
There is a new statsd sink implemented which will output the stats using dogstatsd protocol over UDP which allows tags.
Thus, a new mogrification feature is also added which lets us mogrify the stat from internal metric names, into a different name + tags, similar to what is done in the prom-stats-exporter example
Note: there is some runtime cost associated with mogrifying the metrics but it should be minimal due to the existing in memory flushing architecture.
I apologize for making a design comment on an already implemented PR but what if instead of continuing to build support for specific company / vendor formats we instead implemented vendor-neutral OTEL Metrics ?
godogstats
package is implemented to bridgelyft/gostats
with dogstatsd.There is a new statsd sink implemented which will output the stats using dogstatsd protocol over UDP which allows tags.
Thus, a new
mogrification
feature is also added which lets us mogrify the stat from internal metric names, into a different name + tags, similar to what is done in the prom-stats-exporter exampleNote: there is some runtime cost associated with mogrifying the metrics but it should be minimal due to the existing in memory flushing architecture.