Skip to content
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

If the evaluation window of the query is too short, the api might return an empty result which datadog-service treats as 0 and fails the evaluation #10

Open
vadasambar opened this issue Feb 9, 2022 · 1 comment

Comments

@vadasambar
Copy link
Collaborator

vadasambar commented Feb 9, 2022

Problem

  • Same as title
  • This needs more research but the problem is, say the query is avg:system.load.1{*}.rollup(avg, $DURATION) and if the calculated $DURATION in the query is too short, Datadog API returns empty results. $DURATION is the time duration of test execution. If the tests run only for a short period of time, the evaluation window becomes short as well.
  • I have noticed this happening with the system.load metric if the $DURATION is less than 10s.
  • When the query results an empty response, datadog service treats it as a 0 and fails the SLO evaluation
  • I think the issue occurs because the query $DURATION is shorter than time interval between two successive metric data exports
@vadasambar
Copy link
Collaborator Author

Might be related: #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant