Monirail - Log Monitoring
jaredlunde
EMPLOYEEOP
7 months ago
Description: Set up alerting for logs and metrics using a Railway function
Category: Other
2 Replies
jowo-io
PRO
6 months ago
looks awesome, giving it a try!
jowo-io
PRO
6 months ago
Just got a custom monirail function up and running (without Docker), really cool! Just wanted to say thanks for building this 🙂
Could potentially improve the docs a little for users who wish to setup their own custom functions? Or perhaps I overlooked the docs for doing this?
Couple of little snags I hit:
- A railway.yaml example could be nice, with the correct settings for the Railway function and it's volume - I only realised a volume was required when I hit the
SQLiteError: unable to open database fileerror. - Also, I know it's silly, but I got tripped up on which type of token to use. Accidentally used a User API Token
RAILWAY_TOKEN(e.g. Account → Tokens) instead of Project/Service tokenRAILWAY_API_TOKEN(e.g. Project → Settings → Tokens) - didn't take too long to figure this out, but all these little things just added friction to getting up and running.