Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick #5189 to 6.0: cms_get and cmd_set mixed up in memcached module #5233

Merged
merged 3 commits into from
Sep 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ https://github.com/elastic/beats/compare/v6.0.0-rc1...master[Check the HEAD diff

*Metricbeat*

- Fixed `cmd_set` and `cmd_get` being mixed in the Memcache module. {pull}5189[5189]

*Packetbeat*

*Winlogbeat*
Expand Down
4 changes: 2 additions & 2 deletions metricbeat/module/memcached/stats/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ var (
"misses": c.Int("get_misses"),
},
"cmd": s.Object{
"get": c.Int("cmd_set"),
"set": c.Int("cmd_get"),
"get": c.Int("cmd_get"),
"set": c.Int("cmd_set"),
},
"read": s.Object{
"bytes": c.Int("bytes_read"),
Expand Down