Interface RowIngestionMeters

  • All Superinterfaces:
    InputStats
    All Known Implementing Classes:
    NoopRowIngestionMeters, SimpleRowIngestionMeters

    public interface RowIngestionMeters
    extends InputStats
    A collection of meters for row ingestion stats, with support for moving average calculations. This can eventually replace FireDepartmentMetrics, but moving averages for other stats collected by FireDepartmentMetrics are not currently supported, so we continue to use FireDepartmentMetrics alongside RowIngestionMeters to avoid unnecessary overhead from maintaining these moving averages.
    • Field Detail

      • PROCESSED_BYTES

        static final String 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:
        Constant Field Values
    • Method Detail

      • getProcessed

        long getProcessed()
      • incrementProcessed

        void incrementProcessed()
      • getProcessedWithError

        long getProcessedWithError()
      • incrementProcessedWithError

        void incrementProcessedWithError()
      • getUnparseable

        long getUnparseable()
      • incrementUnparseable

        void incrementUnparseable()
      • getThrownAway

        long getThrownAway()
      • incrementThrownAway

        void incrementThrownAway()