Closed dan-serendipity closed 4 months ago
@kunalnagar - Done Attached are:
fetchAlerts
function, first on main
, and then on my branch;main
. Notice the older alerts that were missed out on the first execution
LGTM 🚀
Please squash and merge. Thanks!
I don't have write access. I've reduced the commit history to a single commit, but I think you will need to merge.
:tada: This PR is included in version 1.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
I don't have write access. I've reduced the commit history to a single commit, but I think you will need to merge.
Thanks @dan-serendipity - I've merged the PR for now but I'll take a look at the contribution settings. Maybe I overlooked something -- thanks for the contribution!
The existing call returns the first
count
alerts. Some of these alerts may be fixed or dismissed, while there may be older open alerts which were not returned. Moving the filter operation to the backend resolves this problem.N.B. Alert
state
is one ofauto_dismissed
,dismissed
,fixed
, andopen
. Of these, we are only interested inopen