Source

== [[Source]] Source -- Contract of Metrics Sources

Source is a <> of metrics sources.

[[contract]] [source, scala]


package org.apache.spark.metrics.source

trait Source { def sourceName: String def metricRegistry: MetricRegistry }


NOTE: Source is a private[spark] contract.

.Source Contract [cols="1,2",options="header",width="100%"] |=== | Method | Description

| sourceName | [[sourceName]] Used when...FIXME

| metricRegistry | [[metricRegistry]] Dropwizard Metrics' https://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/MetricRegistry.html[MetricRegistry]

Used when...FIXME |===

[[implementations]] .Sources [cols="1,2",options="header",width="100%"] |=== | Source | Description

| ApplicationSource | [[ApplicationSource]]

| storage:spark-BlockManager-BlockManagerSource.md[BlockManagerSource] | [[BlockManagerSource]]

| CacheMetrics | [[CacheMetrics]]

| CodegenMetrics | [[CodegenMetrics]]

| DAGSchedulerSource | [[DAGSchedulerSource]]

| ROOT:spark-service-ExecutorAllocationManagerSource.md[ExecutorAllocationManagerSource] | [[ExecutorAllocationManagerSource]]

| executor:ExecutorSource.md[] | [[ExecutorSource]]

| ExternalShuffleServiceSource | [[ExternalShuffleServiceSource]]

| HiveCatalogMetrics | [[HiveCatalogMetrics]]

| metrics:JvmSource.md[JvmSource] | [[JvmSource]]

| LiveListenerBusMetrics | [[LiveListenerBusMetrics]]

| MasterSource | [[MasterSource]]

| MesosClusterSchedulerSource | [[MesosClusterSchedulerSource]]

| storage:ShuffleMetricsSource.md[] | [[ShuffleMetricsSource]]

| StreamingSource | [[StreamingSource]]

| WorkerSource | [[WorkerSource]] |===


Last update: 2020-10-12