Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private[spark] object Status {
.createWithDefault(Int.MaxValue)

val APP_STATUS_METRICS_ENABLED =

@dongjoon-hyun dongjoon-hyun Dec 3, 2019

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we are consolidating this, shall we update APP_STATUS_METRICS_ENABLED -> METRICS_APP_STATUS_SOURCE_ENABLED together more consistently?

ConfigBuilder("spark.app.status.metrics.enabled")
ConfigBuilder("spark.metrics.appStatusSource.enabled")
Comment thread
dongjoon-hyun marked this conversation as resolved.
.doc("Whether Dropwizard/Codahale metrics " +
"will be reported for the status of the running spark app.")
.booleanConf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ package object config {
.createOptional

private[spark] val METRICS_STATIC_SOURCES_ENABLED =
ConfigBuilder("spark.metrics.static.sources.enabled")
ConfigBuilder("spark.metrics.staticSources.enabled")
.doc("Whether to register static sources with the metrics system.")
.booleanConf
.createWithDefault(true)
Expand Down
12 changes: 6 additions & 6 deletions docs/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ This is the component with the largest amount of instrumented metrics

- namespace=HiveExternalCatalog
- **note:**: these metrics are conditional to a configuration parameter:
`spark.metrics.static.sources.enabled` (default is true)
`spark.metrics.staticSources.enabled` (default is true)
- fileCacheHits.count
- filesDiscovered.count
- hiveClientCalls.count
Expand All @@ -933,7 +933,7 @@ This is the component with the largest amount of instrumented metrics

- namespace=CodeGenerator
- **note:**: these metrics are conditional to a configuration parameter:
`spark.metrics.static.sources.enabled` (default is true)
`spark.metrics.staticSources.enabled` (default is true)
- compilationTime (histogram)
- generatedClassSize (histogram)
- generatedMethodSize (histogram)
Expand Down Expand Up @@ -962,8 +962,8 @@ This is the component with the largest amount of instrumented metrics
- queue.executorManagement.listenerProcessingTime (timer)

- namespace=appStatus (all metrics of type=counter)
- **note:** Introduced in Spark 3.0. Conditional to configuration parameter:
`spark.app.status.metrics.enabled=true` (default is false)
- **note:** Introduced in Spark 3.0. Conditional to a configuration parameter:
`spark.metrics.appStatusSource.enabled` (default is false)
- stages.failedStages.count
- stages.skippedStages.count
- stages.completedStages.count
Expand Down Expand Up @@ -1057,7 +1057,7 @@ when running in local mode.

- namespace=HiveExternalCatalog
- **note:**: these metrics are conditional to a configuration parameter:
`spark.metrics.static.sources.enabled` (default is true)
`spark.metrics.staticSources.enabled` (default is true)
- fileCacheHits.count
- filesDiscovered.count
- hiveClientCalls.count
Expand All @@ -1066,7 +1066,7 @@ when running in local mode.

- namespace=CodeGenerator
- **note:**: these metrics are conditional to a configuration parameter:
`spark.metrics.static.sources.enabled` (default is true)
`spark.metrics.staticSources.enabled` (default is true)
- compilationTime (histogram)
- generatedClassSize (histogram)
- generatedMethodSize (histogram)
Expand Down