Skip to content

Commit

Permalink
Fix golang.heap.gc.cpu_fraction type to float (elastic#7789)
Browse files Browse the repository at this point in the history
Field type was long instead of float.

Closes elastic#7785
  • Loading branch information
ruflin authored and exekias committed Jul 30, 2018
1 parent 133aefc commit f771f2d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ https://github.com/elastic/beats/compare/v6.4.0...master[Check the HEAD diff]

*Metricbeat*

- Fix golang.heap.gc.cpu_fraction type from long to float in Golang module. {pull}7789[7789]

*Packetbeat*

*Winlogbeat*
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5310,7 +5310,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 f771f2d

Please sign in to comment.