A Monitor accepts data; it does not contain the code that reacts to it. Read
How Monitors work for the product model.
Before you start
You need an authenticated Deepline workspace with Monitor access. Know which source events you want to accept and the smallest scope that produces useful data.1. Check access and inspect supported types
deepline_native.company_radar with one of those IDs, then use its returned
payload schema. Available Monitor types, streams, output tables, and pricing
depend on your workspace and the provider.
If the source might already be covered, inspect the existing registry before
you deploy another feed:
2. Define the narrowest useful scope
Save a definition asmonitor.json. This example watches job openings at one
company through the Deepline Native company radar:
deepline tools describe deepline_native.company_radar --json.
Scope the Monitor itself rather than accepting a broad feed and filtering only
in a Play. For an event-priced Monitor, a Play filter does not reduce the
events the Monitor accepts.
3. Validate without deploying or spending credits
check validates the definition. It does not deploy a Monitor, create an
upstream resource, or spend credits. Resolve every validation error before you
continue.
4. Preview the deployment, then deploy
5. Confirm the live Monitor
6. Connect a Play to the stream
Write a Play with asqlListeners trigger for the Monitor’s exact tool and
stream, for example on-job-opening.play.ts:
where filter to the rows that
should run code. Put joins and business decisions in the Play body, not in the
Monitor definition.
Check and publish the Play when its logic is ready:
Deploy Monitor files from Git
Commit the same JSON definition asmonitors/acme-jobs.monitor.json. Linked
repository deployments discover **/*.monitor.json by default, even when
deepline.json is absent. Set monitors in deepline.json to narrow or
replace that glob:
"monitors": [] disables file discovery.
Pull requests validate the definitions and show proposed changes and available
Deepline pricing without provisioning Monitors. A push to the production branch
applies changes and waits for the Monitor Jobs to finish. Usual Monitor pricing
and workspace access requirements apply.
Stopped Monitors stay stopped when you push. Deleting a file, narrowing the
globs, or setting "monitors": [] leaves existing Monitors unchanged. Remove
a live Monitor explicitly using the commands below.
Provider changes are not rolled back if a later step fails. Inspect
deepline git deployments <id> and the affected Monitors before retrying.
Change or remove a Monitor safely
Inspect the Monitor and its connected Plays before changing it. Its output stream can also feed queries, dashboards, exports, or warehouse jobs.How Monitors work
Understand the event path and the boundary between a Monitor and a Play.
Where data lives
Decide when an event belongs in the Database and when an outcome belongs in
a CRM.
Monitor contract reference
Inspect supported Monitor payloads, streams, outputs, and update semantics.