Open aguiraorodriguez opened 4 months ago
try adding aggregator: sum
under datadog (same level. as apiVersion)
try adding
aggregator: sum
under datadog (same level. as apiVersion)
But the docs state that is optional, and indeed the DD API response should be any of these [None, 'avg', 'min', 'max', 'sum', 'last', 'mean', 'area', 'l2norm', 'percentile', 'stddev']
allows it, so I think it should be possible not to specify one.
they have removed the default value in the version 1.7.1 https://github.com/argoproj/argo-rollouts/compare/v1.7.0...v1.7.1
they have removed the default value in the version 1.7.1 https://github.com/argoproj/argo-rollouts/compare/v1.7.0...v1.7.1
Correct but they did it because they think it would work without a value with Datadog API v2, which seems not to be the case. The fix is thus not complete and this is broken.
Checklist:
Describe the bug
Datadog analyses using
apiVersion: v2
that don't specify anaggregator
fail. The error message is:"Error Message: received non 2xx response code: 400 {"errors":["Value of parameter 'aggregator' should be any of these [None, 'avg', 'min', 'max', 'sum', 'last', 'mean', 'area', 'l2norm', 'percentile', 'stddev']"]}"
Probably this is a side effect of https://github.com/argoproj/argo-rollouts/pull/3643 when trying to fix the analyses of
v1
.To Reproduce
Use a Datadog analysis with
apiVersion: v2
and don't specifyaggregator
:Expected behavior
Screenshots
Version
v1.7.1
Logs
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.