0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-10 16:17:36 +00:00
Commit graph

19962 commits

Author SHA1 Message Date
Costa Tsaousis
3d0c2b9f41
Fast restart on busy parents ()
Prepopulate UUIDs to MRG to improve startup times.

- [x] Pre-populate UUIDs to MRG on start (from SQLite)
- [x] Cleanup obsolete UUIDs from MRG once finished

This improves startup times by 3x to 5x.

---------

Co-authored-by: vkalintiris <vasilis@netdata.cloud>
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
2025-03-28 19:31:29 +02:00
Netdata bot
dd7ad2b8d9
Regenerate integrations docs ()
Co-authored-by: thiagoftsm <49162938+thiagoftsm@users.noreply.github.com>
2025-03-28 16:19:13 +02:00
thiagoftsm
12e830a51d
ebpf.plugin: rework memory () 2025-03-28 13:56:01 +00:00
kanelatechnical
532450d162
Installation + docker, improvements ()
* Installation + docker, improvements

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Address review comments

---------

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2025-03-28 12:45:10 +02:00
Netdata bot
2b4a89516a
Regenerate integrations docs ()
Co-authored-by: thiagoftsm <49162938+thiagoftsm@users.noreply.github.com>
2025-03-28 06:20:00 +02:00
netdatabot
91372be983 [ci skip] Update changelog and version for nightly build: v2.3.0-72-nightly. 2025-03-28 00:21:59 +00:00
thiagoftsm
e1f33c0a7a
IIS Application Pool (Windows.plugin) () 2025-03-27 23:07:41 +00:00
Costa Tsaousis
e80fdfdc20
fix MSI installer ()
* allow users to install any version; stop netdata before installing the update

* fix compatibility with wix 4

* fix-msi: Remove conflict between options (https://docs.firegiant.com/wix3/xsd/wix/majorupgrade/)

* fix-msi: Comment not allowed code. We cannot have more than one primary key listed (FileInUse)

* fix-msi: Add Power Shell script to be called after installation

* fix-msi: Copy power shell script to installer.

* fix-msi: Add option to do download and move PS file

* fix-msi: First try run at the end

* iis_ad: Fix wrong execution order and call to powershell

* fix-msi: Add messages and test to Power Shell script

---------

Co-authored-by: thiagoftsm <thiagoftsm@gmail.com>
2025-03-27 21:14:37 +02:00
Costa Tsaousis
6447b838d6
perflib: do not dereference null pointer ()
do not dereference null pointer
2025-03-27 17:31:54 +02:00
Stelios Fragkakis
9c3ca6e7a3
Improve agent shutdown ()
* Join threads

* Do not precompile statement

* Switch to INFO message

* Add dbengine_shutdown() function / join dbengine thread
2025-03-27 16:59:01 +02:00
Costa Tsaousis
3e18d2dcd7
do not allocate or access zero sized arrays ()
* do not allocate or access zero sized arrays

* do not access zero dimensions or points
2025-03-27 16:15:00 +02:00
Costa Tsaousis
26e350920c
keep errno in out of memory situations () 2025-03-27 15:23:13 +02:00
Ilya Mashchenko
4d34ca6cfb
improvement(health/dyncfg): add widget to load available contexts ()
add ContextWidget
2025-03-27 14:26:04 +02:00
Stelios Fragkakis
49dd93ef32
Revert "fix undefined" ()
Revert "fix undefined ()"

This reverts commit 032c3166e3.
2025-03-27 13:41:15 +02:00
Stelios Fragkakis
111fba2359
Set sqlite max soft and hard heap limit ()
Set SQLite heap memory limits and log their values on initialization
2025-03-27 12:47:43 +02:00
kanelatechnical
50f4686133
Installation section Improvements ()
* Doc Ansible installation improved wording

* Ansible Improved Wording

* Kickstart reorganized footerless

* AWS, AZURE, K8S, Improved wording
2025-03-27 12:31:27 +02:00
Stelios Fragkakis
e62322fe7a
Release memory when calculating metric correlations ()
Release memory
2025-03-27 08:54:40 +02:00
netdatabot
4f8129e529 [ci skip] Update changelog and version for nightly build: v2.3.0-60-nightly. 2025-03-27 00:21:51 +00:00
Stelios Fragkakis
1968b7c509
Fix random crash during shutdown ()
Drop precompiled statements from main thread
2025-03-27 01:43:51 +02:00
Stelios Fragkakis
ca6e7cd5a0
Improve ACLK sync shutdown process ()
* Refactor ACLK sync shutdown process

* Mark all pending queries as cancelled
Wait at most 5 seconds for queries to timeout before force stopping the ACLK sync thread

* Refactor logging in ACLK synchronization process

* Improve logging message for ACLK request snapshot creation
2025-03-27 00:52:05 +02:00
Costa Tsaousis
86c4a23250
set max datafile size to 1GiB () 2025-03-26 23:43:59 +02:00
kanelatechnical
2d7d34e109
Doc Linux improved order in kickstart ()
Improved order "what does kickstart do"
2025-03-26 14:53:20 +00:00
Costa Tsaousis
513618bcda
fix crash in variable_lookup_add_result_with_score() () 2025-03-26 16:00:44 +02:00
Netdata bot
cdeb69da73
Regenerate integrations docs ()
Co-authored-by: ilyam8 <22274335+ilyam8@users.noreply.github.com>
2025-03-26 14:45:12 +02:00
Juan Cañete
7297d776fa
Update SCIM docs with Groups support ()
* Update SCIM docs with Groups support

* Apply suggestions from code review

---------

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2025-03-26 12:13:03 +00:00
dependabot[bot]
8c08992920
build(deps): bump github.com/jackc/pgx/v5 from 5.7.3 to 5.7.4 in /src/go ()
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.7.3 to 5.7.4.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.7.3...v5.7.4)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-26 11:40:50 +02:00
dependabot[bot]
747f4e4270
build(deps): bump github.com/docker/docker from 28.0.2+incompatible to 28.0.4+incompatible in /src/go ()
build(deps): bump github.com/docker/docker in /src/go

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 28.0.2+incompatible to 28.0.4+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v28.0.2...v28.0.4)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-26 11:40:39 +02:00
netdatabot
45a5d2b5d7 [ci skip] Update changelog and version for nightly build: v2.3.0-50-nightly. 2025-03-26 00:22:31 +00:00
Austin S. Hemmelgarn
afdd3ea020
Don’t skip building Go code on static builds. () 2025-03-25 16:22:45 +02:00
Costa Tsaousis
9da8144800
daemon status 22c ()
* no status should not be reported as crash

* save and restore errno when saving status file

---------

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2025-03-25 13:55:43 +02:00
Costa Tsaousis
032c3166e3
fix undefined ()
do not create empty rrdr

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2025-03-25 13:55:31 +02:00
dependabot[bot]
fb61cce652
build(deps): bump actions/upload-artifact from 4.6.1 to 4.6.2 ()
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.6.1...v4.6.2)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-25 13:30:00 +02:00
Austin S. Hemmelgarn
2db8a882e8
Large-scale cleanup of static build infrastructure. ()
* Centralize cache path handling.

* Add better debugging support for static build infrastructure.

* Centralize handling of git repository fetching for static builds.

* Centralize build directory handling in the static build.

And quit using a sub-directory of packaging/makeself from the source
tree for it.

* Remove version numbers from static build jobs.

* Better organize static build jobs.

0x numbers for non-build prep-work
1x numbers for libraries that potentially impact multiple other things
we vendor.
2x numbers for libraries that are direct dependencies of Netdata
3x numbers for combined libraries and tooling used by Netdata
4x numbers for general tooling used by Netdata
5x numbers for tooling used by single specific components
6x numbers for non-build prep-work for the Netdata build
7x numbers for the actual build of Netdata
8x numbers for post-build checks
9x numbers for the actual packaging

* Clean up variable handling in Netdata build job.

* Split post-build handling steps to their own jobs.

This will make it easier to see what is actually going on in the build
process.

* Clean up CI messages.

* Split archive creation sub-steps into indivudal jobs.

* Disable shell tracing for archive creation job.

It’s not needed in 99.9% of cases, and should only be enabled locally if
it is needed.

* Assorted fixes for code restructuring.

* Tidy up paths for runtime check.

* Fix CI handling of artifacts.
2025-03-25 07:00:54 -04:00
Austin S. Hemmelgarn
0b9cc4db33
Use UPDATE_DISCONNECTED mode for libbacktrace. ()
Without this, the way our build works causes it to get updated and
rebuilt (and thus trigger relinking of multiple parts of the agent) when
`cmake --install` is called, which in turn makes installs take much
longer.
2025-03-25 06:39:00 +02:00
netdatabot
0537e46e7e [ci skip] Update changelog and version for nightly build: v2.3.0-43-nightly. 2025-03-25 01:47:04 +00:00
Costa Tsaousis
db6ce59b33
status file 22b ()
* show the pointers when pgc contains a different address

* anonymize stack traces when generating hashes

* parse fault_address

* keep stack traces filenames after /src/
2025-03-24 22:43:16 +02:00
Stelios Fragkakis
98e77bafd6
Improve event loop thread creation ()
* Retry uv_thread_create if there is a temporary error (EAGAIN)

* Mark thread slot as free on thread creation failure
2025-03-24 21:39:25 +02:00
Costa Tsaousis
e73ccf9a2c
fix rrdcalc_unlink_from_rrdset() () 2025-03-24 20:57:47 +02:00
Stelios Fragkakis
dfbf2c4b64
Fix claiming on startup ()
Fix heap-buffer-overflow
2025-03-24 19:19:57 +02:00
Stelios Fragkakis
ad39ad335d
Enable interface to release sqlite memory ()
* Enable release memory via sqlite3_release_memory(bytes)

* Enable sqlite3_release_memory
2025-03-24 19:19:32 +02:00
Costa Tsaousis
8c24436958
daemon status 22 ()
* annotate crash and healthy loops

* log successful and failed posts to agent-events

* move the already running fatal() outside of netdata_main()

* count the number of posts made to the backend

* added more info to crash reports init step, to find where the killed hard is happening

* add aclk status to daemon status file

* also check for localhost

* remove the cloud "connecting" state

* avoid duplicates
2025-03-24 19:06:55 +02:00
netdatabot
d0ea205fd1 [ci skip] Update changelog and version for nightly build: v2.3.0-36-nightly. 2025-03-24 00:22:50 +00:00
Austin S. Hemmelgarn
7b38ebd8e1
Disable generation of debuginfo packages for DEB distros. ()
* Disable generation of debuginfo packages for DEB distros.

actually need to the debuginfo to work correctly, so split debug symbols don’t
Our automatic stacktrace logging and crash reporting functionality
really make sense for our use case.

* Only disable split debuginfo for core, not plugins.

We don’t do crash reporting or stack trace logging for plugins, so they
can still use the split debug info packages.

* Work around bugs in Debian 11 and Ubuntu 20.04.
2025-03-23 22:23:18 +02:00
netdatabot
6cb523d24b [ci skip] Update changelog and version for nightly build: v2.3.0-34-nightly. 2025-03-23 00:23:14 +00:00
Austin S. Hemmelgarn
9d1fe0fd12
Set default CMake build type to include debug info. () 2025-03-22 19:14:55 -04:00
dependabot[bot]
5924069400
build(deps): bump github.com/DataDog/datadog-agent/pkg/networkdevice/profile from 0.65.0-devel.0.20250317105920-ce55f088ab29 to 0.66.0-devel in /src/go ()
build(deps): bump github.com/DataDog/datadog-agent/pkg/networkdevice/profile

Bumps [github.com/DataDog/datadog-agent/pkg/networkdevice/profile](https://github.com/DataDog/datadog-agent) from 0.65.0-devel.0.20250317105920-ce55f088ab29 to 0.66.0-devel.
- [Release notes](https://github.com/DataDog/datadog-agent/releases)
- [Changelog](https://github.com/DataDog/datadog-agent/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/DataDog/datadog-agent/commits/pkg/api/v0.66.0-devel)

---
updated-dependencies:
- dependency-name: github.com/DataDog/datadog-agent/pkg/networkdevice/profile
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-22 21:05:23 +02:00
netdatabot
a2b86c02ca [ci skip] Update changelog and version for nightly build: v2.3.0-31-nightly. 2025-03-22 17:42:54 +00:00
Costa Tsaousis
eeb88c9532
detect low ram conditions more aggresively ()
* detect low ram conditions more aggresively

* added free memory percent to posted status file
2025-03-22 17:34:01 +00:00
Austin S. Hemmelgarn
b800a845a9
Don't build libunwind in static builds when it's not needed. ()
* Don't build libunwind in static builds when it's not needed.

* Fix job skip logic.
2025-03-22 17:31:39 +00:00
dependabot[bot]
c619d46e2c
build(deps): bump github.com/jackc/pgx/v5 from 5.7.2 to 5.7.3 in /src/go ()
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.7.2 to 5.7.3.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.7.2...v5.7.3)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-22 18:49:47 +02:00