<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Hey,</p>
<p dir="auto">what internal stats of the Hawkular metrics do we currently collect?<br>
I think Joel did some work for the C* part.</p>
<p dir="auto">What I think we need is <br>
- number of data points stored on a per tenant basis.<br>
Resolution could be something like "last minute" or<br>
"last 5 minutes" I.e. not realtime updates in the table.<br>
- Total number of data points (i.e. sum over all tenants)</p>
<ul>
<li><p dir="auto">Query stats. This is probably more complicated, as <br>
querying on metrics that are still in some buffer is<br>
cheaper than over 3 years of raw data.<br>
To get started I'd go with # of queries per tenant and global<br>
Those could perhaps be differentiated on </p>
<ul>
<li>raw endpoint</li>
<li>stats endpoint</li>
</ul></li>
<li><p dir="auto">What about alerting? More alert definitions certainly<br>
need more cpu, so number of alert definitions per tenant<br>
and total would be another pair.</p>
<ul>
<li>does number of fired alerts also make sense?</li>
</ul></li>
</ul>
<p dir="auto">The idea behind those is to get some usage figures of the<br>
shared resource "Hawkular metrics" and then to be able to <br>
charge them back onto individual tenants e.g. inside of <br>
OpenShift.</p>
</div>
</div>
</body>
</html>