Live data from Hacker News

Ask HN: Hosting on Digital Ocean, any advice for monitoring and deployments?

news.ycombinator.com

1–10 of 16 posts

Ask HN: Hosting on Digital Ocean, any advice for monitoring and deployments?

#1
I'm moving over from Lambda to Digital Ocean since I found it much easier to test locally and iterate. Unfortunately, I'm not too savvy with setting up monitoring so I can see how often failures are happening and how to smoothly deploy changes on DO. I currently have a setup where I pull each individual change into my instance and re-run docker-compose build etc. Would love to learn more about what tools have helped you for logging/monitoring/deployments

Re: Ask HN: Hosting on Digital Ocean, any advice for monitoring and deployments?

#2
Grafana cloud, install agents, pretty dashboard. Can add custom prom ingestor to load application logs. Sleep good. Feel confident, look at grafana alerts. Cry much. Finally learn promql, pro dashboards, sleep good again.

Seriously though grafana cloud with their agents is pretty easy and affordable. Grafana family of products kind of have a learning curve but they work very well.

Re: Ask HN: Hosting on Digital Ocean, any advice for monitoring and deployments?

#5

Grafana cloud, install agents, pretty dashboard. Can add custom prom ingestor to load application logs. Sleep good. Feel confident, look at grafana alerts. Cry much. Finally learn promql, pro dashboards, sleep good again. Seriously though grafana cloud with their agents is pretty easy and affordable. Grafana family of products kind of have a learning curve but they work very well.

Agents are being deprecated and now moving to Grafana Alloy

but agree. a bit steep, but easy to start with. Grafana cloud can take you really far. (you don't really need all metrics for all running services do you?)

I wish they have built in ping scraper instead of having to run yet another service to do it.

Re: Ask HN: Hosting on Digital Ocean, any advice for monitoring and deployments?

#8
If your app is instrumented with OpenTelemetry, I'd really recommend something like SigNoz (https://signoz.io/) or Axum (https://axiom.co/) (or even https://baselime.io but their application is a mess to work with)

1. Axiom has a generous free plan (not sure if it's self-hostable) 2. SigNoz has an easy to work with self-hosting setup but also cloud solution.

If it's just logging, you can still forward your logs to these platforms but having OTel really goes a long way (from debugging and vendor selection POV).

Post reply on HN