Metricssystem - aajisaka/hadoop-metrics GitHub Wiki

  • NumActiveSources
    • Current number of active metrics sources (NOT include MetricsSystem)
  • NumAllSources
    • Total number of metrics sources (NOT include MetricsSystem)
  • NumActiveSinks
    • Current number of active sinks
  • NumAllSinks
    • Total number of sinks (BUT always set to 0)
  • Sink_(instance)NumOps (*)
    • Total number of sink operations for the instance
  • Sink_(instance)AvgTime (*)
    • Average time in milliseconds of sink operations for the instance
  • Sink_(instance)Dropped (*)
    • Total number of dropped sink operations for the instance
  • Sink_(instance)Qsize (*)
    • Current queue length of sink operations (BUT always set to 0 because nothing to increment)
  • SnapshotNumOps
    • Total number of operations to snapshot stats from a metrics source (includes MetricsSystem)
  • SnapshotAvgTime
    • Average time in milliseconds to snapshot stats from a metrics source (includes MetricsSystem)
  • PublishNumOps
    • Total number of operations to publish stats to a sink
  • PublishAvgTime
    • Average time in milliseconds to publish stats to a sink
  • DroppedPubAll
    • Total number of dropped publishes

For more details, see org.apache.hadoop.metrics2.impl.MetricsSystemImpl.java and org.apache.hadoop.metrics2.impl.MetricsSyncAdapter.java.

(*) (instance) is the name as the [instance] of "[prefix].[source|sink].[instance].[option]" by hadoop-metrics2.properties.