Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Grafana, Prometheus, Jaeger

This is a lot of infrastructure, we are talking about a tiny app here. Are you sure this is warranted?

Honestly I would prefer to have observability as a library, that's not feasible because of two factors, a) I really want distributed tracing (no microservices - I just want to combine traces from frontend and backend) so I need a place to join them, and b) it could/would lead to loss of traces when the program crashes.

In any case, it makes sense for me to choose tracing and metrics libraries that can output either OpenTelemetry or Prometheus and Jaeger, in the event that OpenTelemetry is not enough.

> Loki is also just fine and much better than Elastic/OpenSearch.

Wait, there is more?



> combine traces from frontend and backend

I'm scratching my head a little bit on what your expectation is here. Traces and real-user-monitoring are not the same thing here. Distributed tracing is specifically a microservices thing. Maybe all you're looking for is to just attach a UUID to each request and log it? Jaeger and Tempo aren't going to help you with frontend code.

> A lot of infrastructure

> Prometheus

You need something to tell you when your tiny app isn't running, so it can't be a library embedded into the app itself.

> Grafana

You need something with dashboards to help you understand what's going on. If your thing telling you your app has crashed is outside your app, the thing that helps visualize what happened before your app crashed also needs to be outside your app.

> Jaeger

Do you really need traces? Or just to log how long request times took, and have metrics for p50/p95/p99?

> Loki

If you're running only one instance of your app, you don't need it, just read through your logfiles with hl. If you have multiple machines, sending your logs to one place may not be necessary, but it's incredibly helpful; the alternative is basically ssh multiplexing...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: