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

feat(alert): adding sample prometheus rules for ZFSPV #32

Merged
merged 2 commits into from
Jan 9, 2020

Conversation

pawanpraka1
Copy link
Contributor

@pawanpraka1 pawanpraka1 commented Jan 8, 2020

This PR has a sample rule to monitor the volume space utilization, and once available space is less than 10%, it will start firing the alert.

 100 * kubelet_volume_stats_available_bytes{job="kubelet"}
          /
        kubelet_volume_stats_capacity_bytes{job="kubelet"}
          < 10

Just update the yaml with the desired alert rule and apply the yaml. You will start getting the alert as per set rule.

Signed-off-by: Pawan pawan@mayadata.io

@codecov-io
Copy link

codecov-io commented Jan 8, 2020

Codecov Report

Merging #32 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #32   +/-   ##
=======================================
  Coverage   83.33%   83.33%           
=======================================
  Files           1        1           
  Lines          72       72           
=======================================
  Hits           60       60           
  Misses         12       12

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7094c48...091a4d5. Read the comment docs.

@pawanpraka1 pawanpraka1 requested a review from kmova January 8, 2020 11:12
@pawanpraka1 pawanpraka1 added this to the v0.3.0 milestone Jan 8, 2020
Signed-off-by: Pawan <pawan@mayadata.io>
Signed-off-by: Pawan <pawan@mayadata.io>
Copy link
Member

@kmova kmova left a comment

Choose a reason for hiding this comment

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

Thank you @pawanpraka1

@kmova kmova merged commit 0b56f0a into openebs:master Jan 9, 2020
@pawanpraka1 pawanpraka1 deleted the sample branch January 10, 2020 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants