<div>Andre,</div><div><br></div><div>I like it it's simple and VerneMQ graphs look great.</div><div><br></div><div>Do you also have some docs on how set these dashboards on Grafana?</div><div><br></div><div>/Frank </div><div><br><div class="gmail_quote"><div><<a href="mailto:andre@dergraf.org">andre@dergraf.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Frank,<br class="gmail_msg">
<br class="gmail_msg">
VerneMQ, the project I am working at these days has chosen the<br class="gmail_msg">
Prometheus path too. However, we currently don't use the mentioned<br class="gmail_msg">
library as most of our metrics (including vm stats) are either gauges or<br class="gmail_msg">
counters it was very simple to expose them directly using a Cowboy HTTP<br class="gmail_msg">
handler returning the metrics in text/plain.<br class="gmail_msg">
<br class="gmail_msg">
The HTTP handler code is available here:<br class="gmail_msg">
<a href="https://github.com/erlio/vernemq/blob/master/apps/vmq_server/src/vmq_metrics_http.erl#L47-L61" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/erlio/vernemq/blob/master/apps/vmq_server/src/vmq_metrics_http.erl#L47-L61</a><br class="gmail_msg">
<br class="gmail_msg">
The code that sets up the metrics is here:<br class="gmail_msg">
<a href="https://github.com/erlio/vernemq/blob/master/apps/vmq_server/src/vmq_metrics.erl" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/erlio/vernemq/blob/master/apps/vmq_server/src/vmq_metrics.erl</a><br class="gmail_msg">
<br class="gmail_msg">
Hope this helps.<br class="gmail_msg">
<br class="gmail_msg">
Cheers,<br class="gmail_msg">
Andre<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
On 02/09/2017 06:48 PM, Frank Muller wrote:<br class="gmail_msg">
> Thanks Illya, found it already this morning.<br class="gmail_msg">
><br class="gmail_msg">
> Does someone already used this library? Maybe she/he can share their<br class="gmail_msg">
> experience?<br class="gmail_msg">
><br class="gmail_msg">
> /Frank<br class="gmail_msg">
><br class="gmail_msg">
> Then you might want to try<br class="gmail_msg">
> <a href="https://github.com/deadtrickster/prometheus.erl____" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/deadtrickster/prometheus.erl____</a><br class="gmail_msg">
><br class="gmail_msg">
> __ __<br class="gmail_msg">
><br class="gmail_msg">
> Regards,____<br class="gmail_msg">
><br class="gmail_msg">
> Ilya<br class="gmail_msg">
><br class="gmail_msg">
> __ __<br class="gmail_msg">
><br class="gmail_msg">
> *From: *Frank Muller <mailto:<a href="mailto:frank.muller.erl@gmail.com" class="gmail_msg" target="_blank">frank.muller.erl@gmail.com</a>><br class="gmail_msg">
> *Sent: *Thursday, February 9, 2017 12:37 PM<br class="gmail_msg">
> *To: *Alexander Petrovsky <mailto:<a href="mailto:askjuise@gmail.com" class="gmail_msg" target="_blank">askjuise@gmail.com</a>>;<br class="gmail_msg">
> Erlang-Questions Questions <mailto:<a href="mailto:erlang-questions@erlang.org" class="gmail_msg" target="_blank">erlang-questions@erlang.org</a>>;<br class="gmail_msg">
> <a href="mailto:spyl@duty.kiev.ua" class="gmail_msg" target="_blank">spyl@duty.kiev.ua</a> <mailto:<a href="mailto:spyl@duty.kiev.ua" class="gmail_msg" target="_blank">spyl@duty.kiev.ua</a>><br class="gmail_msg">
> *Subject: *Re: [erlang-questions] Send VM metrics to Grafana<br class="gmail_msg">
><br class="gmail_msg">
> __ __<br class="gmail_msg">
><br class="gmail_msg">
> Thanks for all the pointers guys.<br class="gmail_msg">
><br class="gmail_msg">
> I've also heard about Prometheus (<a href="https://prometheus.io/" rel="noreferrer" class="gmail_msg" target="_blank">https://prometheus.io/</a>).<br class="gmail_msg">
><br class="gmail_msg">
> I like it because it's a single Go binary, very easy to deploy.<br class="gmail_msg">
><br class="gmail_msg">
> Anyone has any experience with it and Grafana?<br class="gmail_msg">
><br class="gmail_msg">
> /Frank<br class="gmail_msg">
><br class="gmail_msg">
> <<a href="mailto:askjuise@gmail.com" class="gmail_msg" target="_blank">askjuise@gmail.com</a> <mailto:<a href="mailto:askjuise@gmail.com" class="gmail_msg" target="_blank">askjuise@gmail.com</a>>><br class="gmail_msg">
><br class="gmail_msg">
> Hello!<br class="gmail_msg">
><br class="gmail_msg">
> There are bunch of projects for this, by example exometer, my<br class="gmail_msg">
> metronome (<a href="https://github.com/juise/metronome" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/juise/metronome</a>), and so on.<br class="gmail_msg">
><br class="gmail_msg">
> Just install influxdb and grafana<br class="gmail_msg">
><br class="gmail_msg">
> чт, 9 февр. 2017 г. в 12:06, Frank Muller<br class="gmail_msg">
> <<a href="mailto:frank.muller.erl@gmail.com" class="gmail_msg" target="_blank">frank.muller.erl@gmail.com</a> <mailto:<a href="mailto:frank.muller.erl@gmail.com" class="gmail_msg" target="_blank">frank.muller.erl@gmail.com</a>>>:<br class="gmail_msg">
><br class="gmail_msg">
> Hi everyone,<br class="gmail_msg">
><br class="gmail_msg">
> Does anyone succeeded to push VM metrics to Grafana<br class="gmail_msg">
> (<a href="http://grafana.org/" rel="noreferrer" class="gmail_msg" target="_blank">http://grafana.org/</a>).<br class="gmail_msg">
><br class="gmail_msg">
> Here I'm looking for a simple integration with minimal<br class="gmail_msg">
> dependencies if possible.<br class="gmail_msg">
><br class="gmail_msg">
> Thank you.<br class="gmail_msg">
> /Frank<br class="gmail_msg">
><br class="gmail_msg">
> _______________________________________________<br class="gmail_msg">
> erlang-questions mailing list<br class="gmail_msg">
> <a href="mailto:erlang-questions@erlang.org" class="gmail_msg" target="_blank">erlang-questions@erlang.org</a> <mailto:<a href="mailto:erlang-questions@erlang.org" class="gmail_msg" target="_blank">erlang-questions@erlang.org</a>><br class="gmail_msg">
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" class="gmail_msg" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br class="gmail_msg">
><br class="gmail_msg">
> --<br class="gmail_msg">
> Петровский Александр / Alexander Petrovsky,<br class="gmail_msg">
><br class="gmail_msg">
> Skype: askjuise<br class="gmail_msg">
> Phone: +7 914 8 820 815<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> _______________________________________________<br class="gmail_msg">
> erlang-questions mailing list<br class="gmail_msg">
> <a href="mailto:erlang-questions@erlang.org" class="gmail_msg" target="_blank">erlang-questions@erlang.org</a><br class="gmail_msg">
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" class="gmail_msg" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br class="gmail_msg">
><br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
erlang-questions mailing list<br class="gmail_msg">
<a href="mailto:erlang-questions@erlang.org" class="gmail_msg" target="_blank">erlang-questions@erlang.org</a><br class="gmail_msg">
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" class="gmail_msg" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br class="gmail_msg">
</blockquote></div></div>