-
Notifications
You must be signed in to change notification settings - Fork 904
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(analysis): Added additional metadata to the status of AnalysisRun to be used by Prometheus Provider #1628
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1628 +/- ##
==========================================
- Coverage 82.30% 81.98% -0.33%
==========================================
Files 116 115 -1
Lines 16370 15918 -452
==========================================
- Hits 13474 13050 -424
+ Misses 2217 2198 -19
+ Partials 679 670 -9
Continue to review full report at Codecov.
|
9dfd946
to
80dc1ee
Compare
Hi, @agrawroh , it would be nice if we can add some explanation about the change to the doc: https://github.com/argoproj/argo-rollouts/blob/master/docs/analysis/prometheus.md Thanks. |
@jessesuen Could you help merge this PR? |
417bcac
to
3659a12
Compare
Kudos, SonarCloud Quality Gate passed!
|
Signed-off-by: Rohit Agrawal <[email protected]>
997cceb
to
eb65c03
Compare
Signed-off-by: Rohit Agrawal <[email protected]>
eb65c03
to
213fa47
Compare
Kudos, SonarCloud Quality Gate passed!
|
@agrawroh seems PR addresses only Prometheus provider. can you add a description to the ticket that current PR address Prometheus provider only? |
lgtm. apart from description update |
Background
Currently, AnalsysRun doesn't display the prometheus query with resolved arguments which makes it a little bit harder to do any troubleshooting on the AnalysisTemplate.
See: #1591
Changes
In this PR, we are adding an additional
Metadata
in the metric results so that providers can use it to store any additional metadata they'd like to display in the AnalysisRuns. In case of prometheus, we store the final resolved query by substituting the template arguments.Note: This is only addressing the Prometheus Provider as of now.
Checklist
"fix(controller): Updates such and such. Fixes #1234"
.Signed-off-by: Rohit Agrawal [email protected]