Export to GitHub

weed-fs - issue #31

feature request - status metrics for volume servers


Posted on Jul 13, 2013 by Massive Cat

I would like to have something like http://wiki.nginx.org/HttpStubStatusModule for collecting stats.

Comment #1

Posted on Jul 13, 2013 by Grumpy Cat

Need more info. What are the exact required metrics?

Now you can use http://localhost:8080/status?pretty=y to get a list of volume information.

We don't track concurrent requests etc, since those are handled by underneath http module.

Comment #2

Posted on Aug 30, 2013 by Grumpy Cat

(No comment was entered for this change.)

Comment #3

Posted on Apr 10, 2014 by Grumpy Cat

Comment deleted

Comment #4

Posted on Apr 10, 2014 by Grumpy Cat

There are some stats collection in place now.

In stats/stats.go file, here are related stats collected.

    Requests:       NewDurationCounter(),
    Connections:    NewDurationCounter(),
    AssignRequests: NewDurationCounter(),
    ReadRequests:   NewDurationCounter(),
    WriteRequests:  NewDurationCounter(),
    DeleteRequests: NewDurationCounter(),
    BytesIn:        NewDurationCounter(),
    BytesOut:       NewDurationCounter(),

Comment #5

Posted on Apr 14, 2015 by Grumpy Cat

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Enhancement Priority-Medium