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 Gauge
Gauge for source backlog in bytes.static Gauge
backlogBytesOfSplit
(String splitId) Gauge for source split backlog in bytes.static Gauge
Gauge for source backlog in elements.static Gauge
backlogElementsOfSplit
(String splitId) Gauge for source split backlog in elements.static Counter
Counter of bytes read by a source.static Counter
bytesReadBySplit
(String splitId) Counter of bytes read by a source split.static Counter
Counter of elements read by a source.static Counter
elementsReadBySplit
(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.
-