Constructor and Description |
---|
MetricsServlet(java.util.Properties property,
com.codahale.metrics.MetricRegistry registry,
SecurityManager securityMgr) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.jetty.servlet.ServletContextHandler[] |
getHandlers() |
String |
getMetricsSnapshot(javax.servlet.http.HttpServletRequest request) |
com.fasterxml.jackson.databind.ObjectMapper |
mapper() |
java.util.Properties |
property() |
com.codahale.metrics.MetricRegistry |
registry() |
void |
report() |
boolean |
SERVLET_DEFAULT_SAMPLE() |
String |
SERVLET_KEY_PATH() |
String |
SERVLET_KEY_SAMPLE() |
String |
servletPath() |
boolean |
servletShowSample() |
void |
start() |
void |
stop() |
public MetricsServlet(java.util.Properties property, com.codahale.metrics.MetricRegistry registry, SecurityManager securityMgr)
public java.util.Properties property()
public com.codahale.metrics.MetricRegistry registry()
public String SERVLET_KEY_PATH()
public String SERVLET_KEY_SAMPLE()
public boolean SERVLET_DEFAULT_SAMPLE()
public String servletPath()
public boolean servletShowSample()
public com.fasterxml.jackson.databind.ObjectMapper mapper()
public org.eclipse.jetty.servlet.ServletContextHandler[] getHandlers()
public String getMetricsSnapshot(javax.servlet.http.HttpServletRequest request)