summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-03-27change link from aclk to data privacysecurityChristopher Akritidis
2023-03-27Consolidate security and privacy documentsChristopher Akritidis
2023-03-27Fix how we are handling system services in RPM packages. (#14781)Austin S. Hemmelgarn
* 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.
2023-03-24[ci skip] Update changelog and version for nightly build: v1.38.0-301-nightly.netdatabot
2023-03-23add validation step before using GCP metadata (#14801)Ilya Mashchenko
* add GCP data validation * Update daemon/system-info.sh --------- Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
2023-03-23Replace `/docs` links with GitHub links (#14796)Fotis Voutsas
* Update REFERENCE.md * replace redirected links * replace /docs links with their absolute GitHub link counterparts
2023-03-23Fix handling of logrotate on static installs. (#14792)Austin S. Hemmelgarn
* Fix handling of logrotate on static installs. * Correctly fix handling of logrotate config in static builds.
2023-03-23Schedule node info to the cloud after child connection (#14790)Stelios Fragkakis
* 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)
2023-03-23[ci skip] Update changelog and version for nightly build: v1.38.0-296-nightly.netdatabot
2023-03-22Fix links in README.md (#14794)Chris Akritidis
Update README.md
2023-03-22Fix capitalization on readme (#14793)Chris Akritidis
capitalization on readme
2023-03-22use mCPU in k8s cgroup cpu charts title (#14791)Ilya Mashchenko
2023-03-22/api/v2/X part 6 (#14785)Costa Tsaousis
* additional check for consistency of rrdr * do not query the host if the contexts are not initialized for it
2023-03-22uuid_compare() replaced with uuid_memcmp() (#14787)Costa Tsaousis
replace uuid_compare() with uuid_memcmp() everywhere where the order is not important but equality is
2023-03-22[ci skip] Update changelog and version for nightly build: v1.38.0-290-nightly.netdatabot
2023-03-21/api/v2/X part 5 (#14718)Costa Tsaousis
* 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
2023-03-21Update journal v2 (#14750)Stelios Fragkakis
* 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
2023-03-21Update dashboard to version v2.30.1. (#14784)Netdata bot
Co-authored-by: netdatabot <netdatabot@users.noreply.github.com>
2023-03-21Revert "Use static thread-pool for training. (#14702)" (#14782)vkalintiris
This reverts commit 5046e034212c008557dd014196b6f6204eda24b2. Will re-apply once we investigate an issue that occurs during the shutdown of the agent.
2023-03-21add validation step before using Azure metadata (AZURE_IMDS_DATA) (#14775)Ilya Mashchenko
2023-03-21Replace hardcoded links pointing to "learn.netdata.cloud" with github ↵Fotis Voutsas
absolute links (#14779) * Update REFERENCE.md * replace redirected links * format the files * fix redirected link * format the file * replace hardcoded links
2023-03-21Improve performance.md (#14778)Chris Akritidis
Move summary table to the top
2023-03-21Update reverse-proxies.md (#14777)Chris Akritidis
2023-03-21Update performance.md (#14776)Chris Akritidis
2023-03-21Create reverse-proxies.md (#14774)Chris Akritidis
Category overview page for learn
2023-03-21Add gzip compression info to nginx proxy readme (#14773)Chris Akritidis
2023-03-21Update API (#14772)Chris Akritidis
* 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>
2023-03-21Assorted improvements for our platform EOL check code. (#14768)Austin S. Hemmelgarn
* 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.
2023-03-21Use static thread-pool for training. (#14702)vkalintiris
* 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>
2023-03-21Pass node_id and config_hash vars when queueing alert configurations (#14769)Emmanuel Vasilakis
fix passing of node_id, config_hash
2023-03-21[ci skip] Update changelog and version for nightly build: v1.38.0-274-nightly.netdatabot
2023-03-20Update "View active alerts" documentation (#14766)Fotis Voutsas
* initial commit, formatting comes next * format and spell check the file * Change headings --------- Co-authored-by: Chris Akritidis <43294513+cakrit@users.noreply.github.com>
2023-03-20fix /sys/block/zram in docker (#14759)Ilya Mashchenko
2023-03-20minor addition to distros matrix (#14767)Tasos Katsoulas
2023-03-20Accept all=true for alarms api v1 call (#14762)Emmanuel Vasilakis
accept all=true for alarms api v1
2023-03-20Bundle libyaml (#14704)Emmanuel Vasilakis
* 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
2023-03-18[ci skip] Update changelog and version for nightly build: v1.38.0-268-nightly.netdatabot
2023-03-17bump go.d.plugin to v0.51.4 (#14756)Ilya Mashchenko
2023-03-17Add CI support for Fedora 38 & Ubuntu 23.04 native packages (#14735)Tasos Katsoulas
* 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>
2023-03-17Add ethtool in third party collectors (#14753)Van Phan Quang
2023-03-17Update deployment-strategies.md (#14716)Chris Akritidis
2023-03-17Suggest PRs to go to the community project (#14724)Chris Akritidis
Update python-collector.md
2023-03-17Update sign-in.md (#14751)Chris Akritidis
2023-03-17Organize information from war-rooms.md to its correct location (#14729)Fotis Voutsas
* 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>
2023-03-17Update edit-config documentation (#14749)Chris Akritidis
* Update edit-config documentation * Update docs/configure/nodes.md * Update docs/configure/nodes.md * Apply suggestions from code review * Update docs/configure/nodes.md
2023-03-17[ci skip] Update changelog and version for nightly build: v1.38.0-259-nightly.netdatabot
2023-03-16bump go.d.plugin version to v0.51.3 (#14745)Ilya Mashchenko
2023-03-16increase RRD_ID_LENGTH_MAX to 1000 (#14744)Ilya Mashchenko
2023-03-16Use one thread for ACLK synchonization (#14281)Stelios Fragkakis
* 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
2023-03-16Update Performance Optimization Options (#14743)Chris Akritidis