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

Task: Filter Heartbeats #2108

Merged
merged 6 commits into from
Feb 20, 2024
Merged

Task: Filter Heartbeats #2108

merged 6 commits into from
Feb 20, 2024

Conversation

jzbahrai
Copy link
Collaborator

@jzbahrai jzbahrai commented Feb 8, 2024

Summary | Résumé

We need a way to filter heartbeats when calculating the activity for daily usage. We added a default param with no value, to add a way to filter heartbeat templates

Test instructions | Instructions pour tester la modification

https://app.zenhub.com/workspaces/notify-planning-614b3ad91bc2030015ed22f5/issues/gh/cds-snc/notification-planning/1495

app/service/rest.py Fixed Show resolved Hide resolved
@jzbahrai jzbahrai changed the title Task/filter heartbeat Task: Filter Heartbeats Feb 9, 2024
@jzbahrai jzbahrai marked this pull request as ready for review February 9, 2024 19:33
Copy link
Contributor

@whabanks whabanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Tested locally by adding rows into ft_notification_status with each heartbeat template. Filtering is working!

@jzbahrai jzbahrai enabled auto-merge (squash) February 20, 2024 14:24
@jzbahrai jzbahrai merged commit 5bcdb72 into main Feb 20, 2024
4 checks passed
@jzbahrai jzbahrai deleted the task/filter-heartbeat branch February 20, 2024 14:33
whabanks added a commit that referenced this pull request Feb 21, 2024
whabanks added a commit that referenced this pull request Feb 21, 2024
jzbahrai added a commit that referenced this pull request Feb 26, 2024
* Add filter for heartbeat template

* fix formatting

* Edit and add a test

* test for rest endpoint

* Add filter heartbeats for live service data
jzbahrai added a commit that referenced this pull request Feb 27, 2024
* Add filter for heartbeat template

* fix formatting

* Edit and add a test

* test for rest endpoint

* Add filter heartbeats for live service data
jzbahrai added a commit that referenced this pull request Feb 28, 2024
* Add filter for heartbeat template

* fix formatting

* Edit and add a test

* test for rest endpoint

* Add filter heartbeats for live service data
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

Successfully merging this pull request may close these issues.

2 participants