<div dir="ltr"><div><div>Hi,<br><br></div>And what about this:<br><br><a href="https://dalmatiner.io">https://dalmatiner.io</a> <br><a href="https://dalmatiner.readme.io/docs">https://dalmatiner.readme.io/docs</a><br><br></div>Thanks.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 9, 2017 at 6:57 PM, Frank Muller <span dir="ltr"><<a href="mailto:frank.muller.erl@gmail.com" target="_blank">frank.muller.erl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Thanks Anthony. For sure I'll give it a try. </div><div><br></div><div>/Frank</div><div><br></div><div><<a href="mailto:anthonym@alumni.caltech.edu" target="_blank">anthonym@alumni.caltech.edu</a>> a écrit :<div><div class="h5"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-3060139431026040224gmail_msg"><div class="m_-3060139431026040224gmail_msg"></div><div class="m_-3060139431026040224gmail_msg">If you want the flexibility of swapping out where you send metrics to without changing application code you might consider MonDemand (<a href="http://www.mondemand.org/" class="m_-3060139431026040224gmail_msg" target="_blank">http://www.mondemand.org/</a>).</div><div class="m_-3060139431026040224gmail_msg"><br class="m_-3060139431026040224gmail_msg"></div><div class="m_-3060139431026040224gmail_msg">We use it to send many millions of metrics every minute and currently write those to RRDs which are accessed by grafana via graphite.  In the past I wrote plugins to forward metrics to InfluxDB, OpenTSDB/KairosDB, Graphite, Riemann, and a few other custom backends.  I haven't looked at it but adding something like Prometheus is possible assuming a decent client library exists.</div><div class="m_-3060139431026040224gmail_msg"><br class="m_-3060139431026040224gmail_msg"></div><div class="m_-3060139431026040224gmail_msg">Mondemand client libraries exist in Erlang, Java, and C (SWIG compatible and we've wrapped perl and python).  The Erlang client library has been embedded in both Elixir and Erlang without issue for years.</div><div class="m_-3060139431026040224gmail_msg"><br class="m_-3060139431026040224gmail_msg"></div><div class="m_-3060139431026040224gmail_msg">If you have any interest in checking it out and need help with setup or questions let me know.</div></div><div class="m_-3060139431026040224gmail_msg"><div class="m_-3060139431026040224gmail_msg"><br class="m_-3060139431026040224gmail_msg"></div><div class="m_-3060139431026040224gmail_msg">-Anthony </div></div><div class="m_-3060139431026040224gmail_msg"><div class="m_-3060139431026040224gmail_msg"><br class="m_-3060139431026040224gmail_msg">On Feb 9, 2017, at 11:49 AM, Frank Muller <<a href="mailto:frank.muller.erl@gmail.com" class="m_-3060139431026040224gmail_msg" target="_blank">frank.muller.erl@gmail.com</a>> wrote:<br class="m_-3060139431026040224gmail_msg"><br class="m_-3060139431026040224gmail_msg"></div><blockquote type="cite" class="m_-3060139431026040224gmail_msg"><div class="m_-3060139431026040224gmail_msg"><div class="m_-3060139431026040224gmail_msg">Andre,</div><div class="m_-3060139431026040224gmail_msg"><br class="m_-3060139431026040224gmail_msg"></div><div class="m_-3060139431026040224gmail_msg">I like it it's simple and VerneMQ graphs look great.</div><div class="m_-3060139431026040224gmail_msg"><br class="m_-3060139431026040224gmail_msg"></div><div class="m_-3060139431026040224gmail_msg">Do you also have some docs on how set these dashboards on Grafana?</div><div class="m_-3060139431026040224gmail_msg"><br class="m_-3060139431026040224gmail_msg"></div><div class="m_-3060139431026040224gmail_msg">/Frank </div><div class="m_-3060139431026040224gmail_msg"><br class="m_-3060139431026040224gmail_msg"><div class="gmail_quote m_-3060139431026040224gmail_msg"><div class="m_-3060139431026040224gmail_msg"><<a href="mailto:andre@dergraf.org" class="m_-3060139431026040224gmail_msg" target="_blank">andre@dergraf.org</a>> a écrit :<br class="m_-3060139431026040224gmail_msg"></div><blockquote class="gmail_quote m_-3060139431026040224gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Frank,<br class="m_-3060139431026040224gmail_msg">
<br class="m_-3060139431026040224gmail_msg">
VerneMQ, the project I am working at these days has chosen the<br class="m_-3060139431026040224gmail_msg">
Prometheus path too. However, we currently don't use the mentioned<br class="m_-3060139431026040224gmail_msg">
library as most of our metrics (including vm stats) are either gauges or<br class="m_-3060139431026040224gmail_msg">
counters it was very simple to expose them directly using a Cowboy HTTP<br class="m_-3060139431026040224gmail_msg">
handler returning the metrics in text/plain.<br class="m_-3060139431026040224gmail_msg">
<br class="m_-3060139431026040224gmail_msg">
The HTTP handler code is available here:<br class="m_-3060139431026040224gmail_msg">
<a href="https://github.com/erlio/vernemq/blob/master/apps/vmq_server/src/vmq_metrics_http.erl#L47-L61" rel="noreferrer" class="m_-3060139431026040224gmail_msg" target="_blank">https://github.com/erlio/<wbr>vernemq/blob/master/apps/vmq_<wbr>server/src/vmq_metrics_http.<wbr>erl#L47-L61</a><br class="m_-3060139431026040224gmail_msg">
<br class="m_-3060139431026040224gmail_msg">
The code that sets up the metrics is here:<br class="m_-3060139431026040224gmail_msg">
<a href="https://github.com/erlio/vernemq/blob/master/apps/vmq_server/src/vmq_metrics.erl" rel="noreferrer" class="m_-3060139431026040224gmail_msg" target="_blank">https://github.com/erlio/<wbr>vernemq/blob/master/apps/vmq_<wbr>server/src/vmq_metrics.erl</a><br class="m_-3060139431026040224gmail_msg">
<br class="m_-3060139431026040224gmail_msg">
Hope this helps.<br class="m_-3060139431026040224gmail_msg">
<br class="m_-3060139431026040224gmail_msg">
Cheers,<br class="m_-3060139431026040224gmail_msg">
Andre<br class="m_-3060139431026040224gmail_msg">
<br class="m_-3060139431026040224gmail_msg">
<br class="m_-3060139431026040224gmail_msg">
On 02/09/2017 06:48 PM, Frank Muller wrote:<br class="m_-3060139431026040224gmail_msg">
> Thanks Illya, found it already this morning.<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
> Does someone already used this library? Maybe she/he can share their<br class="m_-3060139431026040224gmail_msg">
> experience?<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
> /Frank<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>     Then you might want to try<br class="m_-3060139431026040224gmail_msg">
>     <a href="https://github.com/deadtrickster/prometheus.erl____" rel="noreferrer" class="m_-3060139431026040224gmail_msg" target="_blank">https://github.com/<wbr>deadtrickster/prometheus.erl__<wbr>__</a><br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>     __ __<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>     Regards,____<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>     Ilya<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>     __ __<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>     *From: *Frank Muller <mailto:<a href="mailto:frank.muller.erl@gmail.com" class="m_-3060139431026040224gmail_msg" target="_blank">frank.muller.erl@<wbr>gmail.com</a>><br class="m_-3060139431026040224gmail_msg">
>     *Sent: *Thursday, February 9, 2017 12:37 PM<br class="m_-3060139431026040224gmail_msg">
>     *To: *Alexander Petrovsky <mailto:<a href="mailto:askjuise@gmail.com" class="m_-3060139431026040224gmail_msg" target="_blank">askjuise@gmail.com</a>>;<br class="m_-3060139431026040224gmail_msg">
>     Erlang-Questions Questions <mailto:<a href="mailto:erlang-questions@erlang.org" class="m_-3060139431026040224gmail_msg" target="_blank">erlang-questions@<wbr>erlang.org</a>>;<br class="m_-3060139431026040224gmail_msg">
>     <a href="mailto:spyl@duty.kiev.ua" class="m_-3060139431026040224gmail_msg" target="_blank">spyl@duty.kiev.ua</a> <mailto:<a href="mailto:spyl@duty.kiev.ua" class="m_-3060139431026040224gmail_msg" target="_blank">spyl@duty.kiev.ua</a>><br class="m_-3060139431026040224gmail_msg">
>     *Subject: *Re: [erlang-questions] Send VM metrics to Grafana<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>     __ __<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>     Thanks for all the pointers guys.<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>     I've also heard about Prometheus (<a href="https://prometheus.io/" rel="noreferrer" class="m_-3060139431026040224gmail_msg" target="_blank">https://prometheus.io/</a>).<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>     I like it because it's a single Go binary, very easy to deploy.<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>     Anyone has any experience with it and Grafana?<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>     /Frank<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>     <<a href="mailto:askjuise@gmail.com" class="m_-3060139431026040224gmail_msg" target="_blank">askjuise@gmail.com</a> <mailto:<a href="mailto:askjuise@gmail.com" class="m_-3060139431026040224gmail_msg" target="_blank">askjuise@gmail.com</a>>><br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>         Hello!<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>         There are bunch of projects for this, by example exometer, my<br class="m_-3060139431026040224gmail_msg">
>         metronome (<a href="https://github.com/juise/metronome" rel="noreferrer" class="m_-3060139431026040224gmail_msg" target="_blank">https://github.com/juise/<wbr>metronome</a>), and so on.<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>         Just install influxdb and grafana<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>         чт, 9 февр. 2017 г. в 12:06, Frank Muller<br class="m_-3060139431026040224gmail_msg">
>         <<a href="mailto:frank.muller.erl@gmail.com" class="m_-3060139431026040224gmail_msg" target="_blank">frank.muller.erl@gmail.com</a> <mailto:<a href="mailto:frank.muller.erl@gmail.com" class="m_-3060139431026040224gmail_msg" target="_blank">frank.muller.erl@<wbr>gmail.com</a>>>:<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>             Hi everyone,<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>             Does anyone succeeded to push VM metrics to Grafana<br class="m_-3060139431026040224gmail_msg">
>             (<a href="http://grafana.org/" rel="noreferrer" class="m_-3060139431026040224gmail_msg" target="_blank">http://grafana.org/</a>).<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>             Here I'm looking for a simple integration with minimal<br class="m_-3060139431026040224gmail_msg">
>             dependencies if possible.<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>             Thank you.<br class="m_-3060139431026040224gmail_msg">
>             /Frank<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>             _____________________________<wbr>__________________<br class="m_-3060139431026040224gmail_msg">
>             erlang-questions mailing list<br class="m_-3060139431026040224gmail_msg">
>             <a href="mailto:erlang-questions@erlang.org" class="m_-3060139431026040224gmail_msg" target="_blank">erlang-questions@erlang.org</a> <mailto:<a href="mailto:erlang-questions@erlang.org" class="m_-3060139431026040224gmail_msg" target="_blank">erlang-questions@<wbr>erlang.org</a>><br class="m_-3060139431026040224gmail_msg">
>             <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" class="m_-3060139431026040224gmail_msg" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>         --<br class="m_-3060139431026040224gmail_msg">
>         Петровский Александр / Alexander Petrovsky,<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
>         Skype: askjuise<br class="m_-3060139431026040224gmail_msg">
>         Phone: +7 914 8 820 815<br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
> ______________________________<wbr>_________________<br class="m_-3060139431026040224gmail_msg">
> erlang-questions mailing list<br class="m_-3060139431026040224gmail_msg">
> <a href="mailto:erlang-questions@erlang.org" class="m_-3060139431026040224gmail_msg" target="_blank">erlang-questions@erlang.org</a><br class="m_-3060139431026040224gmail_msg">
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" class="m_-3060139431026040224gmail_msg" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br class="m_-3060139431026040224gmail_msg">
><br class="m_-3060139431026040224gmail_msg">
<br class="m_-3060139431026040224gmail_msg">
______________________________<wbr>_________________<br class="m_-3060139431026040224gmail_msg">
erlang-questions mailing list<br class="m_-3060139431026040224gmail_msg">
<a href="mailto:erlang-questions@erlang.org" class="m_-3060139431026040224gmail_msg" target="_blank">erlang-questions@erlang.org</a><br class="m_-3060139431026040224gmail_msg">
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" class="m_-3060139431026040224gmail_msg" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br class="m_-3060139431026040224gmail_msg">
</blockquote></div></div>
</div></blockquote><blockquote type="cite" class="m_-3060139431026040224gmail_msg"><div class="m_-3060139431026040224gmail_msg"><span class="m_-3060139431026040224gmail_msg">______________________________<wbr>_________________</span><br class="m_-3060139431026040224gmail_msg"><span class="m_-3060139431026040224gmail_msg">erlang-questions mailing list</span><br class="m_-3060139431026040224gmail_msg"><span class="m_-3060139431026040224gmail_msg"><a href="mailto:erlang-questions@erlang.org" class="m_-3060139431026040224gmail_msg" target="_blank">erlang-questions@erlang.org</a></span><br class="m_-3060139431026040224gmail_msg"><span class="m_-3060139431026040224gmail_msg"><a href="http://erlang.org/mailman/listinfo/erlang-questions" class="m_-3060139431026040224gmail_msg" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a></span><br class="m_-3060139431026040224gmail_msg"></div></blockquote></div></blockquote></div></div></div></div>
<br>______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">João Henrique Ferreira de Freitas - <a href="http://joaohf_at_gmail.com" target="_blank">joaohf_at_gmail.com</a><br>Campinas-SP-Brasil</div></div>
</div>