Skip to content

Commit

Permalink
Fix type for HAProxy health.last field (elastic#4410)
Browse files Browse the repository at this point in the history
Fixes elastic#4407. Also adds docs for two fields where docs were missing.
  • Loading branch information
tsg authored and exekias committed May 29, 2017
1 parent b6194b4 commit a2ea586
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ https://github.com/elastic/beats/compare/v6.0.0-alpha1...master[Check the HEAD d
- Add filtering to system filesystem metricset to remove relative mountpoints like those
from Linux network namespaces. {pull}4370[4370]
- Remove unnecessary print statement in schema apis {pull}4355[4355]
- Fix type of field `haproxy.stat.check.health.last`. {issue}4407[4407]

*Packetbeat*
- Enable memcache filtering only if a port is specified in the config file. {issue}4335[4335]
Expand Down
4 changes: 3 additions & 1 deletion metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5188,15 +5188,17 @@ Time in ms that it took to finish the last health check.
[float]
=== haproxy.stat.check.health.last
type: long
type: keyword
The result of the last health check.
[float]
=== haproxy.stat.check.health.fail
type: long
Number of failed checks.
[float]
Expand Down
4 changes: 3 additions & 1 deletion metricbeat/module/haproxy/stat/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,14 @@
Time in ms that it took to finish the last health check.
- name: health.last
type: long
type: keyword
description: >
The result of the last health check.
- name: health.fail
type: long
description: >
Number of failed checks.
- name: agent.last
type: integer
Expand Down

0 comments on commit a2ea586

Please sign in to comment.