Package org.apache.beam.sdk.metrics
Class SourceMetrics
java.lang.Object
org.apache.beam.sdk.metrics.SourceMetrics
Standard
Source Metrics.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GaugeGauge for source backlog in bytes.static GaugebacklogBytesOfSplit(String splitId) Gauge for source split backlog in bytes.static GaugeGauge for source backlog in elements.static GaugebacklogElementsOfSplit(String splitId) Gauge for source split backlog in elements.static CounterCounter of bytes read by a source.static CounterbytesReadBySplit(String splitId) Counter of bytes read by a source split.static CounterCounter of elements read by a source.static CounterelementsReadBySplit(String splitId) Counter of elements read by a source split.
-
Constructor Details
-
SourceMetrics
public SourceMetrics()
-
-
Method Details
-
elementsRead
Counter of elements read by a source. -
elementsReadBySplit
Counter of elements read by a source split.Should only be used when there is a small, fixed set of split IDs so as not to overload metrics backends.
-
bytesRead
Counter of bytes read by a source. -
bytesReadBySplit
Counter of bytes read by a source split.Should only be used when there is a small, fixed set of split IDs so as not to overload metrics backends.
-
backlogBytes
Gauge for source backlog in bytes. -
backlogBytesOfSplit
Gauge for source split backlog in bytes.Should only be used when there is a small, fixed set of split IDs so as not to overload metrics backends.
-
backlogElements
Gauge for source backlog in elements. -
backlogElementsOfSplit
Gauge for source split backlog in elements.Should only be used when there is a small, fixed set of split IDs so as not to overload metrics backends.
-