public class SourceMetrics
extends java.lang.Object
Source Metrics.| Constructor and Description | 
|---|
SourceMetrics()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Gauge | 
backlogBytes()
Gauge for source backlog in bytes. 
 | 
static Gauge | 
backlogBytesOfSplit(java.lang.String splitId)
Gauge for source split backlog in bytes. 
 | 
static Gauge | 
backlogElements()
Gauge for source backlog in elements. 
 | 
static Gauge | 
backlogElementsOfSplit(java.lang.String splitId)
Gauge for source split backlog in elements. 
 | 
static Counter | 
bytesRead()
Counter of bytes read by a source. 
 | 
static Counter | 
bytesReadBySplit(java.lang.String splitId)
Counter of bytes read by a source split. 
 | 
static Counter | 
elementsRead()
Counter of elements read by a source. 
 | 
static Counter | 
elementsReadBySplit(java.lang.String splitId)
Counter of elements read by a source split. 
 | 
public static Counter elementsRead()
public static Counter elementsReadBySplit(java.lang.String splitId)
Should only be used when there is a small, fixed set of split IDs so as not to overload metrics backends.
public static Counter bytesRead()
public static Counter bytesReadBySplit(java.lang.String splitId)
Should only be used when there is a small, fixed set of split IDs so as not to overload metrics backends.
public static Gauge backlogBytes()
public static Gauge backlogBytesOfSplit(java.lang.String splitId)
Should only be used when there is a small, fixed set of split IDs so as not to overload metrics backends.
public static Gauge backlogElements()
public static Gauge backlogElementsOfSplit(java.lang.String splitId)
Should only be used when there is a small, fixed set of split IDs so as not to overload metrics backends.