<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Calibri"><br>
Lucas and I were talking over jira [1] which has to do with
metrics/alerting scale. This was discussed a bit on IRC recently
as well. Today, metrics publishes all datapoints to the bus
(metrics and avail go to different topics). The only consumer of
that data is alerting, and it consumes a small fraction of the
total data (actually it consumes none of it OOB at the moment, but
that will hopefully change as Lucas's alerting work comes on line
in MIQ).<br>
<br>
Although in its purest form this publish-it-all is the essence of
bus publishing, we both feel it's an unnecessary waste of
resources, as metrics can reach very high volume. There are a few
approaches to reducing the publishing/filtering that we're
currently doing. The options we discussed boil down to:<br>
</font>
<ul>
<li><font face="Calibri">No Publishing</font></li>
<ul>
<li><font face="Calibri">Just query metrics for the data needed
for alerting (or whatever other external use we may have for
the data)</font></li>
<li><font face="Calibri">This is essentially a polling approach
with frequent polling</font></li>
</ul>
<li><font face="Calibri">Demand Publishing</font></li>
<ul>
<li><font face="Calibri">The "just tell me what movie you want
to see" approach</font></li>
<li><font face="Calibri">Let clients request the metric ids it
wants published to the bus</font></li>
</ul>
</ul>
<p><font face="Calibri">I'm purposefully not going into much detail
at this point. I'd rather we talk out a preferred approach
between these two, or something not presented. But we'd like to
move away from the current publish-it-all approach.</font><br>
</p>
<font face="Calibri">[1]
<a class="moz-txt-link-freetext" href="https://issues.jboss.org/browse/HWKALERTS-118">https://issues.jboss.org/browse/HWKALERTS-118</a>.</font>
</body>
</html>