Skip to content

Commit

Permalink
Collect normalized CPU percentages by default (#15729)
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 committed Jan 22, 2020
1 parent 6e2ca41 commit e042d5c
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 @@ -94,6 +94,7 @@ TLS or Beats that accept connections over TLS and validate client certificates.
- Release elb module as GA. {pull}15485[15485]
- Add a `system/network_summary` metricset {pull}15196[15196]
- Add mesh metricset for Istio Metricbeat module{pull}15535[15535]
- 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 e042d5c

Please sign in to comment.