* extended dbegnine stats should be enabled
* creash reports are enabled when the agent is claimed (directly or indirectly)
* make mmap() report out of memory
* for open cache, use the current hot size, not the max ever used
* add more logging to rrddim fatal incorrect pointer returned from index
* increase status file version to 13
* remove reuse of old uuidmap ids
* debug info to find leaked refcount
* fix strings leak in streaming; count delayed dictionaries
* switch rd pointer when rrddim_mem finds the same uuidmap id on a different rrddim
* fix the rrdset-name cleanup
* cleanup
* store status file in /var/lib/netdata, not in /var/cache/netdata
* add db mode and db tiers to the status file
* fix compilation
* remove old status files
* clear errno after deletions
* save kubernetes status
* do not cleanup old status files on every save
rrdhost machine guid should not be linked, but copied to the dictionary, so that delayed destruction of the dictionary will not introduce heap-use-after-free
* remove the RRDHOST hostname index
* do not use flags for indexing hosts
* add dictionary_garbage_collect() to dictionary_flush()
* just destroy remaining hot/dirty pages on shutdown
* fix dictionaries not adding dictionaries for garbage collect
* Fix Go version requirement detection to not have external deps.
Instead of relying on a UNIX-like environment with the `grep` and `cut`
commands, perform the required data extraction using CMake code. This
makes it more portable, but also should speed things up a tiny bit
because it doesn’t require invoking external commands.
* Preliminary integration of the new otel-collector into the build.
Adding `-DENABLE_PLUGIN_OTEL=On` to CMake options will enable building
the plugin and installing it.
Currently disabled by default, and does not include packaging
integration yet.
The plugin itself can be built independently of the primary build system
but using the same build infrastructure that is used to build it as
part of the regular build by using CMake in the src/go/otel-collector
directory.
* Minor cleanup.
* Fix build prefix.
* Restructure to not use a sub-project.
* destroy caches
* cleanup the mrg and all hosts
* cleanup uuidmap
* cleanup inline functions and replication
* Add destroy_aclk_config function to free aclk_config in RRDHOST
* flush all hot pages after the collection has been finalized
* increase daemon status file version to 13
---------
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
* add SIGUSR1 for exiting immediately, so that LSAN can check for leaks
* fix system info leak
* adapt to changed semantics of rrdhost system_info
* fix memory leak in rrdcontexts when matching alerts
* do not system info after it was freed
* allow sentry to send its reports
* make stderr remain intact when FSANITIZE_ADDRESS is set
* switching users makes the sanitizer fail
* check for failure to memory map journal file
* fix memory leak in buildinfo
* fix memory leak in stream_sender_structures_init(), when it is called via rrdhost_update()
* log more information when running under FSANITIZE_ADDRESS
* fix formatting
* disable signal handler when compiling with -DFSANITIZE=1
* no need for packed ; valgrind complains about it
* help the IDE detect use after free, when removing receiver and senders
* disable function inlining when compiling with -DFSANITIZE
* make stack traces unique on macos
* use local unwinding only; make sure libunwind stack traces are async-signal-safe
* add missing libraries when no stack traces backend is available
* make sure all signal handler calls are async safe
* save a status file every 10 minutes
* save a status file every 15 minutes - better implementation
* use monotonic clock to ensure fixed step in saving updates
* simpler version