Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from netdata:master #159

Merged
merged 26 commits into from
Aug 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
11a49ab
Reset last connected when removing stale nodes with netdatacli (#18425)
stelfrag Aug 28, 2024
183e0c0
Update README.md
ktsaou Aug 28, 2024
3aa4603
Update README.md
ktsaou Aug 28, 2024
01ce883
vendor https://github.com/mdlayher/lmsensors (#18427)
ilyam8 Aug 28, 2024
4c987bb
go.d lmsensors improve performance (#18429)
ilyam8 Aug 28, 2024
6a75ccd
ci fix InvalidDefaultArgInFrom warn (#18428)
ilyam8 Aug 28, 2024
b138d7f
[ci skip] Update changelog and version for nightly build: v1.99.0-34-…
netdatabot Aug 29, 2024
1813d02
ACLK code cleanup (#18417)
stelfrag Aug 29, 2024
c3261e3
go.d/sensors: add sysfs scan method to collect metrics (#18431)
ilyam8 Aug 29, 2024
99298ab
remove charts.d/sensors (#18426)
ilyam8 Aug 29, 2024
c731bcb
Regenerate integrations.js (#18432)
netdatabot Aug 29, 2024
0c00ae5
go.d remove duplicates in testing (#18435)
ilyam8 Aug 29, 2024
18b89a1
Update README.md
ktsaou Aug 29, 2024
7f9bcd4
stream paths propagated to children and parents (#18430)
ktsaou Aug 29, 2024
ceeba61
Improve agent shutdown time (#18434)
stelfrag Aug 29, 2024
3465ff4
remove deadlock from sender (#18438)
ktsaou Aug 29, 2024
d417b53
fix charts.d/sensors leftovers (#18439)
ilyam8 Aug 29, 2024
1d1c3a8
fix receiver deadlock (#18440)
ktsaou Aug 29, 2024
aa5d16d
do not free the sender when the sender thread exits (#18441)
ktsaou Aug 29, 2024
f4531bc
Claim on Windows (#18410)
thiagoftsm Aug 29, 2024
004ba19
[ci skip] Update changelog and version for nightly build: v1.99.0-48-…
netdatabot Aug 30, 2024
e28a66f
Proper precedence when calculating time_to_evict (#18444)
stelfrag Aug 30, 2024
c24d9ca
go.d add support for symlinked vnode config files (#18445)
ilyam8 Aug 30, 2024
cb28ac8
go.d remove vnode disable (#18446)
ilyam8 Aug 30, 2024
ca94a72
Exit slabinfo.plugin on EPIPE (#18448)
teqwve Aug 30, 2024
ca57bf6
[ci skip] Update changelog and version for nightly build: v1.99.0-53-…
netdatabot Aug 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/dockerfiles/Dockerfile.build_test
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
ARG BASE
# The default value is overridden in every Dockerfile usage, but adding it here helps avoid issues with
# CI checks that require a non-empty or valid base image name. See more details here:
# https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
ARG BASE="netdata"

FROM ${BASE}

Expand Down
36 changes: 20 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,34 @@

**Merged pull requests:**

- Exit slabinfo.plugin on EPIPE [\#18448](https://github.com/netdata/netdata/pull/18448) ([teqwve](https://github.com/teqwve))
- go.d remove vnode disable [\#18446](https://github.com/netdata/netdata/pull/18446) ([ilyam8](https://github.com/ilyam8))
- go.d add support for symlinked vnode config files [\#18445](https://github.com/netdata/netdata/pull/18445) ([ilyam8](https://github.com/ilyam8))
- Proper precedence when calculating time\_to\_evict [\#18444](https://github.com/netdata/netdata/pull/18444) ([stelfrag](https://github.com/stelfrag))
- do not free the sender when the sender thread exits [\#18441](https://github.com/netdata/netdata/pull/18441) ([ktsaou](https://github.com/ktsaou))
- fix receiver deadlock [\#18440](https://github.com/netdata/netdata/pull/18440) ([ktsaou](https://github.com/ktsaou))
- fix charts.d/sensors leftovers [\#18439](https://github.com/netdata/netdata/pull/18439) ([ilyam8](https://github.com/ilyam8))
- remove deadlock from sender [\#18438](https://github.com/netdata/netdata/pull/18438) ([ktsaou](https://github.com/ktsaou))
- go.d remove duplicates in testing [\#18435](https://github.com/netdata/netdata/pull/18435) ([ilyam8](https://github.com/ilyam8))
- Improve agent shutdown time [\#18434](https://github.com/netdata/netdata/pull/18434) ([stelfrag](https://github.com/stelfrag))
- Regenerate integrations.js [\#18432](https://github.com/netdata/netdata/pull/18432) ([netdatabot](https://github.com/netdatabot))
- go.d/sensors: add sysfs scan method to collect metrics [\#18431](https://github.com/netdata/netdata/pull/18431) ([ilyam8](https://github.com/ilyam8))
- stream paths propagated to children and parents [\#18430](https://github.com/netdata/netdata/pull/18430) ([ktsaou](https://github.com/ktsaou))
- go.d lmsensors improve performance [\#18429](https://github.com/netdata/netdata/pull/18429) ([ilyam8](https://github.com/ilyam8))
- ci fix InvalidDefaultArgInFrom warn [\#18428](https://github.com/netdata/netdata/pull/18428) ([ilyam8](https://github.com/ilyam8))
- vendor https://github.com/mdlayher/lmsensors [\#18427](https://github.com/netdata/netdata/pull/18427) ([ilyam8](https://github.com/ilyam8))
- remove charts.d/sensors [\#18426](https://github.com/netdata/netdata/pull/18426) ([ilyam8](https://github.com/ilyam8))
- Reset last connected when removing stale nodes with netdatacli [\#18425](https://github.com/netdata/netdata/pull/18425) ([stelfrag](https://github.com/stelfrag))
- remove checks.plugin dir [\#18424](https://github.com/netdata/netdata/pull/18424) ([ilyam8](https://github.com/ilyam8))
- Regenerate integrations.js [\#18421](https://github.com/netdata/netdata/pull/18421) ([netdatabot](https://github.com/netdatabot))
- fix hyperlink in go.d samba meta [\#18420](https://github.com/netdata/netdata/pull/18420) ([ilyam8](https://github.com/ilyam8))
- add go.d samba [\#18418](https://github.com/netdata/netdata/pull/18418) ([ilyam8](https://github.com/ilyam8))
- ACLK code cleanup [\#18417](https://github.com/netdata/netdata/pull/18417) ([stelfrag](https://github.com/stelfrag))
- restore /api/v1/badge.svg [\#18416](https://github.com/netdata/netdata/pull/18416) ([ktsaou](https://github.com/ktsaou))
- add "smbstatus -P" to ndsudo [\#18414](https://github.com/netdata/netdata/pull/18414) ([ilyam8](https://github.com/ilyam8))
- remove python.d/sambsa [\#18413](https://github.com/netdata/netdata/pull/18413) ([ilyam8](https://github.com/ilyam8))
- SPAWN-SERVER: re-evaluate signals even 500ms [\#18411](https://github.com/netdata/netdata/pull/18411) ([ktsaou](https://github.com/ktsaou))
- Claim on Windows [\#18410](https://github.com/netdata/netdata/pull/18410) ([thiagoftsm](https://github.com/thiagoftsm))
- kickstart: fix write\_claim\_config when executed as a regular user [\#18406](https://github.com/netdata/netdata/pull/18406) ([ilyam8](https://github.com/ilyam8))
- Fix coverity issues [\#18405](https://github.com/netdata/netdata/pull/18405) ([stelfrag](https://github.com/stelfrag))
- remove pyyaml2 [\#18404](https://github.com/netdata/netdata/pull/18404) ([ilyam8](https://github.com/ilyam8))
Expand Down Expand Up @@ -329,9 +349,6 @@
- Sign DEB packages in the GHA runners that build them. [\#17949](https://github.com/netdata/netdata/pull/17949) ([Ferroin](https://github.com/Ferroin))
- Detect on startup if the netdata-meta.db file is not a valid database file [\#17924](https://github.com/netdata/netdata/pull/17924) ([stelfrag](https://github.com/stelfrag))
- eBPF cgroup and mutex [\#17915](https://github.com/netdata/netdata/pull/17915) ([thiagoftsm](https://github.com/thiagoftsm))
- Fix small typo [\#17875](https://github.com/netdata/netdata/pull/17875) ([stelfrag](https://github.com/stelfrag))
- spawn server \(Windows support for external plugins\) [\#17866](https://github.com/netdata/netdata/pull/17866) ([ktsaou](https://github.com/ktsaou))
- sysinfo \(WinAPI\) [\#17857](https://github.com/netdata/netdata/pull/17857) ([thiagoftsm](https://github.com/thiagoftsm))

## [v1.46.3](https://github.com/netdata/netdata/tree/v1.46.3) (2024-07-23)

Expand Down Expand Up @@ -405,19 +422,6 @@
- fix detect\_libc in installer [\#17880](https://github.com/netdata/netdata/pull/17880) ([ilyam8](https://github.com/ilyam8))
- update bundled UI to v6.138.0 [\#17879](https://github.com/netdata/netdata/pull/17879) ([ilyam8](https://github.com/ilyam8))
- Regenerate integrations.js [\#17878](https://github.com/netdata/netdata/pull/17878) ([netdatabot](https://github.com/netdatabot))
- Regenerate integrations.js [\#17877](https://github.com/netdata/netdata/pull/17877) ([netdatabot](https://github.com/netdatabot))
- Improve filecheck module metadata. [\#17874](https://github.com/netdata/netdata/pull/17874) ([Ferroin](https://github.com/Ferroin))
- update Telegram Cloud notification docs to include new topic ID field [\#17873](https://github.com/netdata/netdata/pull/17873) ([papazach](https://github.com/papazach))
- go.d phpfpm add config schema [\#17872](https://github.com/netdata/netdata/pull/17872) ([ilyam8](https://github.com/ilyam8))
- Fix updating release info when publishing nightly releases. [\#17871](https://github.com/netdata/netdata/pull/17871) ([Ferroin](https://github.com/Ferroin))
- go.d phpfpm: debug log the response on decoding error [\#17870](https://github.com/netdata/netdata/pull/17870) ([ilyam8](https://github.com/ilyam8))
- Improve agent shutdown [\#17868](https://github.com/netdata/netdata/pull/17868) ([stelfrag](https://github.com/stelfrag))
- Add openSUSE 15.6 to CI. [\#17865](https://github.com/netdata/netdata/pull/17865) ([Ferroin](https://github.com/Ferroin))
- Update CI infrastructure to publish to secondary packaging host. [\#17863](https://github.com/netdata/netdata/pull/17863) ([Ferroin](https://github.com/Ferroin))
- Improve anacron detection in updater. [\#17862](https://github.com/netdata/netdata/pull/17862) ([Ferroin](https://github.com/Ferroin))
- RBAC for dynamic configuration documentation [\#17861](https://github.com/netdata/netdata/pull/17861) ([Ancairon](https://github.com/Ancairon))
- DYNCFG: health, generate userconfig for incomplete alerts [\#17859](https://github.com/netdata/netdata/pull/17859) ([ktsaou](https://github.com/ktsaou))
- Create retention charts for higher tiers [\#17855](https://github.com/netdata/netdata/pull/17855) ([stelfrag](https://github.com/stelfrag))

## [v1.45.6](https://github.com/netdata/netdata/tree/v1.45.6) (2024-06-05)

Expand Down
48 changes: 38 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "CYGWIN" OR "${CMAKE_SYSTEM_NAME}" STREQU
endif()

set(BINDIR usr/bin)
set(CMAKE_RC_COMPILER_INIT windres)
ENABLE_LANGUAGE(RC)

SET(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> <FLAGS> -O coff <DEFINES> -i <SOURCE> -o <OBJECT>")
add_definitions(-D_GNU_SOURCE)

if($ENV{CLION_IDE})
Expand Down Expand Up @@ -615,6 +619,8 @@ set(LIBNETDATA_FILES
src/libnetdata/avl/avl.h
src/libnetdata/buffer/buffer.c
src/libnetdata/buffer/buffer.h
src/libnetdata/ringbuffer/ringbuffer.c
src/libnetdata/ringbuffer/ringbuffer.h
src/libnetdata/circular_buffer/circular_buffer.c
src/libnetdata/circular_buffer/circular_buffer.h
src/libnetdata/clocks/clocks.c
Expand Down Expand Up @@ -1262,6 +1268,14 @@ set(STREAMING_PLUGIN_FILES
src/streaming/protocol/commands.c
src/streaming/protocol/commands.h
src/streaming/protocol/command-claimed_id.c
src/streaming/stream_path.c
src/streaming/stream_path.h
src/streaming/stream_capabilities.c
src/streaming/stream_capabilities.h
src/streaming/sender_connect.c
src/streaming/sender_internals.h
src/streaming/sender_execute.c
src/streaming/sender_commit.c
)

set(WEB_PLUGIN_FILES
Expand All @@ -1286,6 +1300,13 @@ set(CLAIM_PLUGIN_FILES
src/claim/cloud-status.h
)

set(CLAIM_WINDOWS_FILES
src/claim/netdata_claim.c
src/claim/netdata_claim.h
src/claim/netdata_claim_window.c
src/claim/netdata_claim_window.h
)

set(ACLK_ALWAYS_BUILD
src/aclk/aclk_rrdhost_state.h
src/aclk/aclk_proxy.c
Expand All @@ -1298,12 +1319,9 @@ set(ACLK_ALWAYS_BUILD
src/aclk/aclk_util.h
src/aclk/https_client.c
src/aclk/https_client.h
src/aclk/mqtt_websockets/c-rbuf/cringbuffer.c
src/aclk/mqtt_websockets/c-rbuf/cringbuffer.h
src/aclk/mqtt_websockets/c-rbuf/cringbuffer_internal.h
src/aclk/mqtt_websockets/c_rhash/c_rhash.c
src/aclk/mqtt_websockets/c_rhash/c_rhash.h
src/aclk/mqtt_websockets/c_rhash/c_rhash_internal.h
src/libnetdata/c_rhash/c_rhash.c
src/libnetdata/c_rhash/c_rhash.h
src/libnetdata/c_rhash/c_rhash_internal.h
)

set(TIMEX_PLUGIN_FILES
Expand Down Expand Up @@ -1546,8 +1564,6 @@ set(ACLK_FILES
src/aclk/schema-wrappers/schema_wrapper_utils.h
src/aclk/schema-wrappers/agent_cmds.cc
src/aclk/schema-wrappers/agent_cmds.h
src/aclk/helpers/mqtt_wss_pal.h
src/aclk/helpers/ringbuffer_pal.h
)


Expand Down Expand Up @@ -2233,6 +2249,13 @@ add_executable(netdata
"$<$<BOOL:${ENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE}>:${PROMETHEUS_REMOTE_WRITE_EXPORTING_FILES}>"
)

if(OS_WINDOWS)
set(NETDATA_CLAIM_RES_FILES "packaging/windows/resources/netdata_claim.rc")

add_executable(netdata_claim ${CLAIM_WINDOWS_FILES} ${NETDATA_CLAIM_RES_FILES})
target_link_libraries(netdata_claim shell32;gdi32;msftedit)
endif()

target_compile_definitions(netdata PRIVATE
"$<$<BOOL:${ENABLE_ML}>:DLIB_NO_GUI_SUPPORT>"
)
Expand Down Expand Up @@ -2421,6 +2444,13 @@ install(PROGRAMS
COMPONENT netdata
DESTINATION "${BINDIR}")

if(OS_WINDOWS)
install(PROGRAMS
${CMAKE_BINARY_DIR}/netdata_claim.exe
COMPONENT netdata
DESTINATION "${BINDIR}")
endif()

#
# We don't check ENABLE_PLUGIN_CGROUP_NETWORK because rpm builds assume
# the files exists unconditionally.
Expand Down Expand Up @@ -2772,7 +2802,6 @@ install(PROGRAMS
src/collectors/charts.d.plugin/example/example.chart.sh
src/collectors/charts.d.plugin/libreswan/libreswan.chart.sh
src/collectors/charts.d.plugin/opensips/opensips.chart.sh
src/collectors/charts.d.plugin/sensors/sensors.chart.sh
COMPONENT plugin-chartsd
DESTINATION usr/libexec/netdata/charts.d)

Expand All @@ -2781,7 +2810,6 @@ install(FILES
src/collectors/charts.d.plugin/example/example.conf
src/collectors/charts.d.plugin/libreswan/libreswan.conf
src/collectors/charts.d.plugin/opensips/opensips.conf
src/collectors/charts.d.plugin/sensors/sensors.conf
COMPONENT plugin-chartsd
DESTINATION usr/lib/netdata/conf.d/charts.d)

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ MENU: **[GETTING STARTED](#getting-started)** | **[HOW IT WORKS](#how-it-works)*
> **Important** :bulb:<br/>
> People get addicted to Netdata. Once you use it on your systems, **there's no going back!**<br/>

**Netdata** is a high-performance, cloud-native, and on-premises observability platform designed to monitor metrics and logs with unparalleled efficiency. It delivers a simpler, faster, and significantly easier approach to real-time, low-latency monitoring for systems, containers, and applications.
**Netdata** is a high-performance, cloud-native, and on-premises observability platform designed to monitor metrics and logs with unparalleled efficiency. It delivers a simpler, faster, and significantly easier approach to real-time, low-latency monitoring for systems, containers, and applications. Netdata requires **zero-configuration** to get started, offering a powerful and comprehensive monitoring experience, out of the box.

What sets Netdata apart is its **cost-efficient, distributed design**. Unlike traditional monitoring solutions that centralize data, **Netdata distributes the code**. Instead of funneling all data into a few central databases, Netdata processes data at the edge, keeping it close to the source. The smart open-source Netdata Agent acts as a distributed database, enabling the construction of complex observability pipelines with modular, Lego-like simplicity.
Netdata is also known for its **cost-efficient, distributed design**. Unlike traditional monitoring solutions that centralize data, **Netdata distributes the code**. Instead of funneling all data into a few central databases, Netdata processes data at the edge, keeping it close to the source. The smart open-source Netdata Agent acts as a distributed database, enabling the construction of complex observability pipelines with modular, Lego-like simplicity.

Netdata also incorporates **A.I. insights** for all monitored data, training machine learning models directly at the edge. This allows for fully automated and unsupervised anomaly detection, and with the provided APIs and UIs, users can quickly spot correlations and gain deeper insights.
Netdata provides **A.I. insights** for all monitored data, training machine learning models directly at the edge. This allows for fully automated and unsupervised anomaly detection, and with its intuitive APIs and UIs, users can quickly perform root cause analysis and troubleshoot issues, identifying correlations and gaining deeper insights into their infrastructure.

### The Netdata Ecosystem

Netdata is built on three core components:

1. **Netdata Agent** (usually called just "Netdata"): This open-source component is the heart of the Netdata ecosystem, handling data collection, storage (embedded database), querying, machine learning, exporting, and alerting of observability data. All observability data and features a Netdata ecosystem offers, are managed by the Netdata Agent. It runs in physical and virtual servers, cloud environments, Kubernetes clusters, and edge/IoT devices and is carefully optimized to be a _**polite citizen**_ for production systems and applications.
1. **Netdata Agent** (usually called just "Netdata"): This open-source component is the heart of the Netdata ecosystem, handling data collection, storage (embedded database), querying, machine learning, exporting, and alerting of observability data. All observability data and features a Netdata ecosystem offers, are managed by the Netdata Agent. It runs in physical and virtual servers, cloud environments, Kubernetes clusters, and edge/IoT devices and is carefully optimized to have _**zero impact**_ on production systems and applications.

<a href="https://www.gnu.org/licenses/gpl-3.0"><img src="https://img.shields.io/badge/Netdata%20Agent%20License-GPL%20v3%2B-blue.svg" alt="Netdata Agent License: GPL v3+"></a> <a href="https://bestpractices.coreinfrastructure.org/projects/2231"><img src="https://bestpractices.coreinfrastructure.org/projects/2231/badge" alt="CII Best Practices"></a> <a href="https://scan.coverity.com/projects/netdata-netdata?tab=overview"><img alt="Coverity Scan" src="https://img.shields.io/coverity/scan/netdata"></a>

Expand Down
Loading
Loading