News for hackers. Stuff that matters.
Re:Monitoring Microservices with Prometheus and Grafana by KronisLV on Friday December 09, 2022 @03:46AM (#33919105)
Personally I've also used Apache Skywalking for a decent out of the box experience: https://skywalking.apache.org/

I've also heard good things about Sentry, though if you need to self-host it, then there's a bit of complexity to deal with: https://sentry.io/welcome/

Though of course, Prometheus and Grafana is a rather popular option as well!

Re:Monitoring Microservices with Prometheus and Grafana by candiddevmike on Friday December 09, 2022 @07:42AM (#33920602)
TIL Skywalking exists. It seems like a complete package and very capable, why aren't more folks using it?
Re:Monitoring Microservices with Prometheus and Grafana by KronisLV on Friday December 09, 2022 @09:55AM (#33921829)
> It seems like a complete package and very capable, why aren't more folks using it?

Personal opinion: it doesn't seem to have gotten as much love or attention as many other commercial projects, currently being under Apache Foundation and just slowly trudging ahead. Someone else mentioned it being more popular in China which is fair, but also means that the docs and blog posts about it etc. aren't getting as much attention in the west and other places.

Personally, for many of my use cases (typically simpler projects, <20 services per environment), it's good enough, the platform support is mostly there for most of the popular languages: https://skywalking.apache.org/docs/

The docs are also there and configuring it is actually easier than Sentry, because of fewer moving parts: https://skywalking.apache.org/docs/main/next/en/setup/backen...

I don't particularly like using ElasticSearch which seems like the "happy path" but ES just loves to eat memory in general. Thankfully, there are actually some nice options for alternatives here, I wonder why other projects haven't embraced such modularity: https://skywalking.apache.org/docs/main/next/en/setup/backen...

Re:Monitoring Microservices with Prometheus and Grafana by bpicolo on Friday December 09, 2022 @09:30AM (#33921536)
Looks like it's popular in the tech scene in China. Sometimes tech adoption is about marketing and word of mouth, and that can leave the west vs the east pretty insulated I'm thinking?
Re:Monitoring Microservices with Prometheus and Grafana by sudo_navendu on Friday December 09, 2022 @04:18AM (#33919317)
SkyWalking definitely does it all. But like you mentioned Prometheus plus Grafana is the most popular solution. But it does not compare to the complete observability solution provided by SkyWalking.
Re:Monitoring Microservices with Prometheus and Grafana by dengolius on Friday December 09, 2022 @03:33PM (#33926155)
Sentry have some issues with main sentry database in postgresql that's why I'm not recommend to use it as self hosted.
Re:Monitoring Microservices with Prometheus and Grafana by elchangri on Friday December 09, 2022 @05:01AM (#33919610)
Sentry solves tangential but different use cases. E.g does not allow you to define custom metrics to e.g. monitor resource utilization
Re:Monitoring Microservices with Prometheus and Grafana by KronisLV on Friday December 09, 2022 @07:20AM (#33920453)
> E.g does not allow you to define custom metrics to e.g. monitor resource utilization

I think that might not quite be the case in the latest versions: https://docs.sentry.io/product/performance/metrics/#custom-p...

  In addition to the automatic performance metrics described above, Sentry supports setting custom performance metrics on transactions. 
  Custom performance metrics allow you to define metrics (beyond the ones mentioned above) that are important to your application and send them to Sentry.
  For example, you might want to set a custom metric to track:
  - Total memory usage during a transaction
  - The amount of time being queried
  - Number of times a user performed an action during a transaction
  You define and configure custom metrics in the SDK.
Though for my use cases, Sentry's technical complexity is more of a stumbling block, were I to self-host it: https://github.com/getsentry/self-hosted/blob/master/docker-...
Re:Monitoring Microservices with Prometheus and Grafana by jjzhiyuan on Friday December 09, 2022 @04:05AM (#33919234)
I use Sentry to track errors in my web apps :)