News for hackers. Stuff that matters.
Re:Netdata: Open-source real-time monitoring platform by mekster on Wednesday April 21, 2021 @06:18AM (#26887548)
All these graphs are never really actionable and are only of interest for a short period of time and you won't be looking at it after a while because they don't mean anything unless you know where and when the problem is.

A sever admin wants "Incident" panel that only shows anomaly components at the top coupled with adjustable alerting mechanism and not just a dump of all the data there is blindly.

There are so many tools that does this and pretend it's impressive including ELK but whether it's Grafana or Kibana, you need a lot of manual tweaking to make the dashboards actually useful.

Re:Netdata: Open-source real-time monitoring platform by andrewm4894 on Wednesday April 21, 2021 @06:42AM (#26887741)
Disclaimer - i work at Netdata Cloud on ML.

This is one of the things i am focusing on most - how to package and then surface up "anomaly events" to the user that the user can then quickly digest and decide if they are or are not something that could represent an "incident". So human in the loop sort of ML to help assist and lower the cognitive load of all the charts.

We have a first step on this ladder via the python based anomalies collector that you could play around with to see if any use: https://learn.netdata.cloud/docs/agent/collectors/python.d.p...

That will give two summary aggregation type charts based on anomaly scores built off all the system.* charts by default (but can be configured however you want) - so, at each second, an anomaly probability for each chart and an anomaly flag if the model thinks that chart looked anomalous at that time.

We are also working on some other related projects to build on this capability out more and do it at the edge, in C++ or Go as opposed to Python, (or via a parent node) as cheap as possible so minimal, ideally negligible, impact on the agent itself. We should have some more features related to this in coming months as we are just trying to dogfood them internally a little first.

Anyone interested i'd love to hear some more feedback here or in this community megathread here: https://community.netdata.cloud/t/anomalies-collector-feedba... or just email me at [email protected]

Re:Netdata: Open-source real-time monitoring platform by lima on Wednesday April 21, 2021 @09:16AM (#26889240)
What's the argument for anomaly detection - it's an obvious thing to do that has been tried many times, but doesn't actually seem to provide much value in practice (especially at large scale, where you'll get spurious correlations).

What would you need it for? Once you defined your SLOs, either your service meets them or not. What's the value in alerting someone that "this graph looks funny"?

Re:Netdata: Open-source real-time monitoring platform by mdale on Wednesday April 21, 2021 @09:49AM (#26889646)
I generally agree that well defined SLOs for back end services works as you define service contacts between services and care less about the particular funny graph being surfaced more that a particular service is out of contract.

Where automatic anomaly detection was very valuable for us was in the video domain with multi dimensional end user telemetry. I.e what would be lost as noise in top level metics could be surfaced via anomaly detection for specific combination of dimensions that you could not otherwise manually observe. I.e video start time in Mexico is fine ... But an ISP in Mexico City is not failing but when data is sliced and anomaly highlighted we see its newly under preforming and we need to feed this data into our CDN switching to improve video start time there.

The data had too many dimensions that were always changing with degraded experience easily lost in the noise when measuring across platform and our software updates, combinations target devices, connection types, geo location, specific content, active ab tests, etc. In such cases automatic anomaly detection was pretty critical.

Re:Netdata: Open-source real-time monitoring platform by toomanybeersies on Wednesday April 21, 2021 @12:12PM (#26891565)
> What's the value in alerting someone that "this graph looks funny"?

What's the value in mentioning to someone that the chicken they're about to eat looks a bit raw?

It stops them from eating it and getting food poisoning.

Anomalies are often warnings (harbingers?) of a problem which could lead to a fault and downtime.

Re:Netdata: Open-source real-time monitoring platform by andrewm4894 on Wednesday April 21, 2021 @12:03PM (#26891432)
I almost think of anomaly detection as a UI/UX type tool to help users navigate the data/systems. So use ML to find "interesting" or "novel" periods of time in your architecture (in the sense that the ML thinks they look novel based on some model), and then enable a user who is ultimately best placed to decide if it's actually of real interest to them or more like a false positive that they can just ignore and move on.

So doing it in a way where you can quickly scan such events i think could be useful even if only 1 in 20 actually turn out to be some potential problem that might have been missed by your alarms or maybe could even be a precursor to some impact on SLO's etc.

The aim would also be "this collection of graphs look funny at the same time" as opposed to "the individual graph looks funny" as if you have an anomaly score for every chart for sure at any given moment some individual charts would be randomly firing. But when you pool the information across charts and hosts and systems the hope is that then you can use anomaly detection as another way to explore your system and catch when things change unexpectedly.

Re:Netdata: Open-source real-time monitoring platform by cakrit on Wednesday April 21, 2021 @09:25AM (#26889352)
It's about troubleshooting. When you have a complex infrastructure, it's not enough to say that your db queries are slower than usual. Ok, so you immediately see that your db server is getting a lot more traffic. What was the root cause though and what can you do about it now? Given enough "funny charts", you can see for example that you have hit a resource limit that you can temporarily raise and also see that a particular component of your infrastructure has an anomalous behavior, e.g. a cron job that was usually utilizing resources for a few seconds, now takes minutes. So you can provide a quick workaround and move on to investigate what changed with that cron job.
Re:Netdata: Open-source real-time monitoring platform by laminatedsmore on Wednesday April 21, 2021 @09:35AM (#26889475)
Do 4xx responses count against your SLO? For me they don't, but an abnormal increase might still signify that something is actually wrong. (I haven't yet found a useful tool for highlighting this kind of abnormality though)
Re:Netdata: Open-source real-time monitoring platform by antman on Wednesday April 21, 2021 @09:51PM (#26897802)
Since you're creating an interface for python algotithms please make the interface public well documented and easily extendable snd allow it to have different algo per meter.
Re:Netdata: Open-source real-time monitoring platform by andrewm4894 on Thursday April 22, 2021 @02:18AM (#26899373)
Here is a guide around how to develop your own python based collector.

https://learn.netdata.cloud/guides/python-collector

Re:Netdata: Open-source real-time monitoring platform by ARandomerDude on Wednesday April 21, 2021 @05:31PM (#26895705)
I completely disagree. I work on a system with multiple servers communicating with each other and billions of events per day. Watching the meters wiggle on all the servers simultaneously is a really important debugging tool. If something slows down or goes down, and you know what it's connected to, it's pretty easy to troubleshoot what the cause is at an incredibly specific level just by looking at the meters.

I think it's likely one's take on whether these tools are useful is very dependent on the system architecture.

Re:Netdata: Open-source real-time monitoring platform by ktsaou on Wednesday April 21, 2021 @11:19AM (#26890814)
Thank you for this feedback. I am the founder of Netdata.

Netdata is about making our lives easier. If you need to tweak Netdata, please open a github issue to let us know. It is a bug. Netdata should provide the best possible dashboards and alerts out of the box. If it does not for you, we missed something and we need your help to fix it, so please open a github issue to let us know of your use case. We want Netdata to be installed and effectively used with zero configuration, even mid-crisis, so although tweaking is possible and we support plenty of it, it should not be required.

An "incident" is a way to organize people, an issue management tool for monitoring, a collaboration feature. Netdata's primary goal however, is about exploring and understanding our infrastructure. We are trying to be amazingly effective in this by providing unlimited high resolution metrics, real-time dashboards and battle tested alarms. In our roadmap we have many features that we believe will change the way we understand monitoring. We are changing even the most fundamental features of a chart.

Of course at the same time we are trying to improve collaboration. This is why Netdata.Cloud, our free-forever SaaS offering that complements the open-source agent to provide out of the box infrastructure-level monitoring along side several convenience features, organizes our infra in war-rooms. In these war-rooms we have added metrics correlation tools that can help us find the most relevant metrics for something that got our attention, an alarm, a spike or a dive on a chart.

For Netdata, the high level incident panel you are looking for, will be based on a mix of charts and alarms. And we hope it is going to be also fully automated, autodetected and provided with zero configuration and tweaking. Stay tuned. We are baking it...

Re:Netdata: Open-source real-time monitoring platform by Croftengea on Wednesday April 21, 2021 @12:06PM (#26891469)
> our free-forever SaaS offering that complements the open-source agent

How do you make or plan to make money?

Re:Netdata: Open-source real-time monitoring platform by ktsaou on Wednesday April 21, 2021 @02:41PM (#26893775)
The same way GitHub, Slack or Cloudflare provide massively free-forever SaaS offerings while making money.

We believe that the world will greatly benefit by a monitoring solution that is massively battle tested, highly opinionated, incorporating all the knowledge and experience of the community for monitoring infrastructure, systems and applications. A solution that is installed in seconds, even mid-crisis and is immediately effective in identifying performance and stability issues.

The tricky part is to find a way to support this and sustain it indefinitely. We believe we nailed it!

So, we plan to avoid selling monitoring features. Our free offering will never have a limit on the number of nodes monitored, the number users using it, the number of metrics collected, analyzed and presented, no limit on the granularity of data, the number of war-rooms, of dashboards, the number of alarms configured, the notifications sent, etc. All these will always be free.

And no, we are not collecting any data for ML or any other purpose. The opposite actually: we plan to release ML at the edge, so that each server will learn its own behavior.

We plan to eventually sell increased convenience features, enforcement of compliance to business policies and enterprise specific integrations, all of them on top of the free offering.

Re:Netdata: Open-source real-time monitoring platform by sdesol on Wednesday April 21, 2021 @02:31PM (#26893637)
I was analyzing the activity in the netdata project and what I found interesting was this project is less active than I would have thought. See the following for insights into the project:

https://public-001.gitsense.com/insights/github/repos?q=wind...

In the last 30 days, there were 2 frequent and 3 occasional contributors. I honestly thought frequent contributors would have been much higher, which leads me to believe the project is quite mature and they don't need a lot of people to work on netdata.

Based on Crunchbase, they've raised about 33 million so far and if the number of people required to maintain netbase is low (relatively speaking that is), I can see them not really needing to worry about making money and I'm guessing they are finding value in gathering data for ML.

Re:Netdata: Open-source real-time monitoring platform by ktsaou on Wednesday April 21, 2021 @03:02PM (#26894028)
> they've raised about 33 million

yes, this is right

> if the number of people required to maintain netbase is low (relatively speaking that is)

The Netdata agent is a robust and mature product. We maintain it and we constantly improve it, but:

- most of our efforts go to Netdata.Cloud

- most of the action in the agent is in internal forks we have. For example, we are currently testing ML at the edge. This will eventually go into the agent, but is not there yet. Same with EBPF. We do a lot of work to streamline the process of providing the best EBPF experience out there.

> I can see them not really needing to worry about making money

We are going to make money on top of the free tier of Netdata.Cloud. We are currently building the free tier. In about a year from now we will start introducing new paid features to Netdata.Cloud. Whatever we will have released by then, will always be free.

> I'm guessing they are finding value in gathering data for ML

No, we are not gathering any data for any purpose. Our database is distributed. Your data are your data. We don't need them.

Re:Netdata: Open-source real-time monitoring platform by sdesol on Wednesday April 21, 2021 @03:53PM (#26894585)
Hey thanks for the insights. I figured effort was being spent elsewhere and/or was not visible in the public repo.
Re:Netdata: Open-source real-time monitoring platform by andrewm4894 on Wednesday April 21, 2021 @03:07PM (#26894086)
oh cool that's a nice tool.

p.s. i am the only person working on ML at Netdata and i can confirm we don't gather any data for ML purposes, which is actually my biggest challenge right now :) - convincing people the ML can be useful without having lots of nice labeled data from real netdata users to be able to quantify that with typical metrics like accuracy etc. I'm hoping to introduce mainly unsupervised ML features into the product that don't rely on lots of labeled data and have thumbs up/down type feedback and we can then use that to figure out if new ML based features are working or being useful for users. So any models that would be trained would be trained on the host and live on the host as opposed to in Netdata Cloud somewhere.

Re:Netdata: Open-source real-time monitoring platform by sdesol on Wednesday April 21, 2021 @03:58PM (#26894648)
> i am the only person working on ML at Netdata and i can confirm we don't gather any data for ML purposes, which is actually my biggest challenge right now :)

Yeah I would have to imagine that it would be an issue. This is just my personal opinion, but I think there should be a way to provide anonymized data for building models for anomaly detection. Maybe an opt-in feature, as it would benefit everybody using netdata, but this is just my own personal opinion.

Re:Netdata: Open-source real-time monitoring platform by nawgz on Wednesday April 21, 2021 @02:08PM (#26893311)
This is a good question, their website doesn't seem to have any "Pricing" information anywhere and everything is "get now" and "sign up for free"...
Re:Netdata: Open-source real-time monitoring platform by toomanybeersies on Wednesday April 21, 2021 @11:58AM (#26891359)
There's value in having large dashboards that contain a bunch of non-prioritised graphs and gauges. I've managed to find a fair few problems by scrolling through such dashboards. Usually it's due to poorly configured monitors/alerts, but sometimes I'll spot things that you wouldn't reasonably expect an algorithm to pick up.

Plus it's good fun to look at a big dashboard and pretend you're Homer Simpson at the Springfield Nuclear Power Plant.

Re:Netdata: Open-source real-time monitoring platform by jeffbee on Wednesday April 21, 2021 @12:44PM (#26892021)
Based on my experience a dashboard that you only use when you know where and when the problem occurred is incredibly useful, and the lack of one can be very frustrating. While you of course need a systematic approach to incident detection, you also need comprehensive eyes-on-glass dashboards during your investigations. "Anomaly detection" is much spoken of but generalized anomaly detection doesn't exist. You still need skilled operators to just have a look around in many cases.

An example, drawn from several major incidents in my career. You get an alert, you narrow it down to a process or machine, you evict the machine from your serving population to remediate the incident, but how do you keep it from recurring? The anomalous thing isn't apparent in your monitoring data, so it must be among the bazillion statistics that a running system exposes, but which you can't afford to collect and monitor on a per-host, per-container, per-process level of detail. That's when you want something exactly like netdata!

Re:Netdata: Open-source real-time monitoring platform by mdip on Wednesday April 21, 2021 @10:23AM (#26890073)

  > never really actionable ... only of interest for a short period ... you know where and when the problem is.
I'm not a sysadmin of a large shop (I did that for a short bit, but prior to this existing), so I can only speak as a guy who runs a few big linux servers/virtuals. I've had netdata installed on my home severs for quite some time. And yes, the graphs were really cool, at first, and kinda went into the background.

Here's the thing: when something isn't right with those boxes, that's become the first place I visit. Since I had some franken-boxes with a bunch of storage, it's often related to the array, or btrfs. When I hop in there I'll notice an alert or two, gooble it, alter something and never see it again. It helped me solve some network issues.

I don't know, short of it being a more busy process than I wish it were on my server (only a little and I'm running a few plug-ins on the one that I'm unhappy with), it's been helpful.

Re:Netdata: Open-source real-time monitoring platform by fatlasp on Wednesday April 21, 2021 @11:19AM (#26890813)
Same. I'm not a fully qualified sys admin but I do have access to a number of our servers (I'm more of a full stack generalist than an expert at anything) and I immediately go to netdata when one of my services isn't acting right. For me its a nice 'system at a glance' where I can check on the host and then alert someone more knowledgeable than myself if there's something that looks off
Re:Netdata: Open-source real-time monitoring platform by xPaw on Wednesday April 21, 2021 @06:19AM (#26887560)
Netdata does have alarms/alerts, and comes with default ones.

https://learn.netdata.cloud/guides/step-by-step/step-05

Re:Netdata: Open-source real-time monitoring platform by odyslam on Wednesday April 21, 2021 @06:23AM (#26887587)
Actually, we give a lot of thought in defining sane default alarms for most of the data sources that we have.

We want our users to get 80% of the value with 20% of the effort.

It's an opinionated approach that liberates a lot of users from having to setup and maintain everything.

Re:Netdata: Open-source real-time monitoring platform by mdip on Wednesday April 21, 2021 @10:40AM (#26890253)
I think you took a lot of flack in the original comment[0]

The alarms in netdata resolved a long-standing network issue on one of my boxes, and have variously alerted me to problems I could resolve with storage which greatly improved performance on my largest volume. On my other box, one look at the graphs alerted me to the fact that the entire SSD for my bcache volume was going unused[1]. I then used them while altering configuration and working with the drive to ensure the cache was being filled in a manner consistent with what the volume stored/how it was used.

The more I think about it, I might not have been as enthusiastic in my original comment as I should have been. It's been very helpful to me. I don't usually keep things like this running for very long (it wastes cycles on aging hardware...that isn't heavily used, but hey, it's the principal!) but I've kept this around because every time I've thought about removing it, I've visited the dashboard one last time and found something there that made me keep it.

[0] Though, as I mentioned, I'm not a sysadmin; I have a lab that might indicate otherwise, but I don't get paid for it.

[1] I had reloaded the machine/redone a previous configuration that included bcache and it screamed; I knew my new setup was much slower but I had forgotten about it until netdata made it obvious, again. I can't remember what I had to do to fix it, but it had something to do with the policy used to determine if a file should be put into the cache, and I think it was related to the fact that the cache was added to a volume with data present that rarely changed.

Re:Netdata: Open-source real-time monitoring platform by unixhero on Wednesday April 21, 2021 @06:42AM (#26887743)
I do not necessarily disagree with you regarding what a server admin / ops personnel needs, however;

I for one deeply enjoy interacting with my Netdata dashboard whenever I want to deep dive into my servers resources and behaviors. For me it fits a purpose and if I ever were to run a company that hosted things, I would want it and I would want to pay for it. I am a huge fan and a long time homelab user of Netdata.

Re:Netdata: Open-source real-time monitoring platform by ohthehugemanate on Wednesday April 21, 2021 @02:19PM (#26893462)
> A sever admin wants "Incident" panel that only shows anomaly components at the top coupled with adjustable alerting mechanism and not just a dump of all the data there is blindly.

Netdata does this too, with a ton of thresholds already set up by default. The list of active alerts is at the top, with a badge and everything. Notifications use a hook system, so you can use whatever mechanism you like. Personally I get emails for medium level alerts, SMS for high and above, and wall posts/notifications on my primary machine for crits. It took some tuning to get the thresholds right for me, all perfectly easy to do.

I agree I would prefer to have the active warnings more visible than the graphs, but one click away really isn't bad.

Re:Netdata: Open-source real-time monitoring platform by tyingq on Wednesday April 21, 2021 @08:27AM (#26888702)
I agree with this, and it's interesting how many open source tools there are that create these graphs and charts, store tons of data, etc. All with a mostly "eyes on glass" bent, which doesn't scale terribly well.

When, really, what's more important is actionable events, correlation, duplicate suppression, escalating notifications, etc. Something like what "Netcool Omnibus" and other commercial software does. Isolate actionable problems and make sure somebody owns the problem.

But for reasons I don't understand, there isn't much in the open source world in that space.

Re:Netdata: Open-source real-time monitoring platform by goodpoint on Wednesday April 21, 2021 @11:39AM (#26891093)
Netdata is focused on short-term, real-time metrics. I use it often during development.
Re:Netdata: Open-source real-time monitoring platform by nednar on Wednesday April 21, 2021 @11:59AM (#26891369)
You seem to have a very specific vision. Could you mock it somehow? HTML, Figma, Paint, Powerpoint, whatever? Quite curious about ideas.
Re:Netdata: Open-source real-time monitoring platform by chrisandchris on Wednesday April 21, 2021 @12:27PM (#26891792)
So true.

But netdata also supports alerts by e-mail or HTTP-based (e.g. for Slack), so why not just turn on notifications and live from them?