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

Shrinand Javadekar shrinand at maginatics.com
Wed Jun 11 17:04:15 UTC 2014


This looks neat! I'm all for providing mechanisms for tracking performance
of Swift and use this data to make Swift faster. Looking forward to having
this merged sooner.

Even if the current mechanism is not available per request, do you know how
to use it? What do I need to do to have the metrics being pushed to statsD?

Thanks in advance.
-Shri



On Wed, Jun 11, 2014 at 12:31 AM, Hua ZZ Zhang <zhuadl at cn.ibm.com> wrote:

> 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/*
> <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*
> <https://blueprints.launchpad.net/swift/+spec/tracing-tool>
> *
> http://www.slideshare.net/zhanghare/swift-distributed-tracing-method-and-tools-v2*
> <http://www.slideshare.net/zhanghare/swift-distributed-tracing-method-and-tools-v2>
>
> Any feedback is welcomed!
>
> -Edward Zhang
>
>
> [image: Inactive hide details for Shrinand Javadekar ---2014-06-11 下午
> 01:22:06---Shrinand Javadekar <shrinand at maginatics.com>]Shrinand
> Javadekar ---2014-06-11 下午 01:22:06---Shrinand Javadekar <
> shrinand at maginatics.com>
>
>
>    *Shrinand Javadekar <shrinand at maginatics.com
>    <shrinand at maginatics.com>>*
>
>    2014-06-11 下午 01:15
>
>
> To
>
>
>    "openstack at lists.openstack.org" <openstack at lists.openstack.org>
>
>
> cc
>
>
> 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/cfd375b5/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/cfd375b5/attachment.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/cfd375b5/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic28071.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140611/cfd375b5/attachment-0002.gif>


More information about the Openstack mailing list