Before you start
Create the agent in Observer: Agents, Add agent, then Cloud platforms. Copy the key. Observer shows it once. You paste it when Render asks forAGENT_KEY.
Deploy
1
Open the Blueprint
Choose Deploy to Render above and sign in. Render reads
render.yaml from the agent repository and shows one background
worker, observer-agent, with a 1 GB disk.2
Set the key
Paste your agent key into
AGENT_KEY. The Blueprint sets
CLOUD_SERVER_URL and BUFFER_PATH; leave them as they are.3
Deploy
Choose Deploy Blueprint.
starter instance type, because a disk needs a
paid instance. It runs one instance: the agent’s local queue is a
single-writer file. The disk at /data keeps the
local queue: readings collected while
Observer is unreachable are sent once it is reachable again, including
after a redeploy.
Render asks for AGENT_KEY only when the Blueprint is first created.
To change the key later, for example after a
key rotation, edit the variable on
the worker’s Environment page. Add other
environment variables, such
as PROMETHEUS_SERVER_URL, on the same page.
Check that it connected
The Add agent screen shows Connected within a minute of the agent starting, and the Agents page marks the agent as running. If it does not, open the worker’s Logs in Render. The agent logs every failed call to Observer with the reason. The most common cause is a wrong or replacedAGENT_KEY.
Upgrades
The Blueprint runsghcr.io/useobserver/agent:1, which moves to each
new 1.x release. Deploy the worker again (Manual Deploy) to pick up
a new release.
Remove
Delete theobserver-agent worker from its Settings page. Its disk
is deleted with it. Delete the agent in Observer (Agents) too if
you no longer need it.
