0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-13 17:19:11 +00:00
Commit graph

19706 commits

Author SHA1 Message Date
Ilya Mashchenko
1f7a2cb1cb
docs: clarify Windows Agent limits on free plans () 2025-02-27 14:46:15 +02:00
Costa Tsaousis
acb738e873
improve status file deduplication ()
* move restarts in agent from dedup - keep reading it for v3 from dedup

* use up to 10 hashes for deduplicating crash events

* monitor shutdown steps

* leftover x-ray vision

* fix out of memory

* out of memory properly calculates max rss
2025-02-27 14:03:30 +02:00
Costa Tsaousis
1cb57b50f2
handle flushing state during exit () 2025-02-27 11:10:50 +02:00
Costa Tsaousis
899053e655
allow configuring journal v2 unmount time; turn it off for parents () 2025-02-27 10:49:28 +02:00
netdatabot
2a19625dee [ci skip] Update changelog and version for nightly build: v2.2.0-265-nightly. 2025-02-27 00:21:35 +00:00
Costa Tsaousis
dc8b731c47
minor status file annotation fixes ()
* minor status file annotation fixes

* avoid duplicate cause
2025-02-27 01:07:13 +02:00
Costa Tsaousis
46a0dd964f
status has install type ()
* status has install type; fixed bug with multiple json version in the status file

* fix the wrong calculation of libuv threads
2025-02-27 00:00:38 +02:00
Costa Tsaousis
9c6d274d39
more status file annotations ()
more status annotations
2025-02-26 22:51:21 +02:00
Costa Tsaousis
ddbf7003cc
save status on out of memory event () 2025-02-26 17:43:27 +02:00
Costa Tsaousis
4df24b1699
attempt to save status file from the signal handler () 2025-02-26 17:27:43 +02:00
Costa Tsaousis
4ee0830534
unified out of memory handling ()
* unified out of memory handling

* fix windows cleanup and exit
2025-02-26 15:58:46 +02:00
Ilya Mashchenko
483bda2d02
chore(go.d): add file persister () 2025-02-26 15:23:18 +02:00
Costa Tsaousis
147d100d1d
do not call cleanup and exit on fatal conditions during startup () 2025-02-26 14:20:05 +02:00
Costa Tsaousis
b71bc97008
do not use mmap when the mmap limit is too low () 2025-02-26 13:32:51 +02:00
Costa Tsaousis
fbc551a9e4
systemd-journal: allow almost all fields to be facets ()
allow almost all fields to be facets
2025-02-26 13:13:38 +02:00
Costa Tsaousis
00c4ad8648
deduplicate all crash reports ()
* deduplicate all crash reports

* fatal messages also log errno; verify required directory logs also the env variable
2025-02-26 13:00:34 +02:00
Costa Tsaousis
17a0348d1c
4 malloc arenas for parents, not IoT () 2025-02-26 11:21:38 +02:00
thiagoftsm
0e73adaac7
Fix Fresh Installation on Microsoft ()
fix_installer: fix windows fresh installation
2025-02-25 21:21:12 -05:00
netdatabot
b38a0e36ec [ci skip] Update changelog and version for nightly build: v2.2.0-251-nightly. 2025-02-26 00:22:02 +00:00
Costa Tsaousis
84a207f559
Avoid post initialization errors repeateadly ()
do not post initialization errors repeateadly; detect almost full disks; increase status file version
2025-02-25 21:03:10 +00:00
Stelios Fragkakis
ede4ba0182
Check for final step () 2025-02-25 13:36:13 +00:00
Costa Tsaousis
728e36596b
daemon status improvements 3 ()
* spawn an init spawn server while netdata runs; then stop it and run the final one

* stop the old one before dropping permissions

* remove the leading dot from spawn server filenames

* save the status file on every step during startup

* minor update

* add clarity about the double use of the function
2025-02-25 12:15:44 +00:00
netdatabot
f8e9791c90 [ci skip] Update changelog and version for nightly build: v2.2.0-247-nightly. 2025-02-25 11:06:32 +00:00
Costa Tsaousis
b001ca6943
fix runtime directory; annotate daemon status file ()
* fix runtime directory; annotate daemon status file

* chmod the spawn server socket

* do not collect system info during initialization
2025-02-25 10:57:33 +00:00
netdatabot
eff6c389be [ci skip] Update changelog and version for nightly build: v2.2.0-245-nightly. 2025-02-25 00:42:25 +00:00
vkalintiris
81171c91bc
Document journal v2 index file format. () 2025-02-24 17:30:07 +02:00
Costa Tsaousis
6402d03fc4
add host/os fields to status file ()
remove exclusive lock on netdata.lock - needs testing on macos
2025-02-24 16:53:33 +02:00
Costa Tsaousis
787a961acf
under MSYS2 use stat () 2025-02-24 15:48:15 +02:00
Costa Tsaousis
d28b61ed56
detect netdata exit reasons ()
* detect netdata exit reasons

* log exit initiated

* commented debug logs

* commented debug logs again

* fix windows system shutdown detection

* commented debug logs again

* added exit reason msgid

* test shutdown detection by writing to exit.reason

* implement status file loading/saving

* accept also the shutdown event

* fix windows logs

* run as service from the script - not working yet

* save the first fatal message into the status file

* save memory information in the status file

* load machine guid early enough

* fix loading sequence

* simplify function run once logic; add dependencies on netdata.conf loading when required

* accept service parameter

* build for packaging is required for services

* log last exit status with a proper message; log node id and claim id in the status file

* added /var/cache disk space; fixed bug in rfc3339 parsing

* change log priority based on condition

* SIGINT is normal exit under windows

* wait to wevt provider to be initialized before logging

* Revert "fix windows logs ()"

This reverts commit d8c3dc087c.

* fix windows logs - the right way

* set default event log sizes

* added detection of netdata update

* added systemd dbus watcher for systemd shutdown/suspend events

* log system shutdown

* detect system reboot in a better way

* cleanup static thread

* on fatal, call _exit(); linunwind should not skip top calls on the stack

* make the sd bus watcher exit on netdata shutdown

* make the netdata agent version log also print the last exit status

* start watcher when shutdown is initiated; prevent double logging of shutdown initiation

* prepare for sending reports

* a single read per receiver

* track memory calls per worker

* use 4 malloc arenas on parents

* spread higher tiers flushing over time

* pgc and replication tuning

* on child disconnect, get retention from the rrdcontexts worker

* BUFFER: the default size is now 1024 bytes

* use dedicated jemalloc arena for judy allocations

* ARAL: do not double the page size unconditionally; cleanup old members

* double pgc partitions

* fix compiler warning

* make the default replication commit buffer big enough to avoid constant realloc

* post crash reports

* revert log2journal changes

* log2journal minor

* disable the crash report when there was no status file

* increase buffer sizes

* added os_boottime() and os_boot_id(), which are now used in the status file

* log2journal: convert \u000A to \n

* fix headers includes

* fix compilation on non-linux

* for host prefix when getting boot_id and boottime

* write status file to /run/netdata too

* fix /run/netdata on startup

* move the IPC pipe inside the run directory

* exclusive file lock to avoid running concurrently

* allow netdatacli to run from any user and still find the run dir of netdata

* fix pipe failure message

* fix nested loop sharing same variable in ADCS

* fix run_dir and netdatacli on windows

* fix status files on windows

* initialize nd_threads early enough to allow creating threads during initialization

* fix compiler warnings

* on shutdown ignore points with delayed flushing

* fix macos compilation

* added os_type to daemon status

* make daemon status schema ecs compatible

* save daemon status file on every signal

* fix external plugins log to journal

* use special allocators for judy, only on netdata - not the external plugins

* systemd-cat-native: default newline string is \n

* when generating json, prefer special 2 character sequences for common control characters

* fix daemon-status filenames

* log errors when the status file cannot be opened/saved/parsed

* make status file world readable

* do not write status file in /run/netdata; add fall back locations when the file cannot be saved in the cache dir

* move ram and disk into host

* simplified inline subobject parsing for jsonc

* ensure path is an array of at least 128 bytes

* fix non-linux compilation
2025-02-24 14:20:53 +02:00
Ilya Mashchenko
84f48b5a4f
build(deps): update go.d packages () 2025-02-24 11:37:37 +02:00
Costa Tsaousis
c12ede367f
Update README.md 2025-02-24 11:25:24 +02:00
Costa Tsaousis
d3df51ab2b
Update README.md 2025-02-24 11:22:15 +02:00
dependabot[bot]
eeb121e704
build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-24 10:18:57 +02:00
dependabot[bot]
2be518af94
build(deps): bump github.com/sijms/go-ora/v2 from 2.8.23 to 2.8.24 in /src/go ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-24 10:16:29 +02:00
netdatabot
91a4f189eb [ci skip] Update changelog and version for nightly build: v2.2.0-235-nightly. 2025-02-24 00:22:18 +00:00
Costa Tsaousis
ac29e9414d
Update README.md 2025-02-23 21:48:52 +02:00
Costa Tsaousis
4dfb57ddaf
Update README.md 2025-02-23 20:44:15 +02:00
Costa Tsaousis
830d0695c0
Update README.md 2025-02-23 20:40:24 +02:00
Costa Tsaousis
1f5724e378
Update README.md 2025-02-23 20:38:54 +02:00
Costa Tsaousis
2719a88592
Update README.md 2025-02-23 13:11:44 +02:00
Costa Tsaousis
17874e2687
Update README.md 2025-02-23 13:05:50 +02:00
Costa Tsaousis
6d90975e02
change the moto and the description of netdata ()
* change the moto and the description of netdata

* Update netdata-installer.sh

* Update netdata.spec.in

* Update Packaging.cmake

* Update makeself-help-header.txt

* Update makeself-license.txt

* Update main.c

* Update netdata.service.in

* Update netdata.service.v235.in
2025-02-23 13:02:22 +02:00
Costa Tsaousis
dff505745b
Update README.md 2025-02-23 13:00:40 +02:00
Costa Tsaousis
fe97753a7c
Update README.md 2025-02-23 12:57:17 +02:00
netdatabot
1ffc0582e9 [ci skip] Update changelog and version for nightly build: v2.2.0-225-nightly. 2025-02-23 00:30:20 +00:00
dependabot[bot]
8351490430
build(deps): bump github.com/docker/docker from 27.5.1+incompatible to 28.0.0+incompatible in /src/go ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-22 10:49:17 +02:00
dependabot[bot]
e2708743bd
build(deps): bump github.com/redis/go-redis/v9 from 9.7.0 to 9.7.1 in /src/go ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-22 10:44:53 +02:00
netdatabot
e31a81b9fe [ci skip] Update changelog and version for nightly build: v2.2.0-222-nightly. 2025-02-22 00:20:54 +00:00
Costa Tsaousis
490d6a5fa6
Update README.md 2025-02-21 17:15:50 +02:00
Costa Tsaousis
f210f21681
Update README.md 2025-02-21 17:05:15 +02:00