Age | Commit message (Collapse) | Author |
|
|
|
|
|
* Drop non-systemd init code in RPM spec file.
All of our currently supported RPM-based platforms are systemd-based, so
this is functionally dead code.
* Fix how we handle systemd service installation.
- Rely on the platform-provided macros, instead of doing our own thing.
These do the right thing in 99.99% of cases, and behave how we
actually need them to.
- Don’t depend on systemd at runtime. The macros handle this correctly,
and nothing we actually do _needs_ systemd at runtime.
- Actually follow packaging guidelines for upgrades. In particular, only
restart the agent if it’s already running (instead of unconditionally),
and don’t enable it if it’s disabled.
- Just put the macro invocations down in the actual scriptlets, instead
of using complicated nested macro definitions to compute things ahead
of time. This makes the code _much_ easier to understand.
* Add a systemd preset file so the service is enabled by default.
|
|
|
|
* add GCP data validation
* Update daemon/system-info.sh
---------
Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
|
|
* Update REFERENCE.md
* replace redirected links
* replace /docs links with their absolute GitHub link counterparts
|
|
* Fix handling of logrotate on static installs.
* Correctly fix handling of logrotate config in static builds.
|
|
* Schedule node info to the cloud after child connection
* Remove debug code
* Schedule localhost node info within 5 seconds of startup. If no children are detected Or a child connects (switch to immediate localhost node info update)
|
|
|
|
Update README.md
|
|
capitalization on readme
|
|
|
|
* additional check for consistency of rrdr
* do not query the host if the contexts are not initialized for it
|
|
replace uuid_compare() with uuid_memcmp() everywhere where the order is not important but equality is
|
|
|
|
* query timestamps are now pre-determined and alignment on timestamps is guarranteed
* turn internal_fatal() to internal_error() to investigate the issue
* handle query when no data exist in the db
* check for non NULL dict when running dictionary garbage collect
* support API v2 requests via ACLK
* add nodes detailed information to /api/v2/nodes
* fixed keys and added dummy nodes for completeness
* added nodes_hard_hash, alerts_hard_hash, alerts_soft_hash; started building a nodes status object to reflect the current status of a node
* make sure replication does not double count charts that are already being replicated
* expose min and max in sts structures
* added view_minimum_value and view_maximum_value; percentage calculation is now an additional pass on the data, removed from formatters; absolute value calculation is now done at the query level, removed from formatters
* respect trimming in percentage calculation; updated swagger
* api/v2/weights preparative work to support multi-node queries - still single node though
* multi-node /api/v2/weights endpoint, supporting all the filtering parameters of /api/v2/data
* when passing the raw option, the query exposes the hidden dimensions
* fix compilation issues on older systems
* the query engine now calculates per dimension min, max, sum, count, anomaly count
* use the macro to calculate storage point anomaly rate
* weights endpoint exposing version hashes
* weights method=value shows min, max, average, sum, count, anomaly count, anomaly rate
* query: expose RESET flag; do not add the same point multiple times to the aggregated point
* weights: more compact output
* weights requests can be interrupted
* all /api/v2 requests can be interrupted and timeout
* allow relative timestamps in weights
* fix macos compilation warnings
* Revert "fix macos compilation warnings"
This reverts commit 8a1d24e41e9b58de566ac59f0c4b1c465bcc0592.
* /api/v2/data group-by now works on dimension names, not ids
* /api/v2/weights does not query metrics without retention and new output format
* /api/v2/weights value and anomaly queries do context queries when contexts are filtered; query timeout is now always in ms
|
|
* Add update every in the metric index (new v2 version)
Switch to using memcmp instead of uuid_compare to build and search v2 index files
* Remove chart label cleanup during startup
|
|
Co-authored-by: netdatabot <netdatabot@users.noreply.github.com>
|
|
This reverts commit 5046e034212c008557dd014196b6f6204eda24b2.
Will re-apply once we investigate an issue that occurs during
the shutdown of the agent.
|
|
|
|
absolute links (#14779)
* Update REFERENCE.md
* replace redirected links
* format the files
* fix redirected link
* format the file
* replace hardcoded links
|
|
Move summary table to the top
|
|
|
|
|
|
Category overview page for learn
|
|
|
|
* Update README.md
* Add info on the cloud API
* Update web/api/README.md
Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>
---------
Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>
|
|
* Fix typos in EOL check matrix generation.
* Allow specifying a different name for distro for EOL check.
If the `eol_check` property of a distro entry is a string, use that as
the product name when querying https://endoflife.date/api
* Add failure notifications for scheduled runs of EOL check workflow.
|
|
* Use static thread-pool for training.
* Add missing function definition
* disable training stats chart
* Add config option to explicitly enable ML stats charts.
---------
Co-authored-by: Costa Tsaousis <costa@netdata.cloud>
|
|
fix passing of node_id, config_hash
|
|
|
|
* initial commit, formatting comes next
* format and spell check the file
* Change headings
---------
Co-authored-by: Chris Akritidis <43294513+cakrit@users.noreply.github.com>
|
|
|
|
|
|
accept all=true for alarms api v1
|
|
* bundle libyaml
* remove comment
* .github/workflows/coverity.yml
* add to coverity and tests
* add deps
* add to netdata.spec.in
* add to contrib/debia/control
* remove extra gentoo libyaml
|
|
|
|
|
|
* Add CI support for Fedora 38 & Ubuntu 23.04
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
* sort list
* fix merge conflicts
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
* parorama
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
* CI's pain, minor omission
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
---------
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
|
|
|
|
|
|
Update python-collector.md
|
|
|
|
* Update war-rooms.md
* update war-rooms.md
* some visual fixes
* Apply suggestions from code review
Co-authored-by: Chris Akritidis <43294513+cakrit@users.noreply.github.com>
* put info in the proper place from war-rooms.md
* Update the images in visualization-date-and-time-controls.md
* Apply suggestions from code review
---------
Co-authored-by: Chris Akritidis <43294513+cakrit@users.noreply.github.com>
|
|
* Update edit-config documentation
* Update docs/configure/nodes.md
* Update docs/configure/nodes.md
* Apply suggestions from code review
* Update docs/configure/nodes.md
|
|
|
|
|
|
|
|
* Remove aclk sync threads
* Disable functions if compiled with --disable-cloud
* Allocate and reuse buffer when scanning hosts
Tune transactions when writing metadata
Error checking when executing db_execute (it is already within a loop with retries)
* Schedule host context load in parallel
Child connection will be delayed if context load is not complete
Event loop cleanup
* Delay retention check if context is not loaded
Remove context load check from regular metadata host scan
* Improve checks to check finished threads
* Cleanup warnings when compiling with --disable-cloud
* Clean chart labels that were created before our current maximum retention
* Fix sql statement
* Remove structures members that of no use
Remove buffer allocations when not needed
* Fix compilation error
* Don't check for service running when not from a worker
* Code cleanup if agent is compiled with --disable-cloud
Setup ACLK tables in the database if needed
Submit node status update messages to the cloud
* Fix compilation warning when --disable-cloud is specified
* Address codacy issues
* Remove empty file -- has already been moved under contexts
* Use enum instead of numbers
* Use UUID_STR_LEN
* Add newline at the end of file
* Release node_id to prevent memory leak under certain cases
* Add queries in defines
* Ignore rc from transaction start -- if there is an active transaction, we will use it (same with commit) should further improve in a future PR
* Remove commented out code
* If host is null (it should not be) do not allocate config (coverity reports Resource leak)
* Do garbage collection when contexts is initialized
* Handle the case when config is not yet available for a host
|
|
|