summaryrefslogtreecommitdiffstats
path: root/aclk
AgeCommit message (Collapse)Author
2021-04-06Update README.md (#10898)Yannis Sliman
2021-03-19move https_client into separate file (#10784)Timotej S
2021-03-17Adds _aclk_impl label (#10778)Timotej S
* add _aclk_impl label for cloud * aclk_otp removes unneeded include
2021-03-16Adds ACLK-NG as fallback(#10315)Timotej S
* adds a new implementation of ACLK written almost from scratch * external dependencies only OpenSSL and JSON-C * fallback for systems where ACLK Legacy can't build (for technical or philosophical reasons) * can be forced to build by giving "--aclk-ng" to the installer
2021-03-09remove unused fnc warning from ACLK Legacy (#10731)Timotej S
2021-03-04Log ACLK cloud commands to access.log (#10697)Stelios Fragkakis
2021-02-26increases ACLK TBEB randomness (#10373)Timotej S
* increase TBEB randomness
2021-02-26add ACLK stats per cloud query type (#10602)Timotej S
* add stats per cloud query type
2021-02-25cpu stats per query thread (#10634)Emmanuel Vasilakis
* cpu stats per query thread * remove dim_name * limit calls to getrusage to MAX_GETRUSAGE_CALLS_PER_TICK per tick, per thread * proper parenthesis * use proper limits
2021-02-11Add ACLK proxy setting as host label (#10619)Timotej S
* add label showing ACLK proxy setting
2021-02-11reduce logging amount in ACLK (#10596)Timotej S
2021-01-28Fix disconnect message sent via ACLK on agent shutdown (#10563)Timotej S
Fix disconnect message sent via ACLK on agent shutdown
2021-01-19Move ACLK Legacy into a subfolder (#10265)Timotej S
* move all legacy ACLK into a subfolder to make space for ACLK-NG
2021-01-11ACLK fix error for older compilers (#10470)Timotej S
* organizes code better and fixes error with older C compilers
2021-01-04ACLK use mguid instead of hostname (#10394)v1.27.0_0104103941Timotej S
2020-12-18Fix locking after an ACLK on_connect failure (#10401)Stelios Fragkakis
2020-12-03add privacy information about aclk connection (#10292)Odysseas Lamtzidis
* add privacy information about aclk connection * Update aclk/README.md Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> * Update aclk/README.md Co-authored-by: Joel Hans <joel@netdata.cloud> * Update aclk/README.md Co-authored-by: Joel Hans <joel@netdata.cloud> * Update aclk/README.md Co-authored-by: Joel Hans <joel@netdata.cloud> * Update aclk/README.md Co-authored-by: Joel Hans <joel@netdata.cloud> * Update aclk/README.md Co-authored-by: Joel Hans <joel@netdata.cloud> * Update aclk/README.md Co-authored-by: Joel Hans <joel@netdata.cloud> * Update aclk/README.md Co-authored-by: Joel Hans <joel@netdata.cloud> * Update aclk/README.md Co-authored-by: Joel Hans <joel@netdata.cloud> * move body upwards * changes according to joel's comments * Update aclk/README.md Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> Co-authored-by: Joel Hans <joel@netdata.cloud>
2020-12-03fix UUID_STR_LEN undefined on MacOS (#10313)Timotej S
2020-12-01adds child query support to ACLK (#10030)Timotej S
* allows cloud to query children
2020-11-26ACLK Child Availability Messages (#9918)Timotej S
* new ACLK messages for Claiming MVP1
2020-11-20Document the Agent reinstallation process (#10270)Joel Hans
* Set up the reinstall doc * Building out reinstall page, tweaks * Finish up reinstallation doc * Fix one link * Fix broken links
2020-11-06Adds metric showing how long Query spent in Queue (#10016)Timotej S
* implements new ACLK metric * cleans ACLK_stats code a bit
2020-10-30allows use of system libwebsockets instead of bundled one (#9984)Timotej S
* allows usage of system libwebsockets * fixes problems that were preventing ACLK to work with LWS `4.1.` * add LWS info to buildinfo Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud>
2020-10-06Allow connecting to arbitrary MQTT WSS broker for devs (#9999)Timotej S
* adds a simple way to disable of ACLK challenge for devs * remove unnecessary back and forth conversions (int<->str) for ACLK port
2020-09-30change default ACLK query thread count (#10009)Timotej S
2020-09-28minor - removes leading whitespace before JSON in ACLK (#9998)Timotej S
avoids extra processing on the Cloud side (skipping of whitespace)
2020-09-24allows using LWS without SOCKS5 (#9973)Timotej S
* allows using LWS without SOCKS5
2020-09-16 Fix resource leak in case of malformed cloud request (#9934)Timotej S
2020-09-10Implements ACLK v2 http message with compression (#9895)Timotej S
Allows cloud to use v2 queries which support compression.
2020-09-08ACLK Version Negotiation (#9819)Timotej S
* implements version negotiation for ACLK
2020-08-28fixes compilation warnings (#9845)Timotej S
2020-07-21Replaces mempcpy with memcpy (#9575)Timotej S
both functions do the same, they differ in return value only (which we don't use) some systems do not have mempcpy
2020-07-16Suppress warning -Wformat-truncation in ACLK (#9547)Timotej S
* suppress some truncation warning in places we want truncation
2020-07-10adds support for multiple ACLK query processing threads (#9355)Timotej S
2020-07-08fix ACLK protocol version always parsed as 0 (#9502)Timotej S
2020-06-18Fixed ACLK shutdown sequence (#9367)Timotej S
* fix aclk shutdown sequence
2020-06-16Add missing slash (#9257)oneoneonepig
2020-06-12Add support for persistent metadata (#9324)Stelios Fragkakis
* Implemented collector metadata logging * Added persistent GUIDs for charts and dimensions * Added metadata log replay and automatic compaction * Added detection of charts with no active collector (archived) * Added new endpoint to report archived charts via `/api/v1/archivedcharts` * Added support for collector metadata update Co-authored-by: Markos Fountoulakis <44345837+mfundul@users.noreply.github.com>
2020-06-11Adds metrics for ACLK performance and status (#9269)Timotej S
Adds ACLK charts
2020-05-30fix compilation for older systems (#9198)Costa Tsaousis
inherit libs for clock_gettime() when building libmosquitto; Check that X509_VERIFY_PARAM_set1_host is available on the target system
2020-05-20Regenerate topic base on connect (#9044)Andrew Moss
Allow agents to be reclaimed while they are running. Fix a race hazard between claiming and the ACLK. Changes the private key, base topic, username and contents of the LWT. Co-authored-by: <hilari@hilarimoragrega.com>
2020-05-20Add ACLK Connection Details (#9047)Zack Shoylev
* Add ACLK Connection Details * Update aclk/README.md Co-authored-by: Joel Hans <joel@netdata.cloud> * Update README.md Remove heading, decided to consolidate under `Agent-cloud link (ACLK)` heading * Update README.md Remove uncertain future plans. Update docs if we update the product at a later time. * review fix * review feedback Co-authored-by: Joel Hans <joel@netdata.cloud>
2020-05-13Add text to ACLK doc mentioning WebSockets and port (#8968)Joel Hans
* Add text about websockets/port * Update aclk/README.md Co-authored-by: Andrew Moss <1043609+amoss@users.noreply.github.com> * Tweak for Chris Co-authored-by: Andrew Moss <1043609+amoss@users.noreply.github.com>
2020-05-12Fix the latency issue on the ACLK and suppress the diagnostics (#8992)Andrew Moss
The on-connect payloads were large enough to trigger a massive increase in latency on the link and prevent chart updates due to head-of-line blocking. The default window detection in libwebsockets was under-reporting the size of the available window in the network. Overwritten with some sensible values. The large volume of ACLK per-message info-logging is not produced unless the agent is compiled with NETDATA_INTERNAL_CHECKS. The logging now includes latency measurements on the link. Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
2020-05-11Docs: Fix internal links and remove obsolete admonitions (#8946)Joel Hans
* Fixed a few more links * Remove old syntax * Abs-relative links to files in docs folder * Trying to fix nother doc learn link * Fix a few more links * Add testing doc * Tracking down mysteries * Cleanup * Update broken external links * Remove index.html that appeared from testing * Fix remainder of links
2020-05-12Docs: Update with go-live claiming and ACLK information (#8859) (#8960)James Mills
* Restore docs from naughty PR * Address Andrew's comments * Ini to conf * Changes based on meeting with Andrew * Tweak text around claiming * Some grammar/typo fixes * Add /var/lib/netdata to Docker instructions on README * Added a few more ACLK links per Chris Co-authored-by: Joel Hans <joel@netdata.cloud>
2020-05-11Enable support for Netdata Cloud.Andrew Moss
This PR merges the feature-branch to make the cloud live. It contains the following work: Co-authored-by: Andrew Moss <1043609+amoss@users.noreply.github.com(opens in new tab)> Co-authored-by: Jacek Kolasa <jacek.kolasa@gmail.com(opens in new tab)> Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud(opens in new tab)> Co-authored-by: James Mills <prologic@shortcircuit.net.au(opens in new tab)> Co-authored-by: Markos Fountoulakis <44345837+mfundul@users.noreply.github.com(opens in new tab)> Co-authored-by: Timotej S <6674623+underhood@users.noreply.github.com(opens in new tab)> Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com(opens in new tab)> * dashboard with new navbars, v1.0-alpha.9: PR #8478 * dashboard v1.0.11: netdata/dashboard#76 Co-authored-by: Jacek Kolasa <jacek.kolasa@gmail.com(opens in new tab)> * Added installer code to bundle JSON-c if it's not present. PR #8836 Co-authored-by: James Mills <prologic@shortcircuit.net.au(opens in new tab)> * Fix claiming config PR #8843 * Adds JSON-c as hard dep. for ACLK PR #8838 * Fix SSL renegotiation errors in old versions of openssl. PR #8840. Also - we have a transient problem with opensuse CI so this PR disables them with a commit from @prologic. Co-authored-by: James Mills <prologic@shortcircuit.net.au(opens in new tab)> * Fix claiming error handling PR #8850 * Added CI to verify JSON-C bundling code in installer PR #8853 * Make cloud-enabled flag in web/api/v1/info be independent of ACLK build success PR #8866 * Reduce ACLK_STABLE_TIMEOUT from 10 to 3 seconds PR #8871 * remove old-cloud related UI from old dashboard (accessible now via /old suffix) PR #8858 * dashboard v1.0.13 PR #8870 * dashboard v1.0.14 PR #8904 * Provide feedback on proxy setting changes PR #8895 * Change the name of the connect message to update during an ongoing session PR #8927 * Fetch active alarms from alarm_log PR #8944
2020-04-22Add http headers to responses (#8760)Andrew Moss
The MQTT payloads for responses to API requests from the cloud now include a headers field with the raw http headers encoded into unicode. This exposes the `Date` and `Expired` fields to the cloud backend.
2020-04-21Docs: Add Docker instructions to claiming (#8755)Joel Hans
* Trying some options * Add Docker command to claiming * Fix linter error * Fix broken links * Add docker run command * Added sections for running/ephemeral containers * Fixes for James
2020-04-17Additional cases for the thread exit fix (#8750)Andrew Moss