<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 2015年02月10日 05:12, gordon chung
wrote:<br>
</div>
<blockquote cite="mid:BAY168-W60DFDF058D7124509DE865DE270@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">
<div>
<pre>> In nova api, a nova api.fault notification will be send out when the when there
> is en error.
> <a moz-do-not-send="true" href="http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/__init__.py#n119" target="_blank">http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/__init__.py#n119</a>
> but i couldn't find where they are processed in ceilometer,
> an error notification can be very desired to be collected, do we have plan to
> add this, shall i need a bp to do that ?</pre>
</div>
there's a patch for review to store error info: <a
moz-do-not-send="true"
href="https://review.openstack.org/#/c/153362/"
target="_blank">https://review.openstack.org/#/c/153362/</a>
<div><br>
<font face="Calibri">cheers,<br>
<i>gord</i></font></div>
</div>
</blockquote>
Yep, that's what i'm looking for, thanks, <br>
another notification from nova that is missed in ceilometer is info
from nova api:<br>
<a class="moz-txt-link-freetext" href="https://github.com/openstack/nova/blob/master/nova/notifications.py#L64">https://github.com/openstack/nova/blob/master/nova/notifications.py#L64</a><br>
this notify_decorator will decorate every nova/ec2 rest api and send
out a notification for each api actions:<br>
<a class="moz-txt-link-freetext" href="https://github.com/openstack/nova/blob/master/nova/utils.py#L526">https://github.com/openstack/nova/blob/master/nova/utils.py#L526</a><br>
from which will send out notification like: <span class="pl-s1"><span
class="pl-pds">"</span><span class="pl-c1">%s</span>.<span
class="pl-c1">%s</span>.<span class="pl-c1">%s</span><span
class="pl-pds">"</span></span> <span class="pl-k">%</span>
(module, key, method) ,<br>
and no notification plugin in ceilometer to deal with them.<br>
Let me know if i should file a bug for this.<br>
Thanks,<br>
<br>
-yuntong<br>
<br>
<br>
</body>
</html>