Hi,

I am writing a GO program that uses go-metrics 
(https://github.com/rcrowley/go-metrics) to collect/provide application 
specific metrics.  Our team is evaluating Heka and one of the first use cases 
is for each instance of the program to send its metric data to Heka but I am 
running into issues trying to get things working.  The goal is to have multiple 
instances of the program each send metrics to Heka which would then aggregate 
the data and emit it to a downstream service.

The go-metrics package can output metrics in various formats and the one I am 
trying to hook into Heka is Graphite 
(https://github.com/rcrowley/go-metrics/blob/master/graphite.go).  Looking 
through the Heka docs, there is  the StatsToFieldsDecoder 
http://hekad.readthedocs.org/en/v0.7.1/config/decoders/index.html#statstofieldsdecoder
 which seems to be a perfect fit but the problem is figuring out which 'Input' 
to use.  We spent some time trying to get the TcpInput to work (configuring 
go-metrics to connect to the TCP port Heka was listening on) but have not been 
successful yet.  Is this the right path to go down to get data from go-metrics 
into Heka?

Being a complete newbie to Heka, hopefully it is something simple that I am 
missing.

Thanks,

Ryan Richins
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to