-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Improve the Datadog scaler, including a new optional parameter metricUnavailableValue
to fill data when no Datadog metric was returned
#2694
Commits on Mar 14, 2022
-
Do not query Datadog to check if the metric is active, to reduce rate…
… limiting Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 2a588c2 - Browse repository at this point
Copy the full SHA 2a588c2View commit details -
Return a specific error message when reaching rate limits
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 51361da - Browse repository at this point
Copy the full SHA 51361daView commit details -
Retry getting a metric up to 5 times, needed for short time windows
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 5c0c912 - Browse repository at this point
Copy the full SHA 5c0c912View commit details -
Allow for more granularity from points returned by Datadog
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 1a99cd8 - Browse repository at this point
Copy the full SHA 1a99cd8View commit details -
Parse the query better and add rollup and aggregator only if missing
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for db1d5b9 - Browse repository at this point
Copy the full SHA db1d5b9View commit details -
Return the value of the last point in the series
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 817842d - Browse repository at this point
Copy the full SHA 817842dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3d60ab - Browse repository at this point
Copy the full SHA c3d60abView commit details -
Move function closer to context
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 1cd870c - Browse repository at this point
Copy the full SHA 1cd870cView commit details -
Improve how to get metrics from Datadog to reduce the chance of getti…
…ng a null metric, without blocking Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 90a816e - Browse repository at this point
Copy the full SHA 90a816eView commit details -
Add new metricUnavailableValue optional parameter that if set, will r…
…eturn that value as metric if the metric is not available for the time period selected Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 8a3417a - Browse repository at this point
Copy the full SHA 8a3417aView commit details -
Fix IsActive to allow this scaler to scale to zero if needed
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 44c10bf - Browse repository at this point
Copy the full SHA 44c10bfView commit details -
Avoid race condition when deleting the test namespace
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 2b7c298 - Browse repository at this point
Copy the full SHA 2b7c298View commit details -
Wait a bit longer in tests to scale down
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 1f7b807 - Browse repository at this point
Copy the full SHA 1f7b807View commit details -
Modify changelog to add new datadog scaler parameter
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 089e78b - Browse repository at this point
Copy the full SHA 089e78bView commit details -
Point to issue not PR in changelog
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 7a86aff - Browse repository at this point
Copy the full SHA 7a86affView commit details -
Order changelog alphabetically
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 44dfd5d - Browse repository at this point
Copy the full SHA 44dfd5dView commit details -
Improve Datadog query parsing error catching
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 80db12a - Browse repository at this point
Copy the full SHA 80db12aView commit details -
Add tests for the parseAndTransformDatadogQuery function
Signed-off-by: Ara Pulido <ara.pulido@datadoghq.com>
Configuration menu - View commit details
-
Copy full SHA for 9a5a747 - Browse repository at this point
Copy the full SHA 9a5a747View commit details