Skip to content

Commit

Permalink
Collect normalized CPU percentages by default (#15729) (#15743)
Browse files Browse the repository at this point in the history
* Collect normalized CPU percentages by default

* Adding CHANGELOG entry

* Updating x-pack/metricbeat
  • Loading branch information
ycombinator authored Jan 27, 2020
1 parent f4f10ae commit eca1dc4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Add mixer metricset for Istio Metricbeat module {pull}15696[15696]
- Add mesh metricset for Istio Metricbeat module{pull}15535[15535]
- Add support for Unix socket in Memcached metricbeat module. {issue}13685[13685] {pull}15822[15822]
- Make the `system/cpu` metricset collect normalized CPU metrics by default. {issue}15618[15618] {pull}15729[15729]

*Packetbeat*

Expand Down
2 changes: 1 addition & 1 deletion metricbeat/docs/modules/system.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ metricbeat.modules:
processes: ['.*']
# Configure the metric types that are included by these metricsets.
cpu.metrics: ["percentages"] # The other available options are normalized_percentages and ticks.
cpu.metrics: ["percentages","normalized_percentages"] # The other available option is ticks.
core.metrics: ["percentages"] # The other available option is ticks.
# A list of filesystem types to ignore. The filesystem metricset will not
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/metricbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ metricbeat.modules:
processes: ['.*']

# Configure the metric types that are included by these metricsets.
cpu.metrics: ["percentages"] # The other available options are normalized_percentages and ticks.
cpu.metrics: ["percentages","normalized_percentages"] # The other available option is ticks.
core.metrics: ["percentages"] # The other available option is ticks.

# A list of filesystem types to ignore. The filesystem metricset will not
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 @@ -20,7 +20,7 @@
processes: ['.*']

# Configure the metric types that are included by these metricsets.
cpu.metrics: ["percentages"] # The other available options are normalized_percentages and ticks.
cpu.metrics: ["percentages","normalized_percentages"] # The other available option is ticks.
core.metrics: ["percentages"] # The other available option is ticks.

# A list of filesystem types to ignore. The filesystem metricset will not
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/system/cpu/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ func (c Config) Validate() error {
}

var defaultConfig = Config{
Metrics: []string{percentages},
Metrics: []string{percentages, normalizedPercentages},
}
2 changes: 1 addition & 1 deletion x-pack/metricbeat/metricbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ metricbeat.modules:
processes: ['.*']

# Configure the metric types that are included by these metricsets.
cpu.metrics: ["percentages"] # The other available options are normalized_percentages and ticks.
cpu.metrics: ["percentages","normalized_percentages"] # The other available option is ticks.
core.metrics: ["percentages"] # The other available option is ticks.

# A list of filesystem types to ignore. The filesystem metricset will not
Expand Down

0 comments on commit eca1dc4

Please sign in to comment.