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

[metricbeat] Raid metricset with expanded disk states, using /sys/block #11613

Merged
merged 16 commits into from
Apr 23, 2019
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
update docs, data.json and changelog
fearful-symmetry committed Apr 15, 2019
commit 66b94a9efda0fb369364022fdb910bea860db21f
2 changes: 2 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d

- Add new option `OpMultiplyBuckets` to scale histogram buckets to avoid decimal points in final events {pull}10994[10994]
- Change cloud.provider from ec2 to aws and from gce to gcp in add_cloud_metadata to align with ECS. {issue}10775[10775] {pull}11687[11687]
- system/raid metricset now uses /sys/block instead of /proc/mdstat for data. {pull}11613[11613]

*Packetbeat*

@@ -140,6 +141,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Add SSL support for Metricbeat HTTP server. {pull}11482[11482] {issue}11457[11457]
- The `elasticsearch.index` metricset (with `xpack.enabled: true`) now collects `refresh.external_total_time_in_millis` fields from Elasticsearch. {pull}11616[11616]
- Allow module configurations to have variants {pull}9118[9118]
- Added new disk states and raid level to the system/raid metricset. {pull}11613[11613]

*Packetbeat*

13 changes: 7 additions & 6 deletions metricbeat/module/system/raid/_meta/data.json
Original file line number Diff line number Diff line change
@@ -21,13 +21,14 @@
"active": 2,
"failed": 0,
"spare": 1,
"states": [
"in_sync",
"in_sync",
"spare"
],
"total": 3
"states": {
"in_sync": 2,
"spare": 1
},
"total": 3,
"unknown": 0
},
"level": "raid1",
"name": "md0",
"status": "clean",
"sync_action": "repair"
2 changes: 1 addition & 1 deletion metricbeat/module/system/raid/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
@@ -3,4 +3,4 @@ This is the raid metricset of the module system. It collects stats about the rai
This metricset is available on:
- Linux

The config option `raid.mount_point:` can be used to configure the raid mount point. If running this metricset inside a container, you will need to mount `/sys/block` inside the container.
The config option `raid.mount_point:` can be used to configure the location of the raid metadata. If running this metricset inside a container, you will need to mount `/sys/block` inside the container using `--system.hostfs`