[EDS] pageviews min cwv count threshold #1013
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This introduces a new query for EDS alerting requirements. It aims to return urls, with their respective pageviews and p75 cwv for a given url pattern (e.g.: www.adobe.com/express), having a minimal count of cwv events matching the cwv_type passed as a parameter.
This can be helpful to know which URLs with a cwv count (for the cwv_type passed as parameter, e.g.: LCP) greater than the threshold passed as parameter.
Related Issues
https://cq-dev.slack.com/archives/C05A45JBP9N/p1700727862022749
Some adjustements from the initial thread have been made
cwv_type
added as a parameter to retrieve records with cwv min count (cwv type specific)cwv_count_threshold
minimum count threshold to expose resultsavg_daily_pageviews_factor
parameter, aiming to reduce pageviews calculation issues related to samplingPlease ensure your pull request adheres to the following guidelines: