0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-03-17 14:32:48 +00:00
Commit graph

3165 commits

Author SHA1 Message Date
netdatabot
ca84abd9e4 [ci skip] Patch release v2.2.6. 2025-02-20 22:39:01 +00:00
Ilya Mashchenko
6e5faff7d4 ci: fix win build ()
* ci: fix win build

* fix wix ext syntax

* use variable for wix version

(cherry picked from commit 997f2a71f4)
2025-02-20 09:09:07 -05:00
Costa Tsaousis
834b0f0a0a detect the system ca bundle at runtime ()
* detect the system ca bundle at runtime

* minor fix

* fix for older libcurl versions

* added X509_get_default_cert_file()

* added validation for the certificates

* moved ssl/curl code to separate file; now it configured both libcurl and openssl; added defaults to libcurl static install

* run the new code only in netdata static builds

* auto to check

* disable runtime ssl checks

(cherry picked from commit 3e15a013d0)
2025-02-20 09:09:07 -05:00
netdatabot
1ee5a04d14 [ci skip] Patch release v2.2.5. 2025-02-12 14:02:53 +00:00
Ilya Mashchenko
10a7b62133 fix: correct typo in NetdataCompilerFlags ()
(cherry picked from commit 55e567f441)
2025-02-12 08:52:40 -05:00
Austin S. Hemmelgarn
67e1256b94 Make handling of cross-platform emulation for static builds smarter. ()
* Switch to tonistiigi/binfmt for cross-build emulation.

It’s actually being actively updated, and it also supports hosts other
than x86-64.

* Auto-detect existing QEMU user emulation in static build.

Instead of relying on the user to explicitly ask for no emulation.

(cherry picked from commit f5da1f0bf3)
2025-02-12 08:52:40 -05:00
Austin S. Hemmelgarn
ac64093907 Start using new GitHub hosted ARM runners for CI when appropriate. ()
* Start using new GitHub hosted ARM runners for CI when appropriate.

* Fix matrix generation.

* Fix actionlint error.

* Don't fail fast for static builds.

* Bump OpenSSL, cURL, and Bash versions for static builds.

* Fix more actionlint errors.

* Fix 32-bit ARM OpenSSL build.

* Fix ppc64le static openssl build.

* Fix duplicate key.

* Fix openssl ppc64le build again.

* Third attempt at fixing POWER8+ static builds.

---------

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
(cherry picked from commit d7a9b82976)
2025-02-12 08:52:40 -05:00
netdatabot
ad9fd6124b [ci skip] Patch release v2.2.4. 2025-02-04 14:19:31 +00:00
netdatabot
4748311474 [ci skip] Patch release v2.2.3. 2025-01-31 16:50:46 +00:00
netdatabot
adf785b3d4 [ci skip] Patch release v2.2.2. 2025-01-30 13:48:12 +00:00
Austin S. Hemmelgarn
e2a303a58b Link the ebpf plugin against libbpf directly instead of through libnetdata. ()
(cherry picked from commit 7e6e3bbaf7)
2025-01-30 08:38:04 -05:00
Costa Tsaousis
1a92e53bf8 compile time and runtime check of required compiler flags ()
* compile time and runtime check of required compiler flags

* added compiler flags in buildinfo

* added basic runtime information in buildinfo

* check for -fexceptions

(cherry picked from commit 1138bde50e)
2025-01-30 08:38:04 -05:00
netdatabot
42cee0e9ec [ci skip] Patch release v2.2.1. 2025-01-27 14:40:09 +00:00
netdatabot
7bc04133e0 [ci skip] Minor release v2.2.0. 2025-01-22 13:38:12 +00:00
Austin S. Hemmelgarn
8fca437316
Fix up handling of libunwind in CMake. ()
* Fix up handling of libunwind in CMake.

- Fix the questionable default handling of CMAKE_SYSTEM_PROCESSOR so
  that it reliably reflects the target architecture.
- Add a case for handling 32-bit x86 builds with libunwind.
- Tweak the match cases for the various architectures to be more
  reliable.

* Fix libbpf usage of CMAKE_SYSTEM_PROCESSOR.
2025-01-22 07:10:22 -05:00
netdatabot
be8cc380b1 [ci skip] Update changelog and version for nightly build: v2.1.0-212-nightly. 2025-01-22 00:21:18 +00:00
Austin S. Hemmelgarn
0e0819668b
Revert libunwind being enabled in Docker and DEB builds. ()
* Revert "Enable libunwind in Docker images. ()"

This reverts commit 361f6d2563.

* Revert "Enable libunwind in DEB native packages. ()"

This reverts commit 3d09660c48.
2025-01-21 10:12:14 -05:00
Austin S. Hemmelgarn
3d09660c48
Enable libunwind in DEB native packages. ()
Only on 64-bit x86, 32-bit ARM, and 64-bit ARM for the moment (32-bit
x86 is broken because of issues in our handling of libunwind).
2025-01-21 07:06:42 -05:00
Austin S. Hemmelgarn
361f6d2563
Enable libunwind in Docker images. () 2025-01-21 07:06:05 -05:00
netdatabot
52d18baf4c [ci skip] Update changelog and version for nightly build: v2.1.0-206-nightly. 2025-01-21 00:21:03 +00:00
Ilya Mashchenko
e0d6ed7a25
build(deps): update go toolchain to v1.23.5 () 2025-01-20 14:58:31 +02:00
netdatabot
d97ec1aada [ci skip] Update changelog and version for nightly build: v2.1.0-200-nightly. 2025-01-20 00:21:59 +00:00
netdatabot
f4ac40f132 [ci skip] Update changelog and version for nightly build: v2.1.0-194-nightly. 2025-01-19 01:47:05 +00:00
netdatabot
635ae9bd7f [ci skip] Update changelog and version for nightly build: v2.1.0-192-nightly. 2025-01-18 00:20:29 +00:00
netdatabot
88d4bcaad7 [ci skip] Update changelog and version for nightly build: v2.1.0-178-nightly. 2025-01-17 00:20:38 +00:00
Costa Tsaousis
06c16139f8
hostnames: convert to utf8 and santitize ()
* hostnames: convert to utf8 and santitize

* add windows version of the hostname

* fix warnings on windows

* fix freebsd

* disable iconv on posix systems
2025-01-16 21:59:26 +02:00
Ilya Mashchenko
2f8a5872a7
packaging(windows): use local copy of GPL-3 () 2025-01-16 16:36:40 +02:00
Austin S. Hemmelgarn
8649e9daea
Query systemd for unit file paths on install/uninstall. ()
* Query systemd for unit file paths on install/uninstall.

This makes our installation code more portable and more concise, and
should make the uninstallation code significantly more robust.

Also includes a number of other improvements to systemd handling and
updater handling in the uninstaller that should make it much more
thorough and reliable.

* Fix issues brought up in code review, and better support old systemd versions.

* Replace sed with AWK for readability.

* Fix uninstaller loop.

* Fix unit file detection in updater code.
2025-01-16 07:58:39 -05:00
netdatabot
780def4478 [ci skip] Update changelog and version for nightly build: v2.1.0-171-nightly. 2025-01-16 12:01:27 +00:00
netdatabot
111d0405d1 [ci skip] Update changelog and version for nightly build: v2.1.0-170-nightly. 2025-01-16 00:21:27 +00:00
netdatabot
c03bde3d69 [ci skip] Update changelog and version for nightly build: v2.1.0-163-nightly. 2025-01-15 11:45:18 +00:00
netdatabot
55ae7e4f2d [ci skip] Update changelog and version for nightly build: v2.1.0-157-nightly. 2025-01-15 00:21:23 +00:00
Austin S. Hemmelgarn
86ba563cc4
Revert "Update kickstart script to use new repository host." ()
Revert "Update kickstart script to use new repository host. ()"

This reverts commit 291f2b8001.
2025-01-14 18:56:30 -05:00
Austin S. Hemmelgarn
291f2b8001
Update kickstart script to use new repository host. ()
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2025-01-14 07:45:46 -05:00
Austin S. Hemmelgarn
db31a10503
Fix issues with $PATH and netdatacli detection. ()
- Account for Debian/Ubuntu still not including sbin directories in user
  $PATH.
- Report an inability to detect netdatacli location instead of trying to
  invoke an empty string when claiming.
2025-01-13 10:04:20 -05:00
netdatabot
876e562906 [ci skip] Update changelog and version for nightly build: v2.1.0-139-nightly. 2025-01-13 00:22:04 +00:00
Costa Tsaousis
4c2efd4028
limit the glibc unused memory ()
* limit the glibc unused memory

* call malloc_trim() more frequently

* use mallinfo2 to provide glibc fragmentation statistics
2025-01-12 15:15:57 +02:00
netdatabot
5f59772b6b [ci skip] Update changelog and version for nightly build: v2.1.0-132-nightly. 2025-01-12 00:22:20 +00:00
Costa Tsaousis
c54c40605a
Pulse extended memory statistics, now report glibc allocations ()
* add malloc_info() to netdata

* report number of arenas

* arenas line chart
2025-01-11 20:23:11 +02:00
netdatabot
70454a4454 [ci skip] Update changelog and version for nightly build: v2.1.0-130-nightly. 2025-01-11 00:21:12 +00:00
netdatabot
1ec8323a52 [ci skip] Update changelog and version for nightly build: v2.1.0-122-nightly. 2025-01-10 10:41:52 +00:00
netdatabot
be3a1afabf [ci skip] Update changelog and version for nightly build: v2.1.0-119-nightly. 2025-01-10 00:57:04 +00:00
netdatabot
9bf39d5d9f [ci skip] Update changelog and version for nightly build: v2.1.0-106-nightly. 2025-01-09 03:49:29 +00:00
netdatabot
c04b58c25b [ci skip] Update changelog and version for nightly build: v2.1.0-104-nightly. 2025-01-09 00:27:09 +00:00
Costa Tsaousis
989a1e270c
annotate logs with stack trace when libunwind is available ()
* annotate logs with stack trace when libunwind is available

* Update CMakeLists.txt

Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>

* fix error when libunwind is not available

---------

Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
2025-01-08 23:32:56 +02:00
Austin S. Hemmelgarn
40ab14d0d5
Assorted systemd detection fixes ()
Assorted systemd detection fixes:

- Properly scope `set -e` changes to only affect `systemctl
  is-system-running` invocation.
- Skip checking for hard-coded unit file paths. Other paths may
  technically be used for unit files instead of what we hard-code, and
  the presence or abscence of any specific unit file path _does not_
  reliably indicate the presence or abscence of systemd.
2025-01-08 08:37:42 -05:00
Austin S. Hemmelgarn
64b9f5e280
Add option to updater to report status of auto-updates on the system. ()
* Add option to updater to report status of auto-updates on the system.

* Improve systemd detection.

The _official_ way to check if a system is running systemd is to call
`systemctl is-system-running` and check the output. This adds that
checking to places where we are otherwise looking for systemd.

* Remove pointless subshell.
2025-01-08 06:37:57 -05:00
netdatabot
dc638c4045 [ci skip] Update changelog and version for nightly build: v2.1.0-90-nightly. 2025-01-08 00:21:32 +00:00
Ilya Mashchenko
13e6302728
fix(netdata-updater.sh): use explicit paths for temp dir creation () 2025-01-06 14:41:21 +02:00
Ilya Mashchenko
aa535b4317
fix(kickstart.sh): correct wrong function name in perpare_offline_install () 2025-01-06 11:50:19 +02:00