Skip to content

Latest commit

 

History

History
87 lines (62 loc) · 1.73 KB

spark-metrics-Source.adoc

File metadata and controls

87 lines (62 loc) · 1.73 KB

Source — Contract of Metrics Sources

Source is a contract of metrics sources.

package org.apache.spark.metrics.source

trait Source {
  def sourceName: String
  def metricRegistry: MetricRegistry
}
Note
Source is a private[spark] contract.
Table 1. Source Contract
Method Description

sourceName

Used when…​FIXME

metricRegistry

Dropwizard Metrics' MetricRegistry

Used when…​FIXME

Table 2. Sources
Source Description

ApplicationSource

BlockManagerSource

CacheMetrics

CodegenMetrics

DAGSchedulerSource

ExecutorAllocationManagerSource

ExecutorSource

ExternalShuffleServiceSource

HiveCatalogMetrics

JvmSource

LiveListenerBusMetrics

MasterSource

MesosClusterSchedulerSource

ShuffleMetricsSource

StreamingSource

WorkerSource