<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" >Hi Roland</div>
<div dir="ltr" > </div>
<div dir="ltr" >I am not sure whether you received my last email because I got a delivery failure notification. I am sending this again to ensure that you can see this email.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Best,</div>
<div dir="ltr" >Anqi</div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" data-history-expanded="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: An Qi YL Lu/China/IBM<br>To: roland.hochmuth@hpe.com<br>Cc: openstack-dev@lists.openstack.org<br>Subject: Re: [monasca] Ideas to work on<br>Date: Fri, Feb 10, 2017 5:14 PM<br> 
<div dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" >Hi Roland</div>
<div dir="ltr" > </div>
<div dir="ltr" >Thanks for your suggestions. The list you made is useful, helping me get clues in areas that I can work on. I spent some time doing investigation in the bps that you introduced.</div>
<div dir="ltr" > </div>
<div dir="ltr" >I am most interested in data retention and metrics deleting.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Data retention: I had a quick look into the data retention policy of influxDB. It apparently support different retention policy for different series. To my understanding, the whiteboard in this bp has a straightforward design for this feature. I didn't quite get what is the complex point. Could you please shed some light so I can learn where the complicated part is?</div>
<div dir="ltr" > </div>
<div dir="ltr" >Metrics deleting: In influxDB 1.1 (or any version after 0.9), it supports deleting series, though you cannot specify time interval for this operation. It simply deletes all points from a series in a database. I think one of the tricky parts is to decide the data dependent on a metric to be deleted, such as measurements, alarms. Please point it out if my understanding is not precise.</div>
<div dir="ltr" > </div>
<div dir="ltr" >I would like to look at logs publishing as well. But unfortunately I did not find the monasca-log-api doc, which is supposed to be at <a href="https://github.com/openstack/monasca-log-api/tree/master/docs" target="_blank" >https://github.com/openstack/monasca-log-api/tree/master/docs</a> . I don't know how this log-api works now. Please share me a copy of the doc if you have one.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Best,</div>
<div dir="ltr" >Anqi</div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: "Hochmuth, Roland M" <roland.hochmuth@hpe.com><br>To: OpenStack List <openstack-dev@lists.openstack.org>, An Qi YL Lu/China/IBM@IBMCN<br>Cc:<br>Subject: [monasca] Ideas to work on<br>Date: Fri, Feb 10, 2017 11:13 AM<br> <br><!--Notes ACF
<meta http-equiv="Content-Type" content="text/html; charset=utf8" >-->
<div><div><div>Hi Anqi, You had expressed a strong interest in working on Monasca the other day in our Weekly Monasca Team Meeting. I owed you a response. The team had also asked me to also keep them in the loop. Here is a list that I feel is interesting, that is not trivial or extremely complex (just right hopefully), and doesn't overlap with some of the areas that other developers are working on, and consequently difficult to coordinate in a limited time.</div>
<div><ol>        <li>RBAC: Currently, the Python API doesn't fully support Role Based Access Controls (RBAC) in the API. We've had discussions on this topic, but oddly, there isn't a blueprint written for this. But, this would be very useful to implement in the APIs similar to what other OpenStack projects support.</li>        <li>Data retention: <a href="https://blueprints.launchpad.net/monasca/+spec/per-project-data-retention" target="_blank" >https://blueprints.launchpad.net/monasca/+spec/per-project-data-retention</a>. We haven't completely reviewed and or approved this blueprint, but it would be very useful to add support for per-project, or per-metric data retention. This would involve understanding how data retention works in InfluxDB. We would also want to have some design discussion prior to proceeding, as it is probably more complex than described in the bp.</li>        <li>Publish logs and/or metrics to topics selectively. <a href="https://blueprints.launchpad.net/monasca/+spec/publish-logs-to-topic-selectively" target="_blank" >https://blueprints.launchpad.net/monasca/+spec/publish-logs-to-topic-selectively</a>. In the context of metrics, this would be useful to identifying specific metrics as metering as opposed to monitoring metrics and allow them to be published to different Kafka topics as a result. The way this would be used is that the downstream Monasca Transform Engine would only get metrics sent to it that will be transformed and therefore doesn't need to filter them, which would help improve performance dramatically. For logging, it would help identity operational logs from audit logs. It could also be used to identity high priority metrics such that they could be published to a high-priority metrics topic in Kafka. There are several more contexts in which this is useful.</li>        <li>Delete metrics: <a href="https://blueprints.launchpad.net/monasca/+spec/delete-metrics" target="_blank" >https://blueprints.launchpad.net/monasca/+spec/delete-metrics</a>. Basically adding the ability to delete metrics using the Monasca API. Typically, time series databases are not very good at deletes. We haven't tried to do this with InfluxDB, and while this might seem an easy task, it is a lot more involved than issuing the obvious and straight-forward DELETE command.</li></ol>
<div>I hope this helps. Let me know if you want to discuss further or want more ideas.</div></div>
<div> </div>
<div>Regards --Roland</div>
<div><div id="MAC_OUTLOOK_SIGNATURE" > </div></div></div></div></blockquote>
<div dir="ltr" > </div></div></blockquote>
<div dir="ltr" > </div></div><BR>