vADC Docs

HowTo: Monitor the response time of slow services

by on ‎02-24-2013 06:44 AM - edited on ‎06-11-2015 12:24 PM by PaulWallace (2,119 Views)

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

 

Contributors