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@maginat                                          To 
             ics.com>                  "openstack@lists.openstack.org"     
                                       <openstack@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@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

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

Reply via email to