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 <zhu...@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 <shrin...@maginatics.com>]Shrinand
> Javadekar ---2014-06-11 下午 01:22:06---Shrinand Javadekar <
> shrin...@maginatics.com>
>
>
>    *Shrinand Javadekar <shrin...@maginatics.com
>    <shrin...@maginatics.com>>*
>
>    2014-06-11 下午 01:15
>
>
> To
>
>
>    "openstack@lists.openstack.org" <openstack@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@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