Skip to main content
Version: v1

Metric Alert

Notifies when a metric alert triggers.

The "timestamp" field will hold the time at which the alert triggered, the "value" field will hold the value of the metric at the time that the alert triggered, and the "notification_url" field will hold a URL where the triggered alert can be viewed in Fullstory.

note

When configuring an endpoint that receives this type of event, you can configure which particular alert(s) will be delivered to the endpoint. If you have not created any alerts, they will not show up as an option when configuring a webhook endpoint.

Event API Name

metric.alert

Example Payload

{
"eventName": "metric.alert",
"version": 1,
"data": {
"id": "a5fe758dc531089a203b20b0",
"alertId":"gW3nrSpxusut",
"timestamp": "2024-04-01T10:00:00.0Z",
"value": 114,
"notificationUrl": "https://app.fullstory.com/ui/1ENq/metrics/details/8N8LHeZAsc1j/alerts/gW3nrSpxusut?triggerId=bg8jnAlS7CN0",
"alertConfig": {
"alertName": "Uncaught Exceptions Alert",
"alertDescription": "Over 100 uncaught exceptions have occurred in the previous hour",
"alertCreator": "daniel.falko@example.com",
"alertUrl": "https://app.fullstory.com/ui/1ENq/metrics/details/8N8LHeZAsc1j/alerts/gW3nrSpxusut",
"metricName": "Hourly Uncaught Exceptions",
"metricDescription": "Number of uncaught exceptions per hour.",
"metricCreator": "daniel.falko@example.com",
"metricUrl": "https://app.fullstory.com/ui/1ENq/metrics/details/8N8LHeZAsc1j"
}
}
}