-
Notifications
You must be signed in to change notification settings - Fork 126
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: add prometheus metrics evaluation example #677
feat: add prometheus metrics evaluation example #677
Conversation
378e5fc
to
db8a3f5
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #677 +/- ##
==========================================
+ Coverage 56.36% 57.38% +1.02%
==========================================
Files 82 89 +7
Lines 6683 7012 +329
==========================================
+ Hits 3767 4024 +257
- Misses 2756 2822 +66
- Partials 160 166 +6
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
Thank you @shardulsrivastava for your PR. I left few nits
f089830
to
83337c3
Compare
@thisthat thanks for the review, I have addressed them and also added some error handling which i encountered during testing. |
Signed-off-by: Shardul Srivastava <[email protected]>
Signed-off-by: Shardul Srivastava <[email protected]>
Signed-off-by: Shardul Srivastava <[email protected]>
Signed-off-by: Shardul Srivastava <[email protected]>
Signed-off-by: Shardul Srivastava <[email protected]>
Signed-off-by: Shardul Srivastava <[email protected]>
606c761
to
f66d4b4
Compare
@shardulsrivastava thanks for the PR 👍 I have only a small final Nit to fix |
Co-authored-by: Giovanni Liva <[email protected]> Signed-off-by: Shardul Srivastava <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@thisthat addressed the comment. |
Signed-off-by: Shardul Srivastava [email protected]
Adds a simple function for fetching metrics from Prometheus and evaluates them against a specified expected value.
Closes #65