Why Mattermost push notification monitoring needs its own dashboard
Mattermost push notification monitoring answers a question that users cannot answer for you: did the notification reach the phone? When people on iOS or Android stop getting alerts, the administrator often has only anecdotes and no record of where delivery failed, whether on the Mattermost server, in the push path, or at the device. The Notification Health dashboard in Grafana is built to show notification delivery outcomes and to break errors down by reason, so the team can tell a one-off problem from a pattern and start with the failing component.
Teams usually need this view at three points: after a mobile rollout, before a compliance review that asks how alerts are handled, and when the business expects mobile alerts to behave like a service with a measurable target. The dashboard depends on metrics being enabled on the Mattermost server. Without them, the panels have no data, and the dashboard can look healthy only because nothing is being measured. Confirm the metrics settings, the metrics endpoint and how Grafana reads that data in the Mattermost documentation and in your own environment before you rely on the dashboard.
Set the 100% delivery target as the goal the dashboard measures against, and decide in advance who reviews errors and how quickly. Before go-live, send test notifications to a test account on each platform and confirm they appear on the dashboard. Then record which error reasons your team will investigate first and who owns each one. This turns the dashboard from a display into a process that supports the evidence a compliance or service review will ask for.
Monitoring options and when each fits
This table compares three ways to collect and view Mattermost push notification metrics: reusing a Prometheus and Grafana stack you already run, building a new dedicated stack, and using managed Grafana Cloud. Read each row against your team's existing tooling and who will be on call for it. The main takeaway is that the cheapest option on paper is often the one that already has an owner.
| Option | Fit | Who runs it | Trade-offs to weigh |
|---|---|---|---|
| Existing Prometheus and Grafana stack | Your team already scrapes Mattermost and has Grafana dashboards in use | Your current platform or SRE team | Confirm the Mattermost metrics endpoint and the Notification Health dashboard can be added without changing retention or alert routing |
| New dedicated Prometheus and Grafana stack | No existing monitoring for Mattermost, or the chat platform needs its own isolated stack | The team that owns Mattermost, with platform support | Prometheus stores data on a single node and is not clustered or replicated, so plan backups, storage sizing and node recovery yourself |
| Managed Grafana Cloud | Teams that want hosted dashboards and do not want to operate Grafana | Grafana Labs for hosting, your team for data flow and access | Grafana Cloud pricing is plan-based: a free tier, a Pro tier with a monthly platform fee plus usage, and an Enterprise tier with a minimum annual commitment, per Grafana's pricing page |
| Grafana Enterprise or SAML access | Organizations that require SAML sign-in for dashboard users | Your identity team with the Grafana administrator | SAML and SCIM are available only in Grafana Enterprise and Grafana Cloud, so confirm the edition before design |
| Alerting on delivery errors | Any option, if you need alerts when notification errors rise | Whoever owns the alert routing | Prometheus is built to favor reliability over precision, so confirm the alert thresholds suit your delivery target |
Setting up the Notification Health dashboard step by step
This sequence connects a self-hosted Mattermost server to Prometheus and Grafana so push notification results appear on one dashboard. Each step ends with a check, so you confirm the data path works before you rely on the delivery figures.
Confirm the server version and plan
A Mattermost administrator checks the running server version against the server releases page and confirms which plan and support line you are on. Record the version and its support end date, since the metrics settings and dashboard definition must match that release. Ask your account contact to confirm in writing that your plan includes the push notification capabilities you plan to monitor. Done when the version, plan and support end date are written in your change record.
Enable the metrics settings in the System Console
A system administrator opens the System Console, turns on the metrics setting, and sets the listen address and port for the metrics endpoint. Setting names and their locations can vary by release, so confirm them against the documentation for your version before changing production. Save the change and restart the server if the console asks for it. Check that the endpoint responds from the Prometheus host, for example with
curl, and returns metrics text. If it does not respond, check the listen address and any firewall rules between the two hosts.Restrict access to the metrics endpoint
The network team limits the metrics endpoint to the Prometheus servers and the monitoring network, so user networks and the internet cannot reach it. Metrics reveal operational detail about your deployment, so treat the endpoint as internal infrastructure. Confirm the rule with a connection test from one allowed host and one blocked host. Done when the allowed host gets a response and the blocked host times out or is refused. The Prometheus security model explains what its components expose and how to protect them.
Add Mattermost targets to Prometheus
The monitoring engineer adds a scrape job to the Prometheus configuration that lists every Mattermost application server, using the metrics address and port set in the second step. In a high availability cluster, include each application server so no node's notification results are missed. Use static configuration or service discovery, whichever fits your environment. Reload Prometheus and open its targets page to confirm each Mattermost target shows as up. Done when every expected node is listed as up and a query for a Mattermost metric returns series. The Prometheus overview describes how targets are discovered and scraped.
Provision the data source and dashboard in Grafana
The Grafana administrator defines the Prometheus data source and places the Notification Health dashboard file in a provisioned dashboards folder. Provisioning keeps the setup repeatable across environments and lets you store it in version control. Use the dashboard definition published for your Mattermost version and avoid rebuilding panels by hand, since panel queries depend on metric names. Reload Grafana according to your provisioning configuration. Done when the dashboard appears in the expected folder, the data source test succeeds and the panels load without query errors. The Grafana provisioning documentation covers how files are loaded.
Verify data with test notifications
Send test messages that trigger push notifications to test devices on each mobile platform you support. Watch the sent, delivered and error panels and confirm that the test traffic appears within the dashboard refresh interval you configured. Then trigger a controlled failure, such as a test device with notifications turned off, and confirm the error panel records it with a reason. Done when both successful and failed test notifications appear on the dashboard with the expected reason. Only after this check should you use the dashboard to measure against the 100% delivery target.
What the 100% delivery target means and where it breaks
Treat the 100% delivery target as an internal aim that the Notification Health dashboard helps you measure, not as a guarantee the platform can make. Prometheus documents that it values reliability over precision and is not a good choice where 100% accuracy is required, such as per-request billing. Metrics collected this way show trends and failures you can act on, but a dashboard reading of 100% should be read as "no failures recorded by the pipeline we can see," not as proof that every phone showed every message. Write that distinction into the runbook so on-call staff do not treat a green panel as a contractual promise.
A delivery gap can have several causes, and each needs a different response. A device may be offline, out of battery, or signed out, so the notification is never shown even though the server handed it off correctly. The operating system may throttle or defer background delivery, which is outside Mattermost's control. The push provider may reject a request because of a credential, certificate or payload problem, and the server may be misconfigured, for example with the wrong push endpoint or an outdated certificate. Before setting an internal target, ask your mobile and platform owners to confirm which of these the dashboard can distinguish and which it lumps together.
Define what counts as delivered before you report against the target. For example, you might count a notification as delivered when the server accepts it for the push service, when the push provider accepts it, or when the device confirms receipt, and each choice produces a different number. Agree the definition with security and compliance stakeholders, record the exclusions (such as devices that are intentionally offline or users who have muted a channel), and review the definition after each Mattermost server upgrade, since metric names and behavior can change between releases.
Investigating push errors by reason
The Notification Health dashboard groups failed pushes by reason, which narrows the search before anyone opens logs. Each category below points to a different owner and a different first check, so work through them in order of what the dashboard shows most often. Confirm every setting name and error label against the Mattermost documentation for the version your server runs, since labels change between releases.
Push configuration and server settings
Errors that appear across all devices at once often trace back to the server's push configuration rather than to individual phones. Check that push notifications are enabled, that the push notification server value points where you expect, and that the site URL matches what the apps connect to. A recent configuration change or a server replacement is the most common trigger, so compare the error start time with your change log first. Confirm the exact setting keys in the Mattermost docs for your running version.
Deployment planning docsConnectivity to the push service
When the server cannot reach the push path, errors cluster in a short window and affect many users. Check outbound HTTPS from the Mattermost server, DNS resolution, proxy settings and firewall rules for the push endpoints you use, whether that is Mattermost's hosted service or your own push proxy. Test from the server host itself, not from your workstation, because egress rules often differ by network segment. Confirm which destinations your chosen push path requires in the current documentation.
Device token and registration problems
Some errors belong to a single device or a small group, usually because the token stored for that device is stale. Reinstalled apps, restored backups, and users who changed phones generate tokens the push service no longer accepts. Check whether the affected users have signed in recently on the current app build and whether the notification errors stop after they sign out and back in. A rise in these errors after a mass app update is worth tracking against the release date. Confirm the token lifecycle behavior for your version with Mattermost support or the docs.
Certificate and signing mismatches
Push delivery depends on credentials that tie the server, the app build and the platform provider together. An expired or mismatched credential, or an app built with a different signing identity than the one the push path expects, can fail every send from a given platform. Check the platform split first: if only iOS or only Android fails, the credential for that platform is the likely cause. Record certificate and key expiry dates in your calendar so the cause is not discovered during an outage. Confirm the credential requirements for your push path in the Mattermost mobile documentation.
Server-side send failures
Some failures happen inside Mattermost after a notification is generated, such as errors while building the payload or while the server handles a queue of pending pushes. These show up as a rise in failures that does not map to one platform, one device or one network path. Check server logs for the time window, resource pressure on the application and database hosts, and recent upgrades that changed notification behavior. Compare the failure timing with server restarts and with any change to the database or load balancer. Confirm the log fields and components for your version before writing alerts against them.
Questions teams ask before monitoring push delivery
Can our own team monitor Mattermost push notification health in-house?
Yes, if your team already runs Prometheus and Grafana or has engineers who can operate them. The work has four parts: enabling the Mattermost metrics settings on the server, letting Prometheus scrape that endpoint, loading the Notification Health dashboard into Grafana, and configuring alert routing through Alertmanager. Each step is routine for a platform team. The harder part is ownership. The monitoring only helps if someone reviews the dashboard regularly, reads errors by reason and acts on them. Ask whether the people who will carry that duty have the time and access for it. DeployOpen can take on the setup as a fixed-scope engagement, with scope and handover agreed in writing before work starts.
What drives the effort for push delivery monitoring?
Four factors move the effort most. Each one changes how much design, configuration and testing the setup needs.
- Existing monitoring stack: A team with Prometheus, Grafana and Alertmanager already in place needs mainly configuration. A team starting from nothing needs those components installed, secured and backed up first.
- Users and devices: More users and devices mean more notification traffic to watch, so thresholds and dashboard panels need more tuning.
- High availability: A clustered Mattermost deployment has more components to scrape and more places where a failure can hide, so the scrape and alert design grows.
- Plan level: The features you can enable depend on your Mattermost plan, so confirm this before scoping.
Ask for the effort estimate to list which of these factors it assumes.
How long does it take to set up push notification monitoring?
The setup time depends on the scope of your environment, and no fixed duration applies to every deployment. A written timeline should follow from the agreed scope rather than from a generic estimate. Items that most often move the date include approval for server configuration changes, a change window for restarts, the network path from Prometheus to the Mattermost server, and the Grafana version you run. Alert routing decisions also take time because they need agreement from the people who will receive the alerts. Ask for the timeline to list the dependencies it assumes, and check that each one has an owner on your side.
What does the work need from our team before it starts?
Expect to provide access, approvals and decisions. The main requirements are:
- Server access: Access to the Mattermost server configuration, so the metrics settings can be enabled and verified.
- Admin rights: A Mattermost system administrator account for the setup and testing, and administrative rights on the Prometheus and Grafana hosts.
- A Grafana instance: An existing Grafana instance, or an agreed plan to deploy one, with a data source connected to Prometheus.
- Network paths: Permission for Prometheus to reach the metrics endpoint on each Mattermost node.
- Alert routing sign-off: Named owners who approve where alerts go, how they are grouped and who is on call.
Write these into the scope so the handover date and responsibilities are clear before work begins.
Why is the delivery target 100%, and how should we read errors by reason?
The 100% delivery target sets the goal for every notification the server sends. It does not mean that every error signals a fault. Some errors come from device or token state, such as an app that was removed from a phone, so the dashboard's error reasons help you separate expected failures from infrastructure problems. Prometheus values reliability over precision and is not a good choice where 100% accuracy is required, such as per-request billing. Treat the counts as an operational signal, not as a ledger. When a reason shows a pattern, confirm the cause in the Mattermost server logs before you change the push setup. The work includes agreeing which reasons trigger an alert and which only appear on the dashboard.
How much metric history will Prometheus keep for delivery trends?
By default, Prometheus keeps 15 days of data in its local storage, and you can configure retention by time or by size. That may be enough for day-to-day troubleshooting but short for quarterly reviews or an incident investigation that started weeks earlier. Local Prometheus storage is not clustered or replicated, so it should be managed like any single-node database, with its own backup and disk planning. For longer history, Prometheus supports remote write to external long-term storage systems. Decide the retention period with your security and compliance owners before the build, because it affects storage size and what evidence you can produce later.
How does ongoing upkeep follow Mattermost, Grafana and Prometheus releases?
Upkeep follows three release cycles. Mattermost releases a new server version in binary form on the 16th of each month, and Extended Support Releases such as v11.7, supported until 2027-05-15, offer a longer window for teams that prefer fewer upgrades. Prometheus starts a new minor release cycle every 6 weeks, and its LTS line 3.13 is supported until July 31, 2027. Grafana's guidance says minor releases come every other month and patch releases at least monthly. After each upgrade, check that the dashboard, metrics endpoint and alert rules still work. Ask for the upkeep plan to name who performs these checks, how often and what evidence is kept.
Does monitoring push delivery require a higher Mattermost plan?
Confirm this with Mattermost before you scope the work, because the plan that includes each feature is what decides it. The Mattermost pricing page lists SSO and AD/LDAP sync from the Professional plan, and high availability clustering from the Enterprise plan. The pricing page does not list the metrics settings used for this dashboard in the same way, so ask Mattermost which plan includes the features you need and get the answer in writing. Mattermost sells plans as prepaid annual subscriptions based on seat licenses, and it directs buyers to contact sales for prices. Your quote from DeployOpen should list any plan dependency as an assumption.
Keeping push monitoring working across upgrades
Metric names, dashboard panels and settings can change between upgrades, so the notification health dashboard needs a test step every time Mattermost is upgraded. Mattermost ships a new server version in binary form on the 16th of each month, and it also publishes Extended Support Releases with longer support windows. Either track can rename a metric, change a label or adjust a related setting. Before you upgrade a production server, confirm the release notes for those items, then check that the Notification Health panels still return data after the upgrade in a staging environment that mirrors your metrics configuration. Treat a panel that goes blank as a failed test, not as a quiet period in notifications.
The Grafana dashboard is only one layer. It queries Prometheus, and Prometheus versions have their own clock. A Prometheus minor release stops receiving bug fixes six weeks after its cycle begins, while long-term support lines receive fixes for one year. Confirm which Prometheus line you run against the Prometheus release cycle and long-term support page, and plan to move to a supported line before the one you run loses fixes. Pair each Mattermost upgrade with a check of the Prometheus and Grafana versions in the same window, so a single change does not hide the cause of a broken panel.
Name one owner for the dashboard, with a backup, and write down who signs off the post-upgrade test. The owner keeps the dashboard JSON and the scrape configuration under version control, records which Mattermost, Prometheus and Grafana versions were last verified together, and checks that the delivery target panel still reflects real push results after each change. Ask your implementation partner or internal team to confirm that the test procedure is part of any retainer or support scope, so the work is assigned and repeated rather than left to whoever notices the gap first.
How DeployOpen scopes and delivers push notification monitoring
DeployOpen approaches Mattermost push notification monitoring as a fixed-scope piece of work inside infrastructure you control. We agree the metrics, dashboard and alerting in writing, build them against your Mattermost and Grafana environment, and hand over documentation your operations team can run. Ongoing support is available as a retainer.
How we scope
- Confirm which Mattermost server version and plan your deployment runs before enabling any metrics settings.
- Agree which notification delivery metrics and error reasons the dashboard must show for your environment.
- Define the delivery target, alert thresholds and who receives alerts, recorded in the written scope.
How we build
- Enable the Mattermost metrics settings and confirm the metrics endpoint is reachable by your Prometheus instance.
- Import the Notification Health dashboard into your Grafana and adjust panels to match agreed error reasons.
- Test the dashboard against controlled test notifications to confirm each error reason displays correctly.
How we hand over
- Deliver a runbook explaining how to read delivery rates and trace each error reason to its likely cause.
- Document scrape configuration, dashboard provisioning files and access controls so your team can reproduce them.
- Walk your operations and mobile support staff through triage steps for failed notifications before handover.
How we support
- Review dashboard and alert behavior after Mattermost server upgrades, since metric names can change between releases.
- Keep Grafana and Prometheus components patched on the schedule your change process requires.
- Offer retainer support for ongoing tuning, retesting and investigation of new notification error patterns.

