Skip to content

Commit

Permalink
chore: disable performance counters (#42041) (#42092)
Browse files Browse the repository at this point in the history
Co-authored-by: Vihas Makwana <[email protected]>
  • Loading branch information
mergify[bot] and VihasMakwana authored Dec 18, 2024
1 parent 477e041 commit 47bdffd
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion metricbeat/docs/modules/system.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ metricbeat.modules:
# This option enables the use of performance counters to collect data for cpu/core metricset.
# Only effective for Windows.
# You should use this option if running beats on machins with more than 64 cores.
#use_performance_counters: true
#use_performance_counters: false
----

[float]
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/metricbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ metricbeat.modules:
# This option enables the use of performance counters to collect data for cpu/core metricset.
# Only effective for Windows.
# You should use this option if running beats on machins with more than 64 cores.
#use_performance_counters: true
#use_performance_counters: false

#------------------------------ Aerospike Module ------------------------------
- module: aerospike
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/system/_meta/config.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@
# This option enables the use of performance counters to collect data for cpu/core metricset.
# Only effective for Windows.
# You should use this option if running beats on machins with more than 64 cores.
#use_performance_counters: true
#use_performance_counters: false
2 changes: 1 addition & 1 deletion metricbeat/module/system/core/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ metricbeat.modules:
- module: system
metricsets: [core]
core.metrics: [percentages, ticks]
#use_performance_counters: true
#use_performance_counters: false
----
2 changes: 1 addition & 1 deletion metricbeat/module/system/core/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ func (c Config) Validate() (metrics.MetricOpts, error) {

var defaultConfig = Config{
Metrics: []string{percentages},
UserPerformanceCounters: true,
UserPerformanceCounters: false,
}
2 changes: 1 addition & 1 deletion metricbeat/module/system/cpu/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ metricbeat.modules:
- module: system
metricsets: [cpu]
cpu.metrics: [percentages, normalized_percentages, ticks]
#use_performance_counters: true
#use_performance_counters: false
----
2 changes: 1 addition & 1 deletion metricbeat/module/system/cpu/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ func (c Config) Validate() (metrics.MetricOpts, error) {

var defaultConfig = Config{
Metrics: []string{percentages, normalizedPercentages},
UserPerformanceCounters: true,
UserPerformanceCounters: false,
}
2 changes: 1 addition & 1 deletion x-pack/metricbeat/metricbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ metricbeat.modules:
# This option enables the use of performance counters to collect data for cpu/core metricset.
# Only effective for Windows.
# You should use this option if running beats on machins with more than 64 cores.
#use_performance_counters: true
#use_performance_counters: false

#------------------------------- ActiveMQ Module -------------------------------
- module: activemq
Expand Down

0 comments on commit 47bdffd

Please sign in to comment.