docs/main/administration-guide/scale/push-notification-health-targets.mdx
When using the Mattermost Notification Health Grafana dashboard to track different types of notifications sent from Mattermost, we recommend adhering to the following mobile push notification health targets to ensure a performant production deployment of Mattermost.
<Note>MetricsSettings.Enable set to true.MetricsSettings.EnableNotificationMetrics must be enabled in the Performance Monitoring configuration.The Push Proxy Delivery Rate panel indicates the percentage of push notifications that have been successfully delivered to the Push Notification Service (i.e., Apple Push Notification service (APNs) or Firebase Cloud Messaging (FCM)) out of the total number of push notifications sent.
Monitor this delivery rate to ensure that users are receiving their notifications in a timely manner. This value should always be 100%. Anything below 99% should be investigated further to identify issues with the push notification configuration, connectivity problems, or possible service interruptions with the push proxy provider.
The Push Notifications Errors by Reason panel is a critical tool for maintaining the reliability and effectiveness of the push notification system. These values provide a breakdown of the errors encountered when sending push notifications, categorized by the specific reason for each error.
This information helps admins to pinpoint common problems affecting push notification delivery, diagnose and fix issues more efficiently, detect patterns and trends, identify intermittent issues before they become more serious, and enhance the overall user experience with the Mattermost platform.
Missing profile errors are generally safe to ignore. However, if you see occurences of this error increase, verify logs for push_proxy_send_error.
The Push Notifications Not Sent Distribution panel helps admins ensure the robustness and reliability of the push notification system by providing detailed insights into the specific reasons why notifications weren't sent.
This information helps admins understand the reasons why push notifications may not be sent, (i.e., the channel is muted), identify underlying system or configuration problems that need attention, prioritize areas for troubleshooting and improvement by focusing on the most significant issues affecting notification delivery rates, and monitor any trends or spikes in push notifications not sent, resulting in proactive maintenance and quicker resolution of issues as they arise.
The Push Notifications Stats panel provides a high-level view of the number of notifications sent and acknowledged.
An acknowledged push notification indicates successful communication between the service and the device because the recipient's mobile device successfully received the push notification, and sent back a confirmation of delivery to the push notification service.
When a push notification isn't acknowledged, this indicates that the notification wasn't received, or that the device didn't send back a confirmation to the push notification service.
Closer alignment between the send and acknowledge lines in this graph indicates better performance.
The Total Acked Push Notifications value indicates the total number of push notifications that have been acknowledged by mobile devices. This metric helps admins understand how many push notifications sent from the Mattermost server were successfully received and acknowledged by mobile devices. It's an important indicator of the reliability and effectiveness of the push notification system, as it ensures that messages are being delivered and received as intended. Any value over 80% is considered normal.
There are several scenarios where notifications may not be acknowledged which cover the remaining ~10-20% of notifications, as follows:
Servers removed without users logging out
iOS notifications are disabled
Notifications are dropped at the Push Notification Service
Extreme battery save mode