Visibility on event count and notification failure
We recently moved to a paid plan, and since it doesn’t have a hard limit, this could potentially cause issues for us. We’d like to know the following:
1. Is there an API to fetch the event count so that we can set up our own alarms or alerts? Alternatively, does Novu provide any built-in alarm or notification feature for this?
2. In case a notification delivery fails, we’d like to trigger an alert. Does Novu provide a way to fetch delivery failure counts or reasons for failed notifications?
12 Replies
@Ashutosh(Different)
1. We currently don't have a feature to set a limit. Sharing the feedback with team. I will check if we can share this data with an API.
2. We support this in outgoing webhook feature which is included in team plan
https://docs.novu.co/platform/additional-resources/webhooks
Checkout
messages.failed event
messages.failed: Triggered when Novu tried to send the message to the delivery provider and it got failed.Webhooks | Novu Documentation
Receive notifications when events occur in your Novu account
thanks for the quick reply , it would be really helpul if we have the event count data , as i will help us to track and raise a alert if needed.
Ashutosh
Will this api work for your usecase?
https://docs.novu.co/api-reference/notifications/list-all-events
Will this api work for your usecase?
https://docs.novu.co/api-reference/notifications/list-all-events
Thanks , i have one doubt isn't novu count all environment for calculating event count?if yes then do we have the api the way novu calculates it?
also the api you have shared is paginated api , with limit of 50 , then in that case i will be required to iterate over pages making atmax 600 api call to reach the limit 30000 events, can you help me to with some other end point if available.
@Arun (Different) tagging you here for the context , please have a look.
Yes, you are correct. This API has paginated response and events count are sum of both the enironments. Currently, we don't have such an api.
I have share this usecase with team. It could be nice addition to our product.
I have share this usecase with team. It could be nice addition to our product.
If possible , can novu team consider this in priority , without alert we could hit the event limit.
Also would love to know is there any way to figure out which workflow has failed, delay in execution of workflow and similar kind of metric that can impact us.
Sure, sharing the feedback with team with priority
> Also would love to know is there any way to figure out which workflow has failed, delay in execution of workflow and similar kind of metric that can impact us.
You can use message.failed event in webhook for this
> Also would love to know is there any way to figure out which workflow has failed, delay in execution of workflow and similar kind of metric that can impact us.
You can use message.failed event in webhook for this
thanks! @Pawan Jain
any timeline that we can expect for above api request.
any timeline that we can expect for above api request.
Ashutosh
I understand it is an important feature for you to get to know events' limit usage, but unfortunately, we currently don't have an ETA for the alert feature and underlying APIs.
I understand it is an important feature for you to get to know events' limit usage, but unfortunately, we currently don't have an ETA for the alert feature and underlying APIs.
@Pawan Jain can we scrape or do browser automation and visit the billing section to get the event count ? let me know if it's against the terms and conditions.
I checked with my team, it will be agains our TnC. We can configure 75% limit alert from our side. Will that work for you?
We have added custom alert for your org. You (billing contact email) will receive the email if the events count goes above 27,000