netdata README

项目的 README,来自 github.com/netdata/netdata。合并为一个 markdown 文件:README.md。

Netdata Netdata

Full-stack observability: the AI SRE that learns your stack!

Metrics · Logs · Traces · Flows · Topology
Infrastructure · APM · NPM · DBM · RUM · Synthetics · Cloud · AI
OpenTelemetry · SNMP · NetFlow/IPFIX/sFlow · IPMI · Redfish · 2,000+ integrations


GitHub Stars
Live Demo Latest release Latest nightly build
Discourse topics GitHub Discussions
CII Best Practices Coverity Scan

User base Servers monitored Sessions served Docker Hub pulls

Visit our Home Page


MENU: WHO WE ARE | KEY FEATURES | GETTING STARTED | HOW IT WORKS | FAQ | DOCS | COMMUNITY | CONTRIBUTE | LICENSE

[!WARNING] People get addicted to Netdata. Once you use it on your systems, there's no going back.

Platforms


WHO WE ARE

Netdata is a full-stack observability platform: infrastructure, application performance monitoring (OpenTelemetry traces, service maps, RED), digital experience (real user monitoring, synthetic monitoring), network performance monitoring (SNMP, topology, NetFlow/IPFIX/sFlow, traps, BGP), databases, logs (monitoring and management) and cloud, with AI troubleshooting over all of it.

Netdata is distributed and real-time. Netdata Agents collect, store and analyze data where it is generated, per second, with machine learning anomaly detection on every metric. Netdata Parents and Netdata Cloud combine them into one view, without centralizing the data. Netdata scales to 100,000+ nodes, and its Agent is open source.

Netdata Design:

Read Netdata Design for the reasoning behind each decision, and the Complete Product Description for every capability.

Most Energy-Efficient Monitoring Tool

Energy Efficiency Energy efficiency

According to the University of Amsterdam study, Netdata is the most energy-efficient tool for monitoring Docker-based systems. The study also shows Netdata excels in CPU usage, RAM usage, and execution time compared to other monitoring solutions.


Key Features

Area What you get
Infrastructure monitoring Systems, containers, Kubernetes, virtualization and hardware through 2,000+ integrations, per second
Application performance monitoring Find any trace by ID, filter traces by any attribute, and see latency percentiles and errors for any slice of traffic, with service maps and browser sessions linked to backend traces. Traces stay on your infrastructure.
Digital experience monitoring Real user monitoring with Core Web Vitals and JavaScript errors, Playwright journeys, Lighthouse audits, uptime
Network performance monitoring Zero-configuration SNMP with 1,750+ device profiles, L2/L3 topology, NetFlow/IPFIX/sFlow, SNMP traps, BGP
Database monitoring 50+ databases and managed services, with live top-query views on 12 engines
Logs monitoring systemd-journal, Windows Event Log and macOS unified logs queried in place on every node, with no shipping or extra storage
Logs management Collect logs from any source through OpenTelemetry and syslog, search every field, and explore with facets and histograms. Logs are acknowledged only once safely on disk and are searchable as they arrive, with retention and offload to your own S3 storage.
Cloud monitoring 31 AWS services through CloudWatch, 38 Azure services through Azure Monitor, and Google Cloud
Endpoint and edge monitoring Windows, macOS, IoT and embedded devices with the same Agent
Alerting 1,100+ stock alerts, your own alerts as code, from the UI or generated by AI, 30+ notification integrations
Machine learning and AI Anomaly detection on every metric, Netdata AI investigations, MCP servers for any AI assistant
Long-term retention About 0.6 bytes per sample, with tiered storage that keeps per-second, per-minute and per-hour history
Scalability Independent hubs (Parents for metrics; Agents for devices, logs, traces and flows) unified by Netdata Cloud, 100,000+ nodes

Netdata Ecosystem

This three-part architecture scales from a single node to fleets of 100,000+ nodes:

Component Description License
Netdata Agent • Core engine: collection, storage, machine learning, alerting, streaming, export
• Also a hub: Parents for metrics; Agents for SNMP, flows, traps, logs and traces
• Runs on servers, cloud, Kubernetes, Windows, macOS and edge devices
• MCP server built in
GPL v3+
Netdata Cloud • Unifies and correlates all hubs in one view
• Netdata AI, traces explorer, Network Monitor, digital experience and uptime views
• RBAC, SSO, SCIM
• SaaS or Enterprise On-Prem
• Free community tier
• Data stays on your infrastructure
Netdata UI • Dashboards and visualizations
• Free to use
• Included in standard packages
• Latest version via CDN
NCUL1

What You Can Monitor

With Netdata you can monitor all these components across platforms:

Component Linux FreeBSD macOS Windows
System Resources
CPU, Memory and system shared resources
Full Yes Yes Yes
Storage
Disks, Mount points, Filesystems, RAID arrays
Full Yes Yes Yes
Network
Interfaces, Protocols, Firewall, etc
Full Yes Yes Yes
Hardware & Sensors
Fans, Temperatures, Controllers, GPUs, etc
Full Some Some Some
O/S Services
Resources, Performance and Status
Yes
systemd
- - Yes
Windows Services
Processes
Resources, Performance, OOM, and more
Yes Yes Yes Yes
Logs Monitoring
Logs queried where the OS stores them
Yes
systemd-journal
- Yes
unified logs
Yes
Windows Event Log, ETW
Logs Management
OpenTelemetry logs and syslog, collected and indexed
Yes - Yes -
Network Connections
Live TCP and UDP sockets per PID
Yes Yes Yes Yes
Network Performance Monitoring
SNMP devices, Topology, Traps, BGP
Full Full Full Full
Network Flows
NetFlow, IPFIX, sFlow
Yes - - -
Containers
Docker/containerd, LXC/LXD, Kubernetes, etc
Yes - - -
VMs (from the host)
KVM, qemu, libvirt, Proxmox, etc
Yes
cgroups
- - Yes
Hyper-V
Synthetic Checks
Test APIs, TCP ports, Ping, Certificates, etc
Yes Yes Yes Yes
Packaged Applications
nginx, apache, postgres, redis, mongodb,
and hundreds more
Yes Yes Yes Yes
Cloud Services
AWS, Azure and Google Cloud
Yes Yes Yes Yes
Custom Applications
OpenMetrics and StatsD
Yes Yes Yes Yes
OpenTelemetry (OTLP)
Metrics, logs and traces over gRPC and HTTP
Yes - Yes -

On Linux, you can continuously monitor all kernel features and hardware sensors for errors, including Intel/AMD/Nvidia GPUs, PCI AER, RAM EDAC, IPMI, S.M.A.R.T, Intel RAPL, NVMe, fans, power supplies, and voltage readings.


Getting Started

You can install Netdata on all major operating systems. To begin:

1. Install Netdata

Choose your platform and follow the installation guide:

[!NOTE] You can access the Netdata UI at http://localhost:19999 (or http://NODE:19999 if remote).

2. Configure Collectors

Netdata auto-discovers most metrics, but you can manually configure some collectors:

3. Configure Alerts

You can use 1,100+ stock alerts, add your own, and send notifications to:

email, Slack, Telegram, PagerDuty, Discord, Microsoft Teams, and more.

[!NOTE]
Email alerts work by default if there's a configured MTA.

4. Configure Parents

You can centralize dashboards, alerts, and storage with Netdata Parents:

[!NOTE]
You can use Netdata Parents for central dashboards, longer retention, and alert configuration.

5. Connect to Netdata Cloud

Sign in to Netdata Cloud and connect your nodes for:

[!NOTE]
Netdata Cloud is optional. Your data stays in your infrastructure.

Live Demo Sites

See Netdata in action
FRANKFURT | NEWYORK | ATLANTA | SANFRANCISCO | TORONTO | SINGAPORE | BANGALORE
These demo clusters run with default configuration and show real monitoring data.
Choose the instance closest to you for the best performance.


How It Works

Netdata Agents collect, store, analyze and alert where data is created. Hubs concentrate each kind of data where you choose, and Netdata Cloud unifies them into one view.

flowchart LR
  subgraph Sources[What you monitor]
    S1[Servers, VMs, containers, Kubernetes]
    S2[Network devices: SNMP, flows, traps]
    S3[Hardware: IPMI, Redfish]
    S4[Applications: OpenTelemetry traces and logs]
    S5[Browsers and synthetic checks]
  end
  subgraph Hubs[Hubs you place per site, region or team]
    H1[Agents and Parents: metrics]
    H2[Agents: network devices and hardware]
    H3[Agents: logs, traces, flows, RUM]
  end
  C[Netdata Cloud: one view, correlated]:::mainNode
  S1 --> H1
  S2 --> H2
  S3 --> H2
  S4 --> H3
  S5 --> H3
  H1 <--> C
  H2 <--> C
  H3 <--> C

  classDef mainNode fill:#f0f0f0,stroke:#333,stroke-width:1px,color:#333

Inside every Agent

flowchart TB
  A[Netdata Agent]
  A1(Collect) --> A
  A2(Store) --> A
  A3(Learn) --> A
  A4(Detect) --> A
  A5(Check) --> A
  A6(Stream) --> A
  A7(Archive) --> A
  A8(Query) --> A
  A9(Score) --> A

With each Agent you can:

  1. Collect – Gather metrics from systems, containers, apps, logs, APIs, and synthetic checks.
  2. Store – Save metrics to a high-efficiency, tiered time-series database.
  3. Learn – Train ML models per metric using recent behavior.
  4. Detect – Identify anomalies using trained ML models.
  5. Check – Evaluate metrics against pre-set or custom alert rules.
  6. Stream – Send metrics to Netdata Parents in real time.
  7. Archive – Export metrics to Prometheus, InfluxDB, OpenTSDB, Graphite, and others.
  8. Query – Access metrics via an API for dashboards or third-party tools.
  9. Score – Use a scoring engine to find patterns and correlations across metrics.

[!NOTE]
Learn more: Netdata's architecture

Agent Capabilities

With the Netdata Agent, you can use these core capabilities out-of-the-box:

Capability Description
Collection • 2,000+ integrations
• Systems, containers, VMs, hardware sensors
• SNMP devices, NetFlow/IPFIX/sFlow, SNMP traps
• OpenMetrics, StatsD, and OpenTelemetry (OTLP metrics, logs and traces)
• Real user monitoring and synthetic checks
Resolution • Per-second collection
• Real-time visualization with 1-second latency
• High-resolution metrics
Machine Learning • ML models trained at the edge
• Automatic anomaly detection per metric
• Scoring engine that ranks what changed in any time window
Logs Monitoring • systemd-journal, Windows Event Log and macOS unified logs queried in place
• No log shipping, pipelines or extra storage
• Rich log visualization
Logs Management • OpenTelemetry logs and syslog from any source
• Every field searchable, with facets and histograms
• Acknowledged only once safely on disk
• Searchable as logs arrive
• Retention by size, age and count; offload to your own S3 storage
APM and Traces • Find any trace by ID
• Filter by any attribute
• Latency percentiles and errors for any slice of traffic
• Per-service request rate, errors and duration
• Service map
Streaming and Replication • Parent-Child relationships
• Flexible centralization
• Multi-level replication and retention
Visualization • NIDL data model
• Auto-generated dashboards
• No query language needed
Alerting • 1,100+ stock alerts and your own
• Multiple notification methods
• Evaluated on every Agent, without Netdata Cloud
AI and MCP • MCP server on every Agent and Parent
• Any AI assistant can query metrics, logs, alerts and live views
Operations • Auto-detection
• Zero-touch ML
• Scales to 100,000+ nodes
• CI/CD friendly
Extensibility • Modular architecture
• Configurable as code, from the UI, or both
• Integrates with existing tools

CNCF Membership

CNCF Logo
Netdata actively supports and is a member of the Cloud Native Computing Foundation (CNCF).
It is one of the most starred projects in the CNCF landscape.


Our Story

All heroes have a great origin story. Click to discover ours.

In 2013, at the company where Costa Tsaousis was COO, a significant percentage of their cloud-based transactions failed silently, severely impacting business performance.

Costa and his team tried every troubleshooting tool available at the time. None could identify the root cause. As Costa later wrote:

“I couldn’t believe that monitoring systems provide so few metrics and with such low resolution, scale so badly, and cost so much to run.”

Frustrated, he decided to build his own monitoring tool, starting from scratch.

That decision led to countless late nights and weekends. It also sparked a fundamental shift in how infrastructure monitoring and troubleshooting are approached, both in method and in cost.


FAQ

Is Netdata secure?

Yes. Netdata follows OpenSSF best practices, has a security-first design, and is regularly audited by the community.

Does Netdata use a lot of resources?

No. Even with ML and per-second metrics, Netdata uses minimal resources.

  • Under 5% of one CPU core and about 200 MB of RAM on a typical server, with machine learning enabled
  • About 30 MiB of RAM on edge devices configured as a lightweight Child
  • A Parent handles about 500 nodes or 2 million metrics per second; add Parents to grow

You can use the Netdata Monitoring section in the dashboard to inspect its resource usage.

How much data retention is possible?

As much as your disk allows.

With Netdata you can use tiered retention:

  • Tier 0: per-second resolution
  • Tier 1: per-minute resolution
  • Tier 2: per-hour resolution

These are queried automatically based on the zoom level.

Can Netdata scale to many servers?

Yes. With Netdata you can:

  • Scale out with independent hubs: Parents for metrics, and Agents for network devices, logs, traces and flows
  • Add capacity by adding hubs; queries run in parallel where the data is
  • Scale to 100,000+ nodes; Netdata Cloud SaaS serves more than 100,000 reachable nodes

Netdata Cloud unifies and correlates all hubs into one view.

Is disk I/O a concern?

No. Netdata minimizes disk usage:

  • Metrics are flushed to disk every 17 minutes, spread out evenly
  • Uses direct I/O and compression (ZSTD)
  • Can run entirely in RAM or stream to a Parent

You can use alloc or ram mode for no disk writes.

Can Netdata replace my current monitoring stack?

Yes. Netdata is one product for infrastructure, applications, digital experience, networks, databases, logs and cloud.

  • No manual setup or dashboards needed
  • Built-in machine learning, alerts, dashboards, correlations and AI
  • Takes in Prometheus, OpenTelemetry, Nagios and StatsD data, so existing exporters and instrumentation keep working
How is Netdata different from commercial SaaS tools?

With Netdata you can store all metrics on your infrastructure—no sampling, no aggregation, no loss.

  • High-resolution metrics by default
  • ML per metric, not shared models
  • Scales to 100,000+ nodes without skyrocketing cost
What if I feel overwhelmed?

You can start small:

  • Use the dashboard's table of contents and search
  • Explore anomaly scoring ("AR" toggle)
  • Create custom dashboards in Netdata Cloud

Docs and guides

Do I have to use Netdata Cloud?

No. Netdata Cloud is optional.

Netdata works without it, but with Cloud you can:

  • Access remotely with SSO
  • Save dashboard customizations
  • Configure alerts centrally
  • Collaborate with role-based access
What telemetry does Netdata collect?

Anonymous telemetry helps improve the product. You can disable it:

  • Add --disable-telemetry to the installer, or
  • Create /etc/netdata/.opt-out-from-anonymous-statistics and restart Netdata

Telemetry helps us understand usage, not track users. No private data is collected.

Who uses Netdata?

You'll join users including:

  • Major companies (Amazon, ABN AMRO Bank, Facebook, Google, IBM, Intel, Netflix, Samsung)
  • Universities (NYU, Columbia, Seoul National, UCL)
  • Government organizations worldwide
  • Infrastructure-intensive organizations
  • Technology operators
  • Startups and freelancers
  • SysAdmins and DevOps professionals

:book: Documentation

Visit Netdata Learn for full documentation and guides. Start with the core documents:

[!NOTE]
Includes deployment, configuration, alerting, exporting, troubleshooting, and more.


:tada: Community

Join the Netdata community:

[!NOTE]
Code of Conduct

Follow us on: Twitter | Reddit | YouTube | LinkedIn


:pray: Contribute

We welcome your contributions.

Ways you help us stay sharp:

[!NOTE]
Contribution guide


:scroll: License

The Netdata ecosystem includes:

netdata (netdata/netdata)

正在搜索数据库…

这是什么?Netdata 是一个开源的实时基础设施监控平台,能够以秒为单位采集指标,将其可视化,并利用机器学习检测异常。
它是独立的应用,还是需要单独的仪表盘服务?它是一个需要安装在每台机器上的代理程序,自带内置界面;另外还有一个可选的云端服务(Netdata Cloud),用于集中查看多节点仪表盘。
我该怎么让它跑起来?在你的操作系统上安装 Netdata Agent(提供 Linux、macOS、FreeBSD、Windows、Docker 或 Kubernetes 的安装指南),然后可以在本地通过 http://localhost 访问界面,安装完成后也可以远程访问。
安装前需要准备什么特别的东西吗,比如数据库?不需要外部数据库;Netdata 使用自带的分层时序存储,邮件告警只需配置好 MTA(邮件传输代理)即可。
每个操作系统的支持范围都一样吗?不一样。Linux 几乎所有方面都获得“完整”支持(内核、容器、日志、虚拟机等),而 FreeBSD、macOS 和 Windows 只能部分支持硬件传感器、容器和进程级网络连接等功能(标注为“是”或“部分”)。
这东西适合谁用——单台服务器还是大规模机群?它可以从单个节点扩展到复杂的多云环境,通过 Parent-Child 架构实现集中管理和横向扩展。
只能在 Linux 上用吗,还是别的系统也行?它可以运行在 Linux、FreeBSD、macOS 和 Windows 上,也支持 Docker 和 Kubernetes 部署,不过 Linux 的功能覆盖最全面。
我的数据会被发送到 Netdata 的服务器吗?不会,默认情况下指标数据只保存在你自己的基础设施上;连接 Netdata Cloud 是可选的,而且不会把指标存储集中到云端。
异常检测是怎么工作的?Netdata 直接在边缘端(即节点本身)为每个指标训练多个无监督机器学习模型,利用近期的历史行为来标记异常,无需把数据发送到其他地方。
开箱即用支持多少种集成?内置超过 800 种集成,涵盖系统、容器、虚拟机、硬件传感器、OpenMetrics、StatsD 和日志等,OpenTelemetry 支持也在计划中。
我需要自己写查询语句才能看到仪表盘吗?不需要,Netdata 会基于其 NIDL 数据模型自动生成丰富的交互式仪表盘,无需任何查询语言。
作者为什么要自己做这个,而不用现有的监控工具?创始人 Costa Tsaousis 在他的公司里,现有监控系统无法诊断无声的交易失败:它们提供的指标太少、分辨率太低,而且扩展性很差,于是他动手做了这个。
作者
netdata
大小
339.2 MB
星标
81.7K
时长
13年
提交 · 90 天