[Openstack] [Swift] Using timing_stats for profiling Swift requests

Hua ZZ Zhang zhuadl at cn.ibm.com
Wed Jun 11 07:31:14 UTC 2014


Hi Shrinand,

yes, it is using statsD tool to aggregate metrics for you. But you can't
get it for individual request.
I'm working on tracing tools that will enable you to get stats of each
request from existing logs.
I have submitted a patch on gerrit which is a prototype:
    https://review.openstack.org/#/c/93677/
I'm refactoring the code by reusing current logging framework to add in
this capability and keep it simple.
Will submit it later for review. For the documentation, here're the links
of blueprint and presentation FYI.
    https://blueprints.launchpad.net/swift/+spec/tracing-tool

http://www.slideshare.net/zhanghare/swift-distributed-tracing-method-and-tools-v2

Any feedback is welcomed!

-Edward Zhang



                                                                           
             Shrinand                                                      
             Javadekar                                                     
             <shrinand at maginat                                          To 
             ics.com>                  "openstack at lists.openstack.org"     
                                       <openstack at lists.openstack.org>     
             2014-06-11 下午                                            cc 
             01:15                                                         
                                                                   Subject 
                                       [Openstack] [Swift] Using           
                                       timing_stats for profiling Swift    
                                       requests                            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hi,

I am looking at the Swift codebase and stumbled upon something interesting.

Several functions in the swift code base have a "@timing_stats()"
annotation. Does this provide a way for profiling a swift cluster? Is
it possible to get stats for individual get/put requests in Swift? If
so, it'll be great if someone can point me to the documentation.

Thanks in advance.
-Shri

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140611/121a03ba/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140611/121a03ba/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic22602.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140611/121a03ba/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140611/121a03ba/attachment-0002.gif>


More information about the Openstack mailing list