-
Notifications
You must be signed in to change notification settings - Fork 880
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: metric fields can be parameterized by analysis arguments #901
Conversation
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #901 +/- ##
==========================================
- Coverage 81.74% 81.60% -0.15%
==========================================
Files 99 99
Lines 8684 8732 +48
==========================================
+ Hits 7099 7126 +27
- Misses 1138 1151 +13
- Partials 447 455 +8 ☔ View full report in Codecov by Sentry. |
…to configurable-analysis
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
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 see you made changes to all of the types, but I don't see any tests which actually test the feature. Where is a test which actually does substitution for a metric like:
metrics:
- name: error-rate
provider:
prometheus:
interval: "{{args.interval}}"
count: "{{args.count}}"
Also, an e2e would be nice, even if it is just modifying an existing one. |
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
0f1bebc
to
bcca948
Compare
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
…to configurable-analysis
@khhirani you'll need to rebase on master to fix the codegen problem. I found a toolchain discrepancy between macOS kubectl vs. github's ubuntu-latest kubectl that causes the difference in manifests. I switched to using |
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
…rgo-rollouts into configurable-analysis
@jessesuen Fixed |
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 see that everywhere where count used to be nil, is now doing count := intstr.FromInt(0)
and I'd like to understand why, since nil and zero mean different things.
Signed-off-by: khhirani <[email protected]>
Signed-off-by: khhirani <[email protected]>
docs/features/bluegreen.md
Outdated
@@ -57,7 +57,7 @@ spec: | |||
strategy: | |||
blueGreen: | |||
autoPromotionEnabled: boolean | |||
autoPromotionSeconds: *int32 | |||
autoPromotionSeconds: intOrString |
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 changed this to intOrString
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.
LGTM, please revert unintentional change to bluegreen.md before merging
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Closes #825
Signed-off-by: khhirani [email protected]