Package

org.apache.gearpump.streaming

metrics

Permalink

package metrics

Visibility
  1. Public
  2. All

Type Members

  1. class ProcessorAggregator extends MetricsAggregator

    Permalink

    Does aggregation on metrics after grouping by these three attributes:

    Does aggregation on metrics after grouping by these three attributes:

    1. processorId 2. time section(represented as a index integer) 3. metricName(like sendThroughput)

    It assumes that for each org.apache.gearpump.cluster.MasterToClient.HistoryMetricsItem, the name follow the format app(appId).processor(processorId).task(taskId).(metricName)

    It parses the name to get processorId and metricName. If the parsing fails, then current org.apache.gearpump.cluster.MasterToClient.HistoryMetricsItem will be skipped.

    NOTE: this class is optimized for performance.

  2. class TaskFilterAggregator extends MetricsAggregator

    Permalink

    Filters the latest metrics data by specifying a processor Id range, and taskId range.

Value Members

  1. object ProcessorAggregator

    Permalink
  2. object TaskFilterAggregator

    Permalink

Ungrouped