Modifier and Type | Method and Description |
---|---|
static MetricRegistry |
SharedMetricRegistries.add(String name,
MetricRegistry registry) |
static MetricRegistry |
SharedMetricRegistries.getOrCreate(String name) |
Modifier and Type | Method and Description |
---|---|
static MetricRegistry |
SharedMetricRegistries.add(String name,
MetricRegistry registry) |
static ConsoleReporter.Builder |
ConsoleReporter.forRegistry(MetricRegistry registry)
Returns a new
ConsoleReporter.Builder for ConsoleReporter . |
static Slf4jReporter.Builder |
Slf4jReporter.forRegistry(MetricRegistry registry)
Returns a new
Slf4jReporter.Builder for Slf4jReporter . |
static JmxReporter.Builder |
JmxReporter.forRegistry(MetricRegistry registry)
Returns a new
JmxReporter.Builder for JmxReporter . |
static CsvReporter.Builder |
CsvReporter.forRegistry(MetricRegistry registry)
Returns a new
CsvReporter.Builder for CsvReporter . |
Constructor and Description |
---|
ScheduledReporter(MetricRegistry registry,
String name,
MetricFilter filter,
TimeUnit rateUnit,
TimeUnit durationUnit)
Creates a new
ScheduledReporter instance. |
Modifier and Type | Method and Description |
---|---|
static net.sf.ehcache.Ehcache |
InstrumentedEhcache.instrument(MetricRegistry registry,
net.sf.ehcache.Ehcache cache)
Instruments the given
Ehcache instance with get and put timers
and a set of gauges for Ehcache's built-in statistics:
hits
The number of times a requested item was found in the
cache.
in-memory-hits
Number of times a requested item was found in the memory
store.
off-heap-hits
Number of times a requested item was found in the off-heap
store.
on-disk-hits
Number of times a requested item was found in the disk
store.
misses
Number of times a requested item was not found in the
cache.
in-memory-misses
Number of times a requested item was not found in the memory
store.
off-heap-misses
Number of times a requested item was not found in the
off-heap store.
on-disk-misses
Number of times a requested item was not found in the disk
store.
objects
Number of elements stored in the cache.
in-memory-objects
Number of objects in the memory store.
off-heap-objects
Number of objects in the off-heap store.
on-disk-objects
Number of objects in the disk store.
mean-get-time
The average get time. |
Modifier and Type | Method and Description |
---|---|
static GangliaReporter.Builder |
GangliaReporter.forRegistry(MetricRegistry registry)
Returns a new
GangliaReporter.Builder for GangliaReporter . |
Modifier and Type | Method and Description |
---|---|
static GraphiteReporter.Builder |
GraphiteReporter.forRegistry(MetricRegistry registry)
Returns a new
GraphiteReporter.Builder for GraphiteReporter . |
Constructor and Description |
---|
InstrumentedClientConnManager(MetricRegistry metricRegistry) |
InstrumentedClientConnManager(MetricRegistry metricsRegistry,
org.apache.http.conn.scheme.SchemeRegistry registry) |
InstrumentedClientConnManager(MetricRegistry metricsRegistry,
org.apache.http.conn.scheme.SchemeRegistry registry,
long connTTL,
TimeUnit connTTLTimeUnit) |
InstrumentedClientConnManager(MetricRegistry metricsRegistry,
org.apache.http.conn.scheme.SchemeRegistry schemeRegistry,
long connTTL,
TimeUnit connTTLTimeUnit,
org.apache.http.conn.DnsResolver dnsResolver,
String name) |
InstrumentedHttpClient(MetricRegistry registry) |
InstrumentedHttpClient(MetricRegistry registry,
org.apache.http.conn.ClientConnectionManager manager,
org.apache.http.params.HttpParams params,
String name,
HttpClientMetricNameStrategy metricNameStrategy) |
InstrumentedHttpClient(MetricRegistry registry,
HttpClientMetricNameStrategy metricNameStrategy) |
InstrumentedHttpClient(MetricRegistry registry,
org.apache.http.params.HttpParams params) |
InstrumentedHttpClient(MetricRegistry registry,
InstrumentedClientConnManager manager,
org.apache.http.params.HttpParams params,
String name) |
InstrumentedHttpClient(MetricRegistry registry,
String name,
HttpClientMetricNameStrategy metricNameStrategy) |
InstrumentedRequestDirector(MetricRegistry registry,
String name,
HttpClientMetricNameStrategy metricNameStrategy,
org.apache.commons.logging.Log log,
org.apache.http.protocol.HttpRequestExecutor requestExec,
org.apache.http.conn.ClientConnectionManager conman,
org.apache.http.ConnectionReuseStrategy reustrat,
org.apache.http.conn.ConnectionKeepAliveStrategy kastrat,
org.apache.http.conn.routing.HttpRoutePlanner rouplan,
org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.client.HttpRequestRetryHandler retryHandler,
org.apache.http.client.RedirectStrategy redirectStrategy,
org.apache.http.client.AuthenticationStrategy targetAuthStrategy,
org.apache.http.client.AuthenticationStrategy proxyAuthStrategy,
org.apache.http.client.UserTokenHandler userTokenHandler,
org.apache.http.params.HttpParams params) |
Constructor and Description |
---|
InstrumentedTimingCollector(MetricRegistry registry) |
InstrumentedTimingCollector(MetricRegistry registry,
StatementNameStrategy statementNameStrategy) |
Constructor and Description |
---|
InstrumentedResourceMethodDispatchAdapter(MetricRegistry registry)
Construct a resource method dispatch adapter using the given metrics registry.
|
Constructor and Description |
---|
InstrumentedAppender(MetricRegistry registry)
Create a new instrumented appender using the given registry.
|
Constructor and Description |
---|
InstrumentedAppender(MetricRegistry registry)
Create a new instrumented appender using the given registry.
|
Modifier and Type | Method and Description |
---|---|
protected abstract MetricRegistry |
InstrumentedFilterContextListener.getMetricRegistry()
Returns the
MetricRegistry to inject into the servlet context. |
Modifier and Type | Method and Description |
---|---|
protected abstract MetricRegistry |
MetricsServlet.ContextListener.getMetricRegistry()
Returns the
MetricRegistry to inject into the servlet context. |
protected abstract MetricRegistry |
AdminServletContextListener.getMetricRegistry()
Deprecated.
Returns the
MetricRegistry to inject into the servlet context. |
Constructor and Description |
---|
MetricsServlet(MetricRegistry registry) |
Copyright © 2015. All rights reserved.