Showing results for 
Search instead for 
Did you mean: 

HowTo: Monitor the response time of slow services

A Service Level Monitoring class is a monitoring object that times how long it takes for Stingray and the back-end servers to respond to a request.


With a little TrafficScript logic, you can pick out individual requests that you wish to time. For example, a website may contain lots of static content (images, documents, web pages), and some dynamic applications which take longer to run.


The following TrafficScript rule will associate all requests for '/search.cgi' with an SLM class so that you can observe how long it takes to process those requests:


if( http.getPath() == "/search.cgi" ) {
   connection.setServiceLevelClass( "search timer" );


This assumes that you have configuired an SLM class called 'search timer'. You can then use the activity monitor in Stingray to graph the time it takes to process these requests, and the alerting system in Stingray can raise an email alert if the requests start to take too long.


Read more


Version history
Revision #:
1 of 1
Last update:
‎02-24-2013 06:44:AM
Updated by:
Labels (1)