Package | Description |
---|---|
org.apache.hadoop.ipc.metrics | |
org.apache.hadoop.metrics |
This package defines an API for reporting performance metric information.
|
org.apache.hadoop.metrics.file |
Implementation of the metrics package that writes the metrics to a file.
|
org.apache.hadoop.metrics.ganglia |
Implementation of the metrics package that sends metric data to
Ganglia.
|
org.apache.hadoop.metrics.jvm | |
org.apache.hadoop.metrics.spi |
The Service Provider Interface for the Metrics API.
|
Modifier and Type | Method and Description |
---|---|
void |
RpcMetrics.doUpdates(MetricsContext context)
Push the metrics to the monitoring subsystem on doUpdate() call.
|
Modifier and Type | Method and Description |
---|---|
static MetricsContext |
MetricsUtil.getContext(String contextName) |
MetricsContext |
ContextFactory.getContext(String contextName) |
static MetricsContext |
MetricsUtil.getContext(String refName,
String contextName)
Utility method to return the named context.
|
MetricsContext |
ContextFactory.getContext(String refName,
String contextName)
Returns the named MetricsContext instance, constructing it if necessary
using the factory's current configuration attributes.
|
static MetricsContext |
ContextFactory.getNullContext(String contextName)
Returns a "null" context - one which does nothing.
|
Modifier and Type | Method and Description |
---|---|
static MetricsRecord |
MetricsUtil.createRecord(MetricsContext context,
String recordName)
Utility method to create and return new metrics record instance within the
given context.
|
void |
Updater.doUpdates(MetricsContext context)
Timer-based call-back from the metric library.
|
Modifier and Type | Class and Description |
---|---|
class |
FileContext
Metrics context for writing metrics to a file.
This class is configured by setting ContextFactory attributes which in turn
are usually configured through a properties file.
|
Modifier and Type | Class and Description |
---|---|
class |
GangliaContext
Context for sending metrics to Ganglia.
|
class |
GangliaContext31
Context for sending metrics to Ganglia version 3.1.x.
|
Modifier and Type | Method and Description |
---|---|
void |
JvmMetrics.doUpdates(MetricsContext context)
This will be called periodically (with the period being configuration
dependent).
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMetricsContext
The main class of the Service Provider Interface.
|
class |
CompositeContext |
class |
NullContext
Null metrics context: a metrics context which does nothing.
|
class |
NullContextWithUpdateThread
A null context which has a thread calling
periodically when monitoring is started.
|
Copyright © 2010 The Apache Software Foundation