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

Cleanup iostats field naming #4900

Merged
merged 2 commits into from
Aug 18, 2017
Merged

Cleanup iostats field naming #4900

merged 2 commits into from
Aug 18, 2017

Conversation

ruflin
Copy link
Contributor

@ruflin ruflin commented Aug 15, 2017

Align naming with other metricsets.


type: float

The number of write requests that were issued to the device per second


[float]
=== `system.diskio.iostat.read_byte_per_sec`
=== `system.diskio.iostat.read.per_sec.bytes`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about read.bytes.per_sec to be as the previous one?

Copy link
Contributor Author

@ruflin ruflin Aug 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I put bytes at the end as this is the unit.

"busy": extraMetrics.BusyPct,
"read": common.MapStr{
"request": common.MapStr{
"merge_per_sec": extraMetrics.ReadRequestMergeCountPerSec,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't be merged_per_sec as in the description of the fields.yml?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed it in both places to merges_per_sec

@monicasarbu
Copy link
Contributor

Looks good to me. I left a few minor comments.

@tsg tsg merged commit cb5e05d into elastic:master Aug 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants