You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Datadog analyses using apiVersion: v2 that don't specify an aggregator 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 #3643 when trying to fix the analyses of v1.
To Reproduce
Use a Datadog analysis with apiVersion: v2 and don't specify aggregator:
time="2024-07-05T11:25:18Z" level=warning msg="Measurement had error: 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']\"]}" analysisrun=podinfo-78544d7dd7-285-4 metric=latency-slo-v2 namespace=canary-analysis
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
The text was updated successfully, but these errors were encountered:
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 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 #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 👍.
The text was updated successfully, but these errors were encountered: