@Tags(value={"ganglia","stats"}) @CapabilityDescription(value="Reports metrics to Ganglia so that Ganglia can be used for external monitoring of the application. Metrics reported include JVM Metrics (optional); the following 5-minute NiFi statistics: FlowFiles Received, Bytes Received, FlowFiles Sent, Bytes Sent, Bytes Read, Bytes Written, Total Task Duration; and the current values for FlowFiles Queued, Bytes Queued, and number of Active Threads.") public class StandardGangliaReporter extends AbstractReportingTask
| Modifier and Type | Field and Description |
|---|---|
static PropertyDescriptor |
HOSTNAME |
static java.lang.String |
METRICS_GROUP |
static PropertyDescriptor |
PORT |
static PropertyDescriptor |
SEND_JVM_METRICS |
| Constructor and Description |
|---|
StandardGangliaReporter() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<PropertyDescriptor> |
getSupportedPropertyDescriptors()
Allows subclasses to register which property descriptor objects are
supported.
|
void |
onConfigure(ConfigurationContext config) |
void |
onTrigger(ReportingContext context)
This method is called on a scheduled interval to allow the Reporting Task
to perform its tasks.
|
getControllerServiceLookup, getIdentifier, getLogger, getName, getSchedulingPeriod, init, initializecustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, toString, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validatepublic static final PropertyDescriptor HOSTNAME
public static final PropertyDescriptor PORT
public static final PropertyDescriptor SEND_JVM_METRICS
public static final java.lang.String METRICS_GROUP
protected java.util.List<PropertyDescriptor> getSupportedPropertyDescriptors()
AbstractConfigurableComponentgetSupportedPropertyDescriptors in class AbstractConfigurableComponent@OnScheduled public void onConfigure(ConfigurationContext config) throws InitializationException
InitializationExceptionpublic void onTrigger(ReportingContext context)
ReportingTaskcontext - reporting context