-
Notifications
You must be signed in to change notification settings - Fork 2.6k
added md disks in down state #3007
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
Open
Finomosec
wants to merge
23
commits into
prometheus:master
Choose a base branch
from
Finomosec:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+220
−3
Open
Changes from 11 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
21be960
added md disks in down state
Finomosec 58f48d1
added node_md_sync_minutes_remaining, node_md_blocks_synced_speed and…
Finomosec 27b93f8
fixed unit-test expected output
Finomosec 3179601
fixed unit-test expected output
Finomosec f21e3b5
Update mdadm_linux.go
dd0a449
Update mdadm_linux.go
70a889f
fixed unit-test expected output
Finomosec 9b3de10
fixed unit-test expected output
Finomosec 4d743c4
Update collector/mdadm_linux.go
6df2222
Update collector/mdadm_linux.go
cf0dffe
fixed unit-test expected output
Finomosec af65f85
Merge branch 'prometheus:master' into master
de82d1a
Added DisksRecovering
Finomosec e020eb4
Updated procfs to used patched version
Finomosec 01a9d66
üatched procfs
Finomosec 5586487
added dep
Finomosec 847e8ca
fixed disk status - renamed from recovering to replacing
1d11514
Merge branch 'master' into master
Finomosec 626fd3f
fixed DisksReplacing, added reshaping
Finomosec bcbe1d7
reverted changes for local patch
Finomosec 843a753
fixed imports
Finomosec 0840dde
fixed checkstyle errors
Finomosec eb7055d
Merge branch 'prometheus:master' into master
Finomosec File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem necessary, we should be able to compute this from something like
rate(node_md_blocks_synced[1m]) * <blocksize>.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is usefull. It is the CURRENT speed, as it is shown in /stat/proc/mdstat
I have it showing in my Grafana board.
Plus i guess
<blocksize>is not included in the data, so it would require additional configuration for each md-device.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My Grafana Board: https://grafana.com/grafana/dashboards/20989-node-exporter-mdadm-status/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that the groundwork has already been laid for #1085, and we probably should not add any new parsing functionality relating to
/proc/mdstat.