Skip to content

Commit

Permalink
Fix golang.heap.gc.cpu_fraction type to float (elastic#7789) (elastic…
Browse files Browse the repository at this point in the history
…#8095)

Field type was long instead of float.

Closes elastic#7785

(cherry picked from commit 0a5f0eb)
  • Loading branch information
ruflin authored and jsoriano committed Aug 27, 2018
1 parent de098b5 commit deecb7c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ https://github.com/elastic/beats/compare/v6.4.0...6.4[Check the HEAD diff]

*Metricbeat*

- Fix golang.heap.gc.cpu_fraction type from long to float in Golang module. {pull}7789[7789]
- Fixed the RPM by designating the modules.d config files as configuration data in the RPM spec. {issue}8075[8075]

*Packetbeat*
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5301,7 +5301,7 @@ Next collection will happen when HeapAlloc > this amount.
*`golang.heap.gc.cpu_fraction`*::
+
--
type: long
type: float
Fraction of CPU time used by GC.
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/golang/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion metricbeat/module/golang/heap/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
description: >
Next collection will happen when HeapAlloc > this amount.
- name: cpu_fraction
type: long
type: float
description: >
Fraction of CPU time used by GC.
- name: pause
Expand Down

0 comments on commit deecb7c

Please sign in to comment.