Skip to main content

Alerts, monitoring & email notifications

Alerts tell you when an ingest stream has a problem, often before a viewer notices. Advices point out settings you could improve. Both are on for every organisation by default; you only decide where you want to see them and who gets the emails.

Alerts currently cover the first mile: from your encoder, through your internet provider, to the nearest ingest server.

Where you see alerts​

PlaceWhat you get
nanoStream Dashboard › Alerts (dashboard.nanostream.cloud/alerts)All alerts and advices of your organisation, with details and suggested actions
nanoStream Dashboard bell iconActive alerts of the last 15 minutes. A red bell means a critical alert.
nanoStream Analytics dashboard › Troubleshooting › AlertsAlerts of one stream over the past four weeks, with charts of what triggered them
Builder Hub › View analytics › Health boardCurrent ingest alerts next to playback health
EmailA message per stream when an alert starts, every 12 hours while it lasts, and when it is resolved
Analytics APIAlerts for your own monitoring
nanoStream Dashboard Notifications page with counters per severity, the Alerts Overview table and the Advices Overview table
The Dashboard's alerts page: counts by severity on top, then each alert and advice with its code, stream and first detection time.

Severity levels​

SeverityPriorityMeaning
CriticalHighestFundamental impact on the stream. Handle these first.
ModerateHighUrgent. Handle next if no critical alert is open.
MinorLowMay partly affect stream quality
AdviceInfoUnused potential in your setup. Not urgent.

How detection works​

  • Every minute, the system analyses the last 5 minutes of ingest logs: four RTMP stat events per minute, 20 in total. These events contain the stream time ratio and the max frame delay.
  • Detection runs about 3–4 minutes behind real time. Allow up to 9 minutes from a problem to its alert.
  • Each alert has a category and a unique code.

Alert codes​

General: 21000–21999​

CodeTypeMeaningWhat to do
21001Stream offline (expected online)A stream you listed as expected online is offline. Only returned by the custom alerts API route, where you name those streams.Restart the stream

Stability: 22000–22999​

CodeTypeMeaningWhat to do
22000Continuous restartsThe ingest starts and stops repeatedly: at least three restarts within 5 minutesRestart the stream
22001Continuous restarts with low performanceRepeated restarts plus performance problemsCheck the encoder's internet connection (run a speed test), then restart the stream manually
22010Inactive ingestsThe ingest is connected but sends no dataCheck the encoder or source configuration and make sure it is sending
22011Inactive and active ingestsThe stream has inactive and active connections at onceEnd all unintended (inactive) ingests so only the active one remains

Performance: 23000–23999​

Raised from two ingest health metrics: the stream time ratio (STR) and the max frame delay (MFD).

Stream time ratio​

Each STR value is checked on its own, with no averaging. A value counts as deviating when it is outside 0.93–1.07, and as critical when it is outside 0.86–1.14. An STR that is too high triggers too. The check starts once the stream has run for 5 minutes.

CodeTypeConditionMeaningWhat to do
23001Suboptimal performanceAt least 5 STR values outside 0.93–1.07, none of them outside 0.86–1.14Ingest isn't optimal; apps that rely on ultra-low latency may be affectedRestart the stream, then run a bandwidth speed test
23002Poor performanceAt least 5 STR values outside 0.93–1.07, at least one of them outside 0.86–1.14Ingest is malfunctioningRestart the stream, then run a bandwidth speed test

Max frame delay​

The MFD is the highest frame buffering delay at the ingest server, measured separately for the audio and the video track. A delay that stays high increases the latency for all viewers. Frequent short stalls interrupt playback, also when the typical delay is acceptable.

The three codes show different effects, not severity levels. A stream gets only one of them at a time. If more than one condition applies, the alert with the widest effect on viewers wins.

CodeTypeMeaningWhat to do
23011Persistently elevated frame delay (ultra-low latency)The frame delay is moderately high. Regular playback isn't affected, but apps that rely on ultra-low latency may be.Nothing, unless you rely on ultra-low latency playback. Then reduce the encoder's output buffer and make sure the upload bandwidth is well above the configured bitrate.
23012Persistently high frame delayThe typical frame delay of the ingest is high. End-to-end latency increases for all viewers, in every playback mode.Check the encoder for a too large output buffer or a too long keyframe interval, and check the upload bandwidth. Then restart the stream.
23013Recurring ingest stallsThe ingest stalls often but briefly. Viewers may see short interruptions, while the typical frame delay stays acceptable. The cause is usually the network, not the encoder.Check the network between encoder and ingest server for packet loss, bandwidth drops or an unstable upload. A restart only helps if the encoder causes the stalls.

Infrastructure: 24000–24999​

Detected on passthrough (non-transcoded) streams. These can be invisible in the stream itself but lead to critical problems, so treat them as an early warning.

CodeTypeMeaning
24100General duplicated ingestsThe same stream name is ingested more than once
24101Multiple infrastructuresDuplicates on different infrastructures
24102Multiple locationsDuplicates from different locations
24103Multiple IPsDuplicates from different IP addresses

What to do for all 24xxx codes: stop every ingest using that stream name on all machines, encoders and locations, then restart only the intended one. Review your ingest workflow, for example a backup encoder pushing to the same stream name.

Advices​

CodeMeaningWhat to do
29001High ingest bitrate may affect playback on slow connections. Raised for non-ABR streams above 4 Mbit/s.Use Adaptive Bitrate Streaming with transcoding profiles

Handle an alert​

  1. Read the alert. In the nanoStream Dashboard, select it to open the side panel with severity, code, stream name, first detection, alert ID, message and ingest connection details (provider, server, location, resolution, IP). The panel suggests actions for its code.
  2. Watch the stream. Click Open Playout and look for buffering, stuttering, visual errors or connection problems.
  3. Restart the ingest. A hard restart of the encoder or ingest connection often clears the problem.
  4. Investigate. Click Troubleshooting to open the stream in the Analytics dashboard, already filled in. Look for drops in bitrate or STR, or errors, during the alert.
  5. Get help. If the alert persists, click Open Support Ticket and include the alert details.

If an alert keeps coming back despite fixes, review your streaming workflow with performance measurements, or Get Free Streaming Advice.

Email notifications​

Email notifications tell you about alerts without having to watch a dashboard or build your own monitoring. Per stream, an email is sent:

  • when a new alert is detected,
  • every 12 hours while it stays active,
  • when it is resolved.

Each email contains:

SectionFields
AlertName, severity, message, code, alert ID, first detection time, alert age
StreamStream name, stream tags, stream group ID, transcoded streams
LinksTroubleshooting page, test playback page with live quality metrics, email subscription management

To add or remove recipients, open the subscription management page from the link in any alert email, or in the nanoStream Analytics dashboard at metrics.nanostream.cloud. Up to two recipients can be configured; to reach more people, forward from one of them with a rule in your email client.

Alerts in your own monitoring​

The Analytics API has two alert routes at https://metrics-api.nanostream.cloud:

RouteWhat it returns
GET /v2/alerting/ingestAll alerts and advices for live ingest streams in the last 5 minutes
POST /v2/alerting/ingest/customThe same, plus: exclude streams from detection, or name streams that must be online (raises 21001 when they aren't)

These routes always cover the last 5 minutes, so poll them, for example every minute. For history, use the Troubleshooting page.

The API also has routes to manage alert email and webhook receivers. Change receivers in the Analytics dashboard where you can see the result: replacing the receiver list by mistake stops alert delivery for the whole organisation.

tip

Try it in the Builder Hub: open View analytics and check the Health board for current ingest alerts. See the Builder Hub guide. Start for Free

Next steps​