libbitcoin/libbitcoin-server

What is the statsd implementation status?

Closed this issue · 3 comments

I'd like to know what's the status on the statsd sink implementation.

I believe there's a working initialization routine in the libbitcoin repository. However the initialization is not invoked in any derivative project, nor is there any instrumentation for metrics. The mechanism for reporting events has been defined in the source file, providing macros for reporting counter, gauge and timer events with or without rate. As it's been awhile, I can't remember if some of that cross product isn't supported by implementations, but I believe by my interpretation at the time of implementation they were all valid.

I don't know that instrumentation is currently a priority, but it should be as simple as invoking the appropriate macro with a name string and data with the understanding that counters are int64_t, gauges are uint64_t, timers are asio::milliseconds and rates are float data types.

@garceri Can we be of any further assistance?

Closing as complete.