Contents
3.6Watches
A watch reads one or more values from an API endpoint, a time series, or a dataset at the interval you select and sends an alert whenever its condition holds—for instance, when a dedicated server becomes orderable in France and costs at most 100 euros a month.
Setting up a watch
To create a watch, select New watch on the Watches page. Alternatively, select Watch this on a dataset, an endpoint's run page, or a time series to start a watch with the data source preconfigured.
- Configure What it reads: Add one signal for each value you wish to observe. Each signal receives a name that can be referenced in your condition.
- Configure When it fires: Build your criteria using All of these or Any of these. You can use Add a rule (with rules such as is at least, is one of, rose by, fell by, changed, or could not be read) or organize rules with Add a group.
- Verify with Test: Select Test to fetch current values immediately and check if the condition would trigger. This runs safely without alerting anyone.
- Set Check every: Choose the monitoring interval by adjusting the slider from every hour up to every 30 days. It checks every day unless you move the slider. Some sources update less frequently and dictate the shortest interval allowed. Changing Check every later counts from the time of the last check.
- Configure Fire: Select whether the watch alerts once, each time it becomes true, or at every check while it is true (with a quiet period between alerts). A watch set to fire once stops checking after its alert is sent, and its page displays that it has stopped. Selecting Resume makes it check again and re-alert at the next check where the condition holds. A watch configured to fire each time keeps checking and alerts again whenever its condition turns true after having been false.
- Configure How you are told: Specify the alert recipient and delivery settings.
If you edit a watch to read something else—updating its values, What it reads, or When it fires—it checks again within five minutes and starts afresh. It can alert based on its new readings, and any earlier alert is marked resolved. When a watch's condition stops holding during standard operation, its alert is also marked resolved. If a watch fails to read its values five times consecutively, it automatically pauses itself and records the reason.
Managing watches
On the Watches list, the menu on each row allows you to perform actions directly without opening the watch: use the action menu to select Watch now (to evaluate whether the condition holds immediately), Pause or Resume (depending on the watch's current state), or Delete (which confirms your choice first).
Opening an individual watch shows its latest readings alongside details of What happened (recording when it fired, cleared, or paused). On this page, you can use:
- Check now: Reads the signals and evaluates the condition immediately without sending an alert.
- Pause: Halts scheduled checks.
- Resume: Re-enables a paused or stopped watch.
Using watch templates
Watch templates provide ready-made watches where you only need to fill in required values. Selecting Templates from the Watches page displays both your own templates and public ones.
Opening a template displays its parameters: a single choice (which is searchable when drawn from a provider catalogue, such as OVHcloud server configurations with monthly prices), multiple choices, a number, or text, some of which may be optional. You can then:
- Select Test to read the sources with your provided values and verify if the condition holds without alerting anyone.
- Choose Check every within the range allowed by the template.
- Review Alerts you: By default, this starts at Once, then it stops, unless specified otherwise by the template. You can switch to Each time its condition becomes true, which is useful for items that repeatedly sell out and restock. If the template owner locked this behavior, no choice is displayed.
- Review How you are told: The template owner defines which alert settings you can adjust, but alerts are always sent to you.
- Select Set the watch: Confirm the prompt to create the watch in your own workspace.
A watch created this way displays Set from a template. It follows the template: whenever the owner updates or improves the template, every watch created from it updates automatically. Editing your watch allows you to change only your entered values, its name, how often it checks, whether it alerts you once or each time, and how you are told.
Watches set from a template automatically stop after the duration designated by the template (six months by default, configurable from one week to two years). The watch owner receives a reminder one week before expiration. Clicking Renew on the watch page initiates a new period: a watch that stopped at its end date begins watching again, while a watch that you manually paused remains paused.
A template can also be offered to outside users through a service on your page by selecting Watch template as the target. Visitors sign in on the page, fill out the form, run tests, and set their own watch. The watch reads data using the visitor's rights, alerts the visitor, and sends an email confirmation with a one-click link to stop the watch.
Creating watch templates
To build a template for others, select New template:
- What a person fills: Select Add a parameter to add form fields. Specify a label, the input type, and whether it is required. For choice parameters, define where the values originate—either manually entered or populated from an API endpoint's rows (defining the stored column, the displayed column, and the cache duration to prevent repeated fetching of large catalogues).
- The watch: Configure the underlying watch definitions, using
{{name}}as a placeholder for user-entered parameter values. For parameters populated from an endpoint, use{{name.column}}to reference another column from the chosen row. - What a person may choose: Define the shortest and longest allowed intervals for Check every, decide whether users can choose between alerting once or each time, and select which notification settings they may edit.
- The alert's words: Add an optional title and body text for notifications. You can insert
{{name}}for user-entered parameters,{{name.column}}for specific columns of selected rows, and{{signals.name}}for values read by signals, enabling alerts to state exact item details and prices. - Who may use it: Set the template as private (restricted to you and shared users) or public (accessible to any signed-in user who reads sources with their own permissions).
While existing watches rely on a template, any parameters they use cannot be removed or retyped, new parameters cannot be made required, and the template itself cannot be deleted. To prevent additional users from setting watches without deleting the template, toggle Takes new watches.