1
0
mirror of https://github.com/netdata/netdata.git synced 2021-06-06 23:03:21 +03:00

99 Commits

Author SHA1 Message Date
vkalintiris
b8cd2bdc50 Remove unecessary relative paths when including headers. (#11124)
Currently, we add the repository's top-level dir in the compiler's
header search path. This means that code in every top-level directory
within the repo can include headers sibling top-level directories.

This patch makes header inclusion consistent when it comes to files
that are included from sibling top-level directories within the repo.
2021-05-24 17:44:50 +03:00
Ikko Ashimine
4d0f785c15 Fix typo in aclk.c (#11170)
Successfull -> Successful
2021-05-24 15:51:15 +02:00
Timotej S
3db7c61724 minor -fixes typo in ACLK-NG (#11107) 2021-05-06 18:52:14 +02:00
Ilya Mashchenko
d9dd28f85b aclk/legacy: change aclk statistics charts units from kB/s to KiB/s (#11103) 2021-05-06 16:38:26 +03:00
Timotej S
690df2de3b ACLK new cloud architecture new TBEB (#10941)
* new TBEB impl. honoring new cloud architecture requirements
* handle error cases during env/passwd/challenge as per spec of new cloud architecture
2021-04-26 10:32:41 +02:00
Timotej S
b6d729f96a remove vneg from ACLK-NG (#10980)
removes obsolete version negotiation from ACLK-NG
2021-04-21 15:41:19 +02:00
Timotej S
f9fbde67a4 ACLK Passwd endpoint update (#10859)
Updates ACLK-NG to properly handle new response of password payload as defined in New Cloud Architecture
2021-04-21 14:23:58 +02:00
Timotej S
516cae9d08 add missing SPDX (#10990) 2021-04-20 11:11:16 +02:00
Timotej S
6bc851a743 fix MQTT connection on OTP fail (#10839) 2021-04-20 10:52:26 +02:00
Timotej S
a3c46ef3ec implements ACLK env endpoint (#10833)
implements /env endpoint call and parsing of the response
2021-04-19 17:52:40 +02:00
Timotej S
d7212e031d implements new https client for ACLK (#10805)
New HTTPS client for Agent/Cloud New Arch
2021-04-19 11:14:02 +02:00
Josh Soref
757ccb0ca1 Spelling aclk (#10910) 2021-04-14 12:30:26 +03:00
Yannis Sliman
f6ff3ec9e9 Update README.md (#10898) 2021-04-06 08:41:18 -07:00
Timotej S
f36d14dbb8 move https_client into separate file (#10784) 2021-03-19 11:33:23 +01:00
Timotej S
de2ac5a34b Adds _aclk_impl label (#10778)
* add _aclk_impl label for cloud
* aclk_otp removes unneeded include
2021-03-17 11:13:32 +01:00
Timotej S
e7e5d0c372 Adds ACLK-NG as fallback(#10315)
* 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-16 12:38:16 +01:00
Timotej S
a96fec94ba remove unused fnc warning from ACLK Legacy (#10731) 2021-03-09 11:24:17 +01:00
Stelios Fragkakis
3d7f07fb3f Log ACLK cloud commands to access.log (#10697) 2021-03-04 23:28:42 +02:00
Timotej S
4bfda2b223 increases ACLK TBEB randomness (#10373)
* increase TBEB randomness
2021-02-26 18:40:16 +01:00
Timotej S
9cb6e7f410 add ACLK stats per cloud query type (#10602)
* add stats per cloud query type
2021-02-26 14:24:19 +01:00
Emmanuel Vasilakis
dbd1624837 cpu stats per query thread (#10634)
* 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-25 15:05:24 +02:00
Timotej S
a392d3227e Add ACLK proxy setting as host label (#10619)
* add label showing ACLK proxy setting
2021-02-11 14:57:01 +01:00
Timotej S
f1a62106ca reduce logging amount in ACLK (#10596) 2021-02-11 13:23:07 +01:00
Timotej S
792d2a4da7 Fix disconnect message sent via ACLK on agent shutdown (#10563)
Fix disconnect message sent via ACLK on agent shutdown
2021-01-28 14:22:01 +01:00
Timotej S
a65193925e Move ACLK Legacy into a subfolder (#10265)
* move all legacy ACLK into a subfolder to make space for ACLK-NG
2021-01-19 09:41:35 +01:00
Timotej S
6e33f04873 ACLK fix error for older compilers (#10470)
* organizes code better and fixes error with older C compilers
2021-01-11 09:01:32 +01:00
Timotej S
65f9efdcf9 ACLK use mguid instead of hostname (#10394) 2021-01-04 08:40:49 +01:00
Stelios Fragkakis
a45b2f73b5 Fix locking after an ACLK on_connect failure (#10401) 2020-12-18 10:35:23 +02:00
Odysseas Lamtzidis
b3e2bb1b9b add privacy information about aclk connection (#10292)
* 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-03 22:22:03 +02:00
Timotej S
551fc3237a fix UUID_STR_LEN undefined on MacOS (#10313) 2020-12-03 11:01:43 +01:00
Timotej S
37d599cb65 adds child query support to ACLK (#10030)
* allows cloud to query children
2020-12-01 18:27:03 +01:00
Timotej S
f1db235a36 ACLK Child Availability Messages (#9918)
* new ACLK messages for Claiming MVP1
2020-11-26 17:26:01 +01:00
Joel Hans
7cf6e03f4e Document the Agent reinstallation process (#10270)
* Set up the reinstall doc

* Building out reinstall page, tweaks

* Finish up reinstallation doc

* Fix one link

* Fix broken links
2020-11-20 13:36:58 -07:00
Timotej S
144800420e Adds metric showing how long Query spent in Queue (#10016)
* implements new ACLK metric
* cleans ACLK_stats code a bit
2020-11-06 10:16:20 +01:00
Timotej S
593e1b6dbc allows use of system libwebsockets instead of bundled one (#9984)
* 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-30 10:28:28 +01:00
Timotej S
bc1fa29ec3 Allow connecting to arbitrary MQTT WSS broker for devs (#9999)
* adds a simple way to disable of ACLK challenge for devs
* remove unnecessary back and forth conversions (int<->str) for ACLK port
2020-10-06 11:12:22 +02:00
Timotej S
cfcfbb5880 change default ACLK query thread count (#10009) 2020-09-30 08:43:04 +02:00
Timotej S
aa997abd9b minor - removes leading whitespace before JSON in ACLK (#9998)
avoids extra processing on the Cloud side (skipping of whitespace)
2020-09-28 20:30:58 +02:00
Timotej S
b2ac03cf4b allows using LWS without SOCKS5 (#9973)
* allows using LWS without SOCKS5
2020-09-24 11:54:57 +02:00
Timotej S
a1b997f7bc Fix resource leak in case of malformed cloud request (#9934) 2020-09-16 09:59:46 +02:00
Timotej S
54916258aa Implements ACLK v2 http message with compression (#9895)
Allows cloud to use v2 queries which support compression.
2020-09-10 13:48:06 +02:00
Timotej S
ae7a9aa7ed ACLK Version Negotiation (#9819)
* implements version negotiation for ACLK
2020-09-08 11:14:53 +02:00
Timotej S
79969639f3 fixes compilation warnings (#9845) 2020-08-28 17:45:48 +02:00
Timotej S
da7f267196 Replaces mempcpy with memcpy (#9575)
both functions do the same, they differ in return value only (which we don't use)
some systems do not have mempcpy
2020-07-21 17:56:58 +02:00
Timotej S
ee1eb0f9c5 Suppress warning -Wformat-truncation in ACLK (#9547)
* suppress some truncation warning in places we want truncation
2020-07-16 11:56:20 +02:00
Timotej S
42aa54eaf6 adds support for multiple ACLK query processing threads (#9355) 2020-07-10 15:31:30 +02:00
Timotej S
11e4ac1357 fix ACLK protocol version always parsed as 0 (#9502) 2020-07-08 16:20:47 +02:00
Timotej S
5bc76f3b5b Fixed ACLK shutdown sequence (#9367)
* fix aclk shutdown sequence
2020-06-18 12:46:04 +02:00
oneoneonepig
560013ef56 Add missing slash (#9257) 2020-06-16 15:20:51 -07:00
Stelios Fragkakis
1bd8a25544 Add support for persistent metadata (#9324)
* 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-12 10:35:17 +03:00