0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-05-23 00:39:58 +00:00
Commit graph

12 commits

Author SHA1 Message Date
Costa Tsaousis
cca0d2649c
detect the path the netdata-claim.sh script is in () 2023-07-26 19:55:53 +03:00
thiagoftsm
e0f388c43f
Rename generic error function () 2023-07-06 15:46:48 +00:00
Carlo Cabrera
5b56f09dbc
Replace info macro with a less generic name () 2023-06-30 21:14:26 +00:00
vkalintiris
4de2ce54d5
Sanitize command arguments. ()
* Sanitize bash arguments.

Remove leading dashes and escape single quotes in command arguments.

* Quote expanded variable in test
2022-11-29 17:26:35 +02:00
vkalintiris
e91d1110e5
Do not use dbengine headers when dbengine is disabled. ()
Prior to this commit both daemon/commands.c and spawn/spawn.c used to
include database/engine/rrdenginelib.h, ie. a header file that is available
only when enabling the dbengine feature.
2022-01-18 10:30:36 +02:00
vkalintiris
b8cd2bdc50
Remove unecessary relative paths when including headers. ()
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
Josh Soref
2e406b8603
spelling: bidirectional ()
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-04-14 12:36:23 +03:00
vkalintiris
adec24dffa
Rename struct avl to avl_element and the typedef to avl_t ()
Before:

```
struct foobar {
    avl avl;
    ...
}
```

After:

```
struct foobar {
    avl_t avl;
    ...
};
```

Which makes figuring out the type from field name easier.
2021-03-10 10:37:47 +02:00
Markos Fountoulakis
ed2d5542cc
Replace assert calls ()
* Replace all assert() calls with the new fatal_assert() for proper logging.
2020-06-16 21:57:46 +03:00
Markos Fountoulakis
c4fd4aa07c
Get netdata execution path early to avoid user permission issues ()
* Get netdata execution path early to avoid user permission issues
2020-06-16 19:34:19 +03:00
Markos Fountoulakis
6a9a465497
Add verbose prints when spawn server fails to spawn. () 2020-06-09 14:26:08 +03:00
Markos Fountoulakis
6393b2f535
Improve the impact of health code on netdata scalability ()
* Add support for spawning processes without pipes.

* Port health_alarm_execute() from mypopen() to netdata_spawn()

* Make alarm notifications asynchronous within a single health thread iteration

* Initial version of spawn server.

* preliminary integration of spawn client with health
2020-05-14 11:57:20 +03:00