pt.digitalis.dif.utils.monitor
Class MonitorUtil
java.lang.Object
pt.digitalis.dif.utils.monitor.MonitorUtil
public class MonitorUtil
- extends Object
Serves as an abstraction to the monitoring agent in use. Presently New Relic.
All these calls will only be triggers when in developer or testing mode (DIFStartupConfiguration
). *
- Author:
- Pedro Viegas pviegas@digitalis.pt
- See Also:
- "http://http://newrelic.com/"
- Created on:
- 17 de Ago de 2012
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonitorUtil
public MonitorUtil()
addParameter
public static void addParameter(String key,
String value)
- Adds a parameter to the current process for the monitoring agent
- Parameters:
key
- the parameter key namevalue
- the parameter value
getBrowserTimingFooter
public static String getBrowserTimingFooter()
- Returns:
- the JavaScript contribution for the page footer
getBrowserTimingHeader
public static String getBrowserTimingHeader()
- Returns:
- the JavaScript contribution for the page header
Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.