-
Notifications
You must be signed in to change notification settings - Fork 883
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
docs(example): interval requires count #2690
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #2690 +/- ##
=======================================
Coverage 81.47% 81.47%
=======================================
Files 133 133
Lines 20152 20152
=======================================
Hits 16419 16419
Misses 2881 2881
Partials 852 852 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
doc(examples): moved other count up next to interval for visibility Signed-off-by: mitchell amihod <[email protected]>
Signed-off-by: mitchell amihod <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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 don't think you need count
when interval is specified. The docs clearly say:
"If both interval and count are omitted, the effective count is 1. If only interval is specified, metric runs indefinitely."
I would expect the analysis to keep running indefinitely in absence of the count
.
@agrawroh 1.4.1 Could be the docs are a bit out of date - I could update the pr to update to the docs you pointed out - maybe we need them to be more specific - making the distinction between inline vs background analysis. In any case, I would defer to the code over the docs - and assume docs need updating. |
You definitely need one of |
@agrawroh I see what you are saying. Could it be this is just a necessity for this particular type of analysis metric - Job when inline? |
The reason count is needed with interval here is because in the examples the way this template is used is in an inline step which has to have an end, otherwise the step would never complete. In background analysis you need interval but not count because it will just run till the rollout is done. I agree docs could probably be updated around this. |
This PR just fixes the case for how this template is used within the examples folder. |
docs(example): moved other count up next to interval for visibility
fixes: #2691
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.