Events

Add events as code in your app.

How it works

Events are a good way of monitoring information more accurately. They can be saved and viewed on your dashboard in the Events tab of your app, but can also trigger notifications. See Webhooks

const monitor: ({ title, message, notify, }: {
    title: any; // Name of your event
    message: any; // Content of your event
    notify?: boolean | undefined; // Sends a notification using the webhook linked to your app
}) => void

Example

Add it in your code simply as follows:

monitor({
    title: "Hello",
    message: "World",
    notify: true,
})

Last updated

Was this helpful?