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 JmxReporter.Builder |
JmxReporter.forRegistry(MetricRegistry registry)
Returns a new
JmxReporter.Builder for JmxReporter . |
static Slf4jReporter.Builder |
Slf4jReporter.forRegistry(MetricRegistry registry)
Returns a new
Slf4jReporter.Builder for Slf4jReporter . |
static CsvReporter.Builder |
CsvReporter.forRegistry(MetricRegistry registry)
Returns a new
CsvReporter.Builder for CsvReporter . |
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:
Ehcache timered metrics
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 |
---|
InstrumentedNClientConnManager(org.apache.http.nio.reactor.ConnectingIOReactor ioreactor,
org.apache.http.nio.conn.NHttpConnectionFactory<org.apache.http.nio.conn.ManagedNHttpClientConnection> connFactory,
org.apache.http.conn.SchemePortResolver schemePortResolver,
MetricRegistry metricRegistry,
org.apache.http.config.Registry<org.apache.http.nio.conn.SchemeIOSessionStrategy> iosessionFactoryRegistry,
long timeToLive,
TimeUnit tunit,
org.apache.http.conn.DnsResolver dnsResolver,
String name) |
InstrumentedNHttpClientBuilder(MetricRegistry metricRegistry) |
InstrumentedNHttpClientBuilder(MetricRegistry metricRegistry,
HttpClientMetricNameStrategy metricNameStrategy) |
InstrumentedNHttpClientBuilder(MetricRegistry metricRegistry,
HttpClientMetricNameStrategy metricNameStrategy,
String name) |
InstrumentedNHttpClientBuilder(MetricRegistry metricRegistry,
String name) |
Modifier and Type | Method and Description |
---|---|
static org.apache.http.impl.client.CloseableHttpClient |
InstrumentedHttpClients.createDefault(MetricRegistry metricRegistry) |
static org.apache.http.impl.client.CloseableHttpClient |
InstrumentedHttpClients.createDefault(MetricRegistry metricRegistry,
HttpClientMetricNameStrategy metricNameStrategy) |
static org.apache.http.impl.client.HttpClientBuilder |
InstrumentedHttpClients.custom(MetricRegistry metricRegistry) |
static org.apache.http.impl.client.HttpClientBuilder |
InstrumentedHttpClients.custom(MetricRegistry metricRegistry,
HttpClientMetricNameStrategy metricNameStrategy) |
Constructor and Description |
---|
InstrumentedHttpClientConnectionManager(MetricRegistry metricRegistry) |
InstrumentedHttpClientConnectionManager(MetricRegistry metricsRegistry,
org.apache.http.config.Registry<org.apache.http.conn.socket.ConnectionSocketFactory> socketFactoryRegistry) |
InstrumentedHttpClientConnectionManager(MetricRegistry metricsRegistry,
org.apache.http.config.Registry<org.apache.http.conn.socket.ConnectionSocketFactory> socketFactoryRegistry,
org.apache.http.conn.HttpConnectionFactory<org.apache.http.conn.routing.HttpRoute,org.apache.http.conn.ManagedHttpClientConnection> connFactory,
org.apache.http.conn.SchemePortResolver schemePortResolver,
org.apache.http.conn.DnsResolver dnsResolver,
long connTTL,
TimeUnit connTTLTimeUnit,
String name) |
InstrumentedHttpClientConnectionManager(MetricRegistry metricsRegistry,
org.apache.http.config.Registry<org.apache.http.conn.socket.ConnectionSocketFactory> socketFactoryRegistry,
long connTTL,
TimeUnit connTTLTimeUnit) |
InstrumentedHttpRequestExecutor(MetricRegistry registry,
HttpClientMetricNameStrategy metricNameStrategy) |
InstrumentedHttpRequestExecutor(MetricRegistry registry,
HttpClientMetricNameStrategy metricNameStrategy,
String name) |
InstrumentedHttpRequestExecutor(MetricRegistry registry,
HttpClientMetricNameStrategy metricNameStrategy,
String name,
int waitForContinue) |
Constructor and Description |
---|
InstrumentedTimingCollector(MetricRegistry registry) |
InstrumentedTimingCollector(MetricRegistry registry,
StatementNameStrategy statementNameStrategy) |
Constructor and Description |
---|
InstrumentedResourceMethodApplicationListener(MetricRegistry metrics)
Construct an application event listener using the given metrics registry.
|
MetricsFeature(MetricRegistry 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.
|
InstrumentedAppender(MetricRegistry registry,
org.apache.logging.log4j.core.Filter filter,
org.apache.logging.log4j.core.Layout<? extends Serializable> layout,
boolean ignoreExceptions)
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() |
Modifier and Type | Method and Description |
---|---|
protected abstract MetricRegistry |
AdminServletContextListener.getMetricRegistry()
Deprecated.
|
protected abstract MetricRegistry |
MetricsServlet.ContextListener.getMetricRegistry() |
Constructor and Description |
---|
MetricsServlet(MetricRegistry registry) |
Copyright © 2023. All rights reserved.