Re: [controller-dev] How to get the number of requests being processed in a controller?


Luis Gomez
 

Actually cc-ing OF plugin and Integration because this is of their interest as well.

Is there any stats/counters available in the controller other than the OF switch stats/counters?

I am thinking for example:

- REST packets sent/received by controller, if possible separated by type like GET, POST, etc...
- Error counters like REST requests not being processed for any reason
- OF packets sent/received by controller, if possible separated by message type like PACKET_IN
- Error counters like OF packets not being processed for any reason
- Total number of flows maintained in the controller
- Performance monitoring like CPU, RAM usage, etc...

Thanks/Luis


On 4/9/2014 4:07 AM, Thomas Nadeau wrote:


These sorts of stats/counters should probably be revealed in the GUI as well as via a RestConf set.

--Tom


I think there are counters that track the number of PACKET_IN messages that are received, but I'm not sure if we track how to tell if they've been processed. You can use cbench to test the raw performance if you're interested and I think that Luis Gomez (at Brocade) is working to lead a group that is measuring performance if that's what you're looking for.

Otherwise, I can look into the code to figure out if we expose any of the counters that you might be interested in.

--Colin


On Tue, Apr 8, 2014 at 11:11 AM, 詹益晨 <yicchan90@...> wrote:
Hi Colin,
The request means the packet-in from the openflow switches under the controller, or these switches ask controller to tell them how to send the packets.

Do you know how to do?

Thanks
James


2014-04-09 0:01 GMT+08:00 Colin Dixon <colin@...>:

Can you tell me what you would mean by "request". I'm not sure we're tracking global servicing of REST requests or packet_in messages, but it might be something interesting for us to track.

--Colin


On Tue, Apr 8, 2014 at 10:50 AM, 詹益晨 <yicchan90@...> wrote:
Hello everyone,
Recently I want to use some information of the controller, but I don't know how to get.
I want to get the number of requests are being processed in a controller, but I cannot find any RESTful API in official website..
If you know how to do it, can you teach me?

Thank you
James

_______________________________________________
controller-dev mailing list
controller-dev@...
https://lists.opendaylight.org/mailman/listinfo/controller-dev




_______________________________________________
controller-dev mailing list
controller-dev@...
https://lists.opendaylight.org/mailman/listinfo/controller-dev



_______________________________________________
controller-dev mailing list
controller-dev@...
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Join integration-dev@lists.opendaylight.org to automatically receive all group messages.