News for hackers. Stuff that matters.
Re:Netdata: Open-source real-time monitoring platform by tifadg1 on Wednesday April 21, 2021 @06:56AM (#26887851)
Could someone enlighten me on the internals, how is netdata able to get realtime granularity, whereas prometheus defaults to 15s?
Re:Netdata: Open-source real-time monitoring platform by cakrit on Wednesday April 21, 2021 @09:34AM (#26889466)
It's because it was built with high granularity and unlimited metrics as a key differentiator from the beginning. The core is written in pure C, optimized to death. Even long-term retention was initially sacrificed, in order to be able achieve that high performance, with minimal resource needs.

Long term retention is now possible, but with relatively high memory requirements, depending on how many metrics are collected. Again, it was a decision to never give up realtime granularity and speed, even at the cost of writing our own timeseries db in C and utilizing more memory.

Re:Netdata: Open-source real-time monitoring platform by gregwebs on Wednesday April 21, 2021 @02:51PM (#26893903)
Prometheus is designed around metric centralization and running a scraper at some interval (every 15s). Netdata was originally focused on running on a single node and collecting at small intervals. Centralizing that data every second is a separate task, and you could avoid it with Netdata simply by viewing Netdata on the node in question. Netdata can also be configured to stream data to a central node.

The centralized pull architecture of Prometheus does not lend itself towards small interval updates or towards resiliency (you actually need to run 2 Prometheus and double scrape for that).

Re:Netdata: Open-source real-time monitoring platform by wongarsu on Wednesday April 21, 2021 @09:04AM (#26889126)
I doesn't store much history from what I can tell. If you don't have years worth of data points then having 15 times as many isn't a big deal.
Re:Netdata: Open-source real-time monitoring platform by mekster on Wednesday April 21, 2021 @10:21AM (#26890040)
And people are somehow meant to only monitor a single server?

There's a reason timeseries databases are trying to get downsampling right.

Re:Netdata: Open-source real-time monitoring platform by manigandham on Wednesday April 21, 2021 @01:40PM (#26892908)
It's a locally installed agent that monitors and serves metrics on the same host. If you want to monitor multiple hosts then you can either visit the dashboards individually, or scrape the APIs and put the metrics on a combined dashboard - which is what Netdata Cloud is.
Re:Netdata: Open-source real-time monitoring platform by distantsounds on Wednesday April 21, 2021 @08:54AM (#26888998)
it polls every second, to get metrics every second. genius, i know?