<div dir="auto">Really great idea! </div><div class="gmail_extra"><br><div class="gmail_quote">On Apr 18, 2017 1:05 AM, "Benjamin Heiskell" <<a href="mailto:bheiskell@datto.com">bheiskell@datto.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hey all,</div><div><br></div><div>I recently deployed Hawkular because I found its scaling model appealing. It has been working well for our basic monitoring usage when combined with Grafana.</div><div><br></div><div>One of my consumers is trying to graph KPIs that involve cross-metric mathematics like sums, division, and moving averages (i.e., post-ingress transformations). I looked into how to accomplish this with Hawkular, but I didn't see any obvious way to do it. The stats endpoint seems to only support aggregations on a single metric/tag at a time. I'm finding that we can't visualize these metrics the same way you can with other TSDBs like Graphite/Prometheus.</div><div><br></div><div>I did a little research, and found Heiko Rupp's blog post on HawkFX where he seems to already be exploring this idea [1]. Perhaps the query language item on the 2017 road map refers to incorporating this?</div><div><br></div><div>I would like to assist in developing this feature. Given that there is already a tags DSL, it seems like it would make sense to extend that to support metric transformations.</div><div><br></div><div>Grafana is also considering adding this to Grafana itself, but it doesn't look like the ticket has any traction [2]. Additionally, shipping potentially megabytes of data to Grafana (or the user's browser) to aggregate doesn't seem ideal.</div><div><br></div><div>I documented a few TSDB DSLs styles here [3].</div><div><br></div><div>What do you all think?</div><div><br></div><div>Thanks,</div><div>Ben<br></div><div><br></div><div>[1] <a href="http://pilhuhn.blogspot.com/2016/09/computed-metrics-for-hawkfx.html" target="_blank">http://pilhuhn.blogspot.com/<wbr>2016/09/computed-metrics-for-<wbr>hawkfx.html</a></div><div>[2] <a href="https://github.com/grafana/grafana/issues/3677" target="_blank">https://github.com/grafana/<wbr>grafana/issues/3677</a></div><div>[3] <a href="https://gist.github.com/bheiskell/25af2543ee8588f70895b0311ef291d3" target="_blank">https://gist.github.com/<wbr>bheiskell/<wbr>25af2543ee8588f70895b0311ef291<wbr>d3</a></div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/hawkular-dev</a><br>
<br></blockquote></div></div>