Closed amw-zero closed 1 week ago
The validations
job has failed; please review the Files changed
tab for possible suggestions to resolve.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 87.87%. Comparing base (
0ca918c
) to head (3cdc1fe
). Report is 109 commits behind head on master.
The validations
job has failed; please review the Files changed
tab for possible suggestions to resolve.
The validations
job has failed; please review the Files changed
tab for possible suggestions to resolve.
The validations
job has failed; please review the Files changed
tab for possible suggestions to resolve.
What does this PR do?
Adds a
lookback_window
param toquery_metrics
.Motivation
The current lookback window defaults to 2 times the collection interval, and is not able to be overridden. This means that infrequently-run queries are unlikely to have metrics captured for them. One common use case that falls into this bucket is ETL queries which can run hourly or even daily. These have a very small chance of having metrics captured for them. In that case, we will support setting a lookback window that will include such queries.
Review checklist (to be filled by reviewers)
qa/skip-qa
label if the PR doesn't need to be tested during QA.backport/<branch-name>
label to the PR and it will automatically open a backport PR once this one is merged