0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-14 01:29:11 +00:00
Commit graph

19977 commits

Author SHA1 Message Date
Costa Tsaousis
fe8d713e74
Fix crashes No 3 ()
reinitialize data collection if an OBSOLETE or ARCHIVED dimension is collected
2025-03-31 14:34:03 +03:00
Ilya Mashchenko
fd97fd9c05
fix(go.d/megacli): handle BBU hardware component is not present () 2025-03-31 14:14:47 +03:00
kanelatechnical
aeeead5de0
Deployment Guides Improved ()
* Deployment Guides Improved

* Update docs/deployment-guides/README.md

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

---------

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2025-03-31 12:59:51 +03:00
Costa Tsaousis
be9ac7cac9
use v4 UUIDs ()
* use v4 UUIDs

* added comments to UUID generations
2025-03-31 11:34:12 +03:00
Fotis Voutsas
cecd5d8c0b
Update synology.md () 2025-03-31 10:39:31 +03:00
netdatabot
0ef870d11b [ci skip] Update changelog and version for nightly build: v2.3.0-87-nightly. 2025-03-31 00:23:27 +00:00
Costa Tsaousis
60a9495f65
detect more CI ()
* detect more CI

* properly detect free space on windows
2025-03-30 21:42:12 +03:00
Costa Tsaousis
39339bf572
status file 24 ()
* prevent crash when sqlite has null uuid

* simplify parsing rfc3339 timestamps

* prepare for separating dedup from status file

* split status file dedup to a separate file - no code changes

* split status-file-io

* save deduplication hashes to a separate file

* keep a hash of the deduplication slots, to ensure the file cannot be tampered

* added machine guid timestamp to status file

* do not sent zero machine guid timestamp

* check for NULL rd on retention

* fix worker_job_id parsing
2025-03-30 19:35:40 +03:00
netdatabot
3968faefe8 [ci skip] Update changelog and version for nightly build: v2.3.0-84-nightly. 2025-03-30 00:23:37 +00:00
Stelios Fragkakis
3ecdec6751
Improve shutdown and datafile rotation ()
* Remove additional precompiled statements

* Handle coverity warning

* Fix null host check in aclk_host_state_update_auto condition

* Add check if migration_v2 is running before database rotation attempt

* Use size_t to calculate deleted bytes
2025-03-29 21:13:58 +00:00
Ilya Mashchenko
b775fa568a
add kanelatechnical to CODEOWNERS () 2025-03-29 16:04:15 +02:00
Ilya Mashchenko
5dfdda6cca
docs: improve Synology NAS installation documentation clarity () 2025-03-29 16:04:01 +02:00
Costa Tsaousis
bf6753d86b
added worker last job id to status file ()
* added worker last job id to status file

* added worker last job id to sentry

* send sentry breadcrumb on all events

* fix potential crash in pluginsd_acquire_dimension()

* verify uuids loaded from sql are valid

* add fatal conditions for missing journalfile, datafile, and datafile->ctx

* make sure we check for datafile->ctx on all uses of it

* add magic numbers to datafiles to find the race condition
2025-03-29 15:16:41 +02:00
ycdtosa
2194455aef
Update synology.md ()
some steps are required only for older versions of DSM
2025-03-29 15:11:55 +02:00
netdatabot
8ef9484453 [ci skip] Update changelog and version for nightly build: v2.3.0-78-nightly. 2025-03-29 00:22:03 +00:00
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