Re: [prometheus-developers] Wakatime Exporter - Would love some feedback

2020-08-24 Thread Jacob Colvin
Julius, thanks for taking a look and sending this along to Alan! I'm very glad he liked the project. :) On Monday, August 24, 2020 at 11:13:49 AM UTC-4 Julius Volz wrote: > Nice. > > Note that I pointed this out to the WakaTime owner (friend of mine), so > it's linked off of

Re: [prometheus-developers] Wakatime Exporter - Would love some feedback

2020-08-24 Thread Jacob Colvin
Thank you very much for taking a look, Brian. I think that's a very good perspective, so I will definitely make some changes keeping all that in mind. BoolToBinary really only exists the way it does due to how Grafana's value mapping works. But with some of the transformations added in 7.0,

Re: [prometheus-developers] Wakatime Exporter - Would love some feedback

2020-08-24 Thread Julius Volz
Nice. Note that I pointed this out to the WakaTime owner (friend of mine), so it's linked off of https://wakatime.com/community now :) On Sat, Aug 22, 2020 at 11:18 PM Jacob Colvin wrote: > Hello Prometheus Developers, > > I recently created my first exporter in Go, wakatime_exporter, which >

Re: [prometheus-developers] Wakatime Exporter - Would love some feedback

2020-08-24 Thread Brian Brazil
On Sat, 22 Aug 2020 at 22:18, Jacob Colvin wrote: > Hello Prometheus Developers, > > I recently created my first exporter in Go, wakatime_exporter, which > basically just converts data from the Wakatime API into the Prometheus > exposition format. > >

[prometheus-developers] Wakatime Exporter - Would love some feedback

2020-08-22 Thread Jacob Colvin
Hello Prometheus Developers, I recently created my first exporter in Go, wakatime_exporter, which basically just converts data from the Wakatime API into the Prometheus exposition format. https://github.com/MacroPower/wakatime_exporter I've been running it for a few weeks now and am happy