Pipeline notifications configuration - anodot/daria GitHub Wiki

Use notifications property to configure pipeline notifications to receive as emails. To receive notifications about pipelines set stream owner on the Anodot streams page.

Notifications properties

Property Type Description
no_data string Example values: 1h, 10h, 5m, 1h 30m. Enables sending notification in case the pipeline doesn't send any data for the specified period
no_data_dvp string Example values: 1h, 10h, 5m, 100m. No data period for pipelines with dvp enabled. By default is 24 hours. If using this property, no_data should also be set.

Example

{
    "source": "source",
    "pipeline_id": "pipeline_id",
    "values": {
      "number": "gauge"
    },
    "dimensions": [
      "txt"
    ],
    "timestamp": {
      "name": "time",
      "type": "string",
      "format": "yyyy-MM-dd HH:mm:ss.SSSSSSS"
    },
    "notifications": {
    	"no_data" : "2h 30m",
    	"no_data_dvp": "12h"
    }
}