Interface RowIngestionMeters
- All Superinterfaces:
InputStats
- All Known Implementing Classes:
NoopRowIngestionMeters,SimpleRowIngestionMeters
A collection of meters for row ingestion stats, with support for moving average calculations.
This can eventually replace SegmentGenerationMetrics, but moving averages for other stats collected by
SegmentGenerationMetrics are not currently supported, so we continue to use SegmentGenerationMetrics alongside
RowIngestionMeters to avoid unnecessary overhead from maintaining these moving averages.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionlongdefault longlonglonglongvoiddefault voidincrementProcessedBytes(long incrementByValue) voidvoidvoid
-
Field Details
-
BUILD_SEGMENTS
- See Also:
-
DETERMINE_PARTITIONS
- See Also:
-
PROCESSED
- See Also:
-
PROCESSED_WITH_ERROR
- See Also:
-
UNPARSEABLE
- See Also:
-
THROWN_AWAY
- See Also:
-
PROCESSED_BYTES
Number of bytes read by an ingestion task. Note: processedBytes is a misleading name; this generally measures size when data is initially read or fetched, not when it is processed by the ingest task. It's measuring a stage somewhat earlier in the pipeline. In other words, "processed" and "processedBytes" do not use the same definition of "process". A better name might be "bytesRead" or "inputBytes", although if we change it, we must consider compatibility with existing readers.- See Also:
-
-
Method Details
-
getProcessed
long getProcessed() -
incrementProcessed
void incrementProcessed() -
incrementProcessedBytes
default void incrementProcessedBytes(long incrementByValue) - Specified by:
incrementProcessedBytesin interfaceInputStats
-
getProcessedBytes
default long getProcessedBytes()- Specified by:
getProcessedBytesin interfaceInputStats
-
getProcessedWithError
long getProcessedWithError() -
incrementProcessedWithError
void incrementProcessedWithError() -
getUnparseable
long getUnparseable() -
incrementUnparseable
void incrementUnparseable() -
getThrownAway
long getThrownAway() -
incrementThrownAway
void incrementThrownAway() -
getTotals
RowIngestionMetersTotals getTotals() -
getMovingAverages
-