Stream monitoring enables alerting around your pipeline's health.
A pipeline is considered "healthy" when it is:
You can monitor the health of a pipeline by setting ingest and output alerts that fire when the number of records ingested or output, over a time period, falls below a user-defined threshold.
For example, an ingest monitor could alert if your stream has ingested zero records over the last five minutes, while an output monitor could alert if your stream has output less than 1000 records over the last 30 minutes.
Ingest monitors ensure that:
To configure this:
Examples:
Records ingested
with a five minute duration and threshold of zero: Alerts when your stream has written zero records to the live view over the last five minutes.Records ingested
the 30 minute duration and threshold of 1000: Alerts when your stream has written less than or equal to 1000 records to the live view over the last 30 minutes.Output monitors ensure that your pipeline is:
While streaming monitors is in beta, time series and geotemporal series are the only monitorable data formats.
To monitor records written to time series, you will set alerts on the time series sync.
Examples:
Points written to Time Series DB
with a five minute duration and threshold of zero: Alerts when your time series sync has written zero records over the last five minutes.Points written to Time Series DB
with a 30 minute duration and threshold of 1000: Alerts when your time series sync has written less than or equal to 1000 records over the last 30 minutes.To monitor geotemporal observations, you will set alerts on the backing observation dataset.
Examples:
Geotemporal observations sent
with a five minute duration and threshold of zero: Alerts when your geotemporal sync has sent zero observations to geotime over the last five minutes.Geotemporal observations sent
the 30 minute duration and threshold of 1000: Alerts when your geotemporal sync has sent less than or equal to 1000 observations to geotime over the last 30 minutes.Geotemporal observations sent
only ensures the records were sent from geotime ingest. This does not guarantee that the geotime service has processed the record after ingestion.To view the metrics underlying a monitor, select the monitor rule in row in the monitoring view's Manage monitors tab.
Metrics are only available for streaming or time series monitors with a single target scope.
You can configure notifications through the monitoring view's Manage subscriptions tab.
To set email alerts:
To set PagerDuty alerts:
You can view firing alerts in the Troubleshoot alerts tab of your monitoring view.