0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-15 01:58:34 +00:00
Commit graph

9 commits

Author SHA1 Message Date
vkalintiris
777b7ac531
Remove config macros that are always set. () 2024-02-12 13:27:10 +02:00
Costa Tsaousis
2edc0c4890
local-sockets: use netlink when libmnl is available ()
* enable libmnl when it is available

* Link MNL if it's available

* working uid from proc too

* do not show sockets from unknown pids or uids

* fix comparison

* enable again unknown uid/pid

* updates to network viewer prototype

* apps.plugin minify and remove of cloexec workaround

---------

Co-authored-by: vkalintiris <vasilis@netdata.cloud>
2024-02-01 12:14:12 +02:00
vkalintiris
18800a4af5
Setup sentry-native SDK. ()
* Setup sentry-native SDK.

* Integrate Sentry into our CI

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

* minor fix

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

* Include sentry field to the build matrix

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

* Update the bundle_sentry flag for all the distros

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

* more changes

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

* NON mergeable change

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

* .

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

* Enable fetch content.

* Abort in profile plugin

* Update plugin_profile.cc

* NON MERGABLE COMMIT, just for testing purposes

* NON MERGEABLE CHANGE, jsut for testing purposes

* Bump

* Use breakpad backend

* Multiple changes

- Make DSN variable that we read from the CI from the CI
- Upload debug symbols
- Fix packaging workflow; include new env vars & fix shecllchecks

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

* Modify sentry dif command

* fix merge conf

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

* Fix merge conflict

* Undo file prefix map.

* Fix typo

* Cleanup stuff.

* Add 256-checksum

* Renable ML for debs

* Finalize CI changes

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

* Update rules

* final touches

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

* merge the two if, no point to have them sep

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

* Update contrib/debian/rules

Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>

* Update contrib/debian/rules

Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>

* Add license

* Enable sentry for debian 12.

* Update .github/workflows/packaging.yml

Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>

---------

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
Co-authored-by: Tasos Katsoulas <tasos@netdata.cloud>
Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>
Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
2024-01-30 21:02:09 +02:00
Costa Tsaousis
84474006d4
New Permissions System ()
* wip of migrating to bitmap permissions

* replace role with bitmapped permissions

* formatting permissions using macros

* accept view and edit permissions for all dynamic configuration

* work on older compilers

* parse the header in hex

* agreed permissions updates

* map permissions to old roles

* new permissions management

* fix function rename

* build libdatachannel when enabled - currently for code maintainance

* dyncfg now keeps 2 sets of statuses, to keep track of what happens to dyncfg and what actually happens with the plugin

* complete the additions of jobs and solve unittests

* fix renumbering of ACL bits

* processes function shows the cmdline based on permissions and the presence of the sensitive data permission

* now the agent returns 412 when authorization is missing, 403 when authorization exists but permissions are not enough, 451 when access control list prevents the user from accessing the dashboard

* enable cmdline on processes with thhe HTTP_ACCESS_VIEW_AGENT_CONFIG permission

* by default functions require anonymous-data access

* fix compilation on debian

* fix left-over renamed define

* updated schema for alerts

* updated permissions

* require a name when loading json payloads, if the name is not provided by dyncfg
2024-01-29 09:18:01 +02:00
Costa Tsaousis
40c6c14dab
cmake missing defines ()
* added HAVE_ACCEPT4

* added HAVE_FINITE, HAVE_ISFINITE

* added SIZEOF_VOID_P

* added HAVE_NICE, HAVE_RECVMMSG, HAVE_GETPRIORITY

* added HAVE_C__GENERIC

* added HAVE_C_MALLOPT

* added HAVE_BACKTRACE, HAVE_CLOSE_RANGE, HAVE_SCHED_GETSCHEDULER, HAVE_SCHED_SETSCHEDULER, HAVE_SCHED_GET_PRIORITY_MIN, HAVE_SCHED_GET_PRIORITY_MAX

* added HAVE_DLSYM

* added function attributes checks

* fix SIZEOF_VOID_P

* added HAVE_PTHREAD_GETNAME_NP

* fixed compiler warnings
2023-12-28 23:20:22 +02:00
vkalintiris
92842d8422
CMake build system. ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud>
Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>
Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st>
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
Co-authored-by: netdatabot <bot@netdata.cloud>
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2023-12-13 16:41:20 +02:00
Timotej S
4ff305a4ad
make zlib compulsory dep ()
zlib compulsory
2023-05-10 17:30:58 +02:00
Timotej S
8e886651f1
CMake - add possibility to build without ACLK ()
make aclk optional in CMake
2022-09-28 11:12:44 +02:00
Timotej S
0c8c34955e
CMake improvements part 1 ()
* generate basic config.h
2022-09-09 15:09:20 +02:00