Skip to content
Template: Uptimy Agent, an open-source uptime monitor that runs inside your project
ajdin-halac
OP

a month ago

I run Uptimy, a hosted uptime monitor. From the outside it can't see services on Railway's private network, so I built an open-source agent that runs inside your project, and made a template for it.

The template adds the agent with a volume at /data and a generated ADMIN_PASSWORD (in the service's Variables tab). Because it's in the same project, it can check:

  • *.railway.internal services that aren't exposed publicly
  • your Postgres, MySQL or Redis with a real login and query, using reference variables
  • cron jobs and workers, with heartbeats

It has alerts (Slack, Discord, email and more) and a status page you can put on your own domain. It uses about 8 MiB of memory idle; with 350 monitors it cost $0.43 a month on Railway in my benchmark.

Deploy: https://railway.com/deploy/uptimy-agent?referralCode=-G2iM8&utm_medium=integration&utm_source=template&utm_campaign=station

Live demo status page: https://uptimy-agent-production-b9a3.up.railway.app/status

Repo (Apache-2.0): https://github.com/uptimy/agent

It's free and works on its own, and I plan to keep maintaining it. Optionally you can connect it to a free Uptimy account, which alerts you from outside if the agent stops checking in.

Feedback welcome, especially on what you'd want to monitor in a Railway project.

0 Replies

Welcome!

Sign in to your Railway account to join the conversation.

Loading...