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

185 Commits

Author SHA1 Message Date
Stelios Fragkakis
baa5399126 Do not fail agent if DBENGINE is not available and memory mode is set to dbengine (#11207)
Use memory mode RAM instead
2021-06-01 13:00:30 +03:00
Emmanuel Vasilakis
5de2432537 Only report the exit code without strerror (#11215) 2021-06-01 09:38:59 +03:00
Emmanuel Vasilakis
9f40c4b12c Provide UTC offset in seconds and edit health config command (#11051)
* add abbreviated timezone, utc offset in seconds, and edit health alarm command

rebased

* formating

* use str2i instead of atoi
2021-05-31 16:29:47 +03:00
Emmanuel Vasilakis
1d493f5f85 Check return status of execution of anonymous statistics script (#11188)
* check return of execution of anonymous statistics script

* break check into two parts
2021-05-31 10:42:25 +03:00
vkalintiris
eaf1d76ca1 Remove deprecated options. (#11149)
These options have been deprecated for a long time and they are probably not used anywhere any more.
2021-05-24 17:49:10 +03:00
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
Joel Hans
833252b8db Fix broken links in various docs (#11109) 2021-05-10 13:43:44 -07:00
Ilya Mashchenko
cde5d2841c analytics: reduce alarms notifications dump logging (#11116) 2021-05-07 18:11:03 +03:00
Emmanuel Vasilakis
bebd56cd60 Add host_cloud_enabled attribute to analytics (#11100)
* add host_cloud_enabled attribute to analytics

* change order

* use defines in appconfig_get_boolean
2021-05-06 15:20:20 +03:00
Stelios Fragkakis
261858b852 Add an event when an incomplete agent shutdown is detected #11078 2021-05-05 18:26:30 +03:00
Emmanuel Vasilakis
037584392c reduce info logging (#11091) 2021-05-05 11:14:00 +03:00
Stelios Fragkakis
d41a139143 Fix coverity issue (CID 370510) #11060 2021-04-29 10:05:54 +03:00
Emmanuel Vasilakis
e9ccc75a45 Provide more agent analytics to posthog (#11020)
* Move statistics related functions to analytics.c

* error message change, space added after if

* start an analytics thread

* use heartbeat instead of sleep

* add late enviroment (after rrdinit) pick of some attributes

* change loop

* re-enable info messages

* remove possible new line

* log and report hits on allmetrics pages. detect if exporting engines are enabled/in use, and report them

* use lowercase for analytics variables

* add collectors

* add buildinfo

* more attributes from late environment

* add new attributes to v1/info

* re-gather meta data before exit. update allmetrics counters to be available in v1/info

* log hits to dashboard

* add mirrored hosts

* added notification methods

* fix spaces, proper JSON naming

* add alerts, charts and metrics count

* more attributes

* keep the thread up, and report a meta event every 2 hours

* small formating changes. Disable analytics_log_prometheus when for unit testing. Add the new attributes to the anonymous-statistics.sh.in script

* applied clang-format

* dont gather data again on exit

* safe buffer length in snprintfz

* add rrdset lock

* remove show_archived

* remove setenv

* calculate lengths during sets
2021-04-27 10:11:20 +03:00
Ilya Mashchenko
351bab509a anonymous-statistics: add a timeout when using curl (#11010) 2021-04-22 11:02:54 +03:00
Emmanuel Vasilakis
3d571ebb44 Revert "Provide more agent analytics to posthog (#10887)" (#11011)
This reverts commit a1ce482f3e.
2021-04-21 20:53:12 +03:00
Emmanuel Vasilakis
a1ce482f3e Provide more agent analytics to posthog (#10887)
* Move statistics related functions to analytics.c

* error message change, space added after if

* start an analytics thread

* use heartbeat instead of sleep

* add late enviroment (after rrdinit) pick of some attributes

* change loop

* re-enable info messages

* remove possible new line

* log and report hits on allmetrics pages. detect if exporting engines are enabled/in use, and report them

* use lowercase for analytics variables

* add collectors

* add buildinfo

* more attributes from late environment

* add new attributes to v1/info

* re-gather meta data before exit. update allmetrics counters to be available in v1/info

* log hits to dashboard

* add mirrored hosts

* added notification methods

* fix spaces, proper JSON naming

* add alerts, charts and metrics count

* more attributes

* keep the thread up, and report a meta event every 2 hours

* small formating changes. Disable analytics_log_prometheus when for unit testing. Add the new attributes to the anonymous-statistics.sh.in script

* applied clang-format

* dont gather data again on exit

* safe buffer length in snprintfz

* add rrdset lock

* remove show_archived
2021-04-21 18:24:51 +03:00
Vladimir Kobal
0a6a14e323 Add a chart with netdata uptime (#10997)
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2021-04-20 15:20:40 +03:00
Vladimir Kobal
f569beac51 Move global stats to a separate thread (#10991) 2021-04-19 16:46:58 +03:00
Josh Soref
963ed4a178 Spelling daemon (#10913) 2021-04-14 12:31:40 +03:00
Vladimir Kobal
7de64f49ff Add a plugin for the system clock synchronization state (#10895)
Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
2021-04-14 12:20:13 +03:00
Stelios Fragkakis
f800a4f3ac Add a CRASH event when the agent fails to properly shutdown (#10893) 2021-04-07 21:17:54 +03:00
Ikko Ashimine
5a815b1b1f Fix typo in main.h (#10858)
descripton -> description
2021-03-25 14:27:34 +00:00
Stelios Fragkakis
7ebb0a4da2 Fix memory leak when archived data is requested (#10837) 2021-03-23 18:09:34 +02:00
Tomáš Kopal
757e418090 Rename abs to ABS to avoid clash with standard definitions. Fixes #10353. (#10354) 2021-03-17 12:18:33 +02: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
Andrew Maguire
6aeeb63eca replace GA with PostHog for backend telemetry events. (#10636)
- update anonymous-statistics.sh.in to use Netdata PostHog instead of GA
- update docs accordingly
2021-03-10 16:18:52 +00:00
Austin S. Hemmelgarn
9014acf01f Add JSON output option for buildinfo. (#10706)
* Add JSON output option for buildinfo.

* use JSON bools

* fix wrong quoting

Co-authored-by: Timotej Šiškovič <timotej@netdata.cloud>
2021-03-04 13:01:07 -05:00
Joel Hans
1d003fa0d5 Change all refs from service to systemctl (#10703) 2021-03-03 11:14:14 -07:00
vkalintiris
ad163251fc Remove unreachable #else directives in plugins. (#10523)
They are unreachable because Makefile.am will conditionally include the
relevant source files iff the #ifdef's argument is defined in
configure.ac.
2021-02-25 14:29:41 +02:00
Ilya Mashchenko
d9625ac6a9 fix container/host detection in system-info script (#10647)
fix container/host detection in system-info script
2021-02-16 19:29:27 +03:00
Ilya Mashchenko
067e3cfbba add k8s_cluster_id host label (#10588) 2021-02-12 11:40:23 +03:00
Chris Akritidis
56312d5cc5 Fix container detection from systemd-detect-virt (#10569) 2021-02-01 10:04:56 -08: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
Stelios Fragkakis
53c856d668 Fix coverity issue CID_365322
Add check to avoid DIV by zero (flagged in coverity)
2021-01-18 17:56:16 +02:00
Ilya Mashchenko
10b745cba8 add _is_k8s_node label to the host labels (#10501)
* auto format system-info.sh

* detect whether the node is k8s node in system-info.sh

* fix unmae=>uname

* add_is_k8s_node_to_host_labels: Add new variable to structure

* add_is_k8s_node_to_host_labels: Add is_k8_node to labels

* add_is_k8s_node_to_host_labels: Add is_k8_node inside endpoint

* add_is_k8s_node_to_host_labels: Add data to swagge file

* change yes/no to true/false

* Update web/api/netdata-swagger.json

* add_is_k8s_node_to_host_labels: Add anonymous statistic

* add_is_k8s_node_to_host_labels: Add information to using-host-labels.md

* add_is_k8s_node_to_host_labels: Add variable to stream

* add_is_k8s_node_to_host_labels: Change swagger.yaml

* add_is_k8s_node_to_host_labels: Adding missing documentation

* add_is_k8s_node_to_host_labels: rename variable

* add_is_k8s_node_to_host_labels: Rename lables to match variable names

* add_is_k8s_node_to_host_labels: Add to wget

* add_is_k8s_node_to_host_labels: Add content to swagger files

* add_is_k8s_node_to_host_labels: update both swagger files

* add_is_k8s_node_to_host_labels: fix wrong exportation

Co-authored-by: Thiago Marques <thiagoftsm@gmail.com>
2021-01-18 07:44:14 -05:00
Josh Soref
f4193c3b5c Spelling md (#10508)
* spelling: activity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: adding

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: addresses

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: administrators

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: alarm

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: alignment

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: analyzing

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: apcupsd

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: apply

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: around

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: associated

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: automatically

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: availability

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: background

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: bandwidth

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: berkeley

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: between

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: celsius

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: centos

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: certificate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: cockroach

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: collectors

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: concatenation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: configuration

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: configured

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: continuous

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: correctly

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: corresponding

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: cyberpower

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: daemon

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: dashboard

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: database

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: deactivating

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: dependencies

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: deployment

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: determine

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: downloading

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: either

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: electric

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: entity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: entrant

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: enumerating

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: environment

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: equivalent

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: etsy

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: everything

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: examining

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: expectations

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: explicit

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: explicitly

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: finally

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: flexible

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: further

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: hddtemp

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: humidity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: identify

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: importance

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: incoming

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: individual

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: initiate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: installation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: integration

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: integrity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: involuntary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: issues

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: kernel

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: language

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: libwebsockets

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: lighttpd

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: maintained

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: meaningful

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: memory

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: metrics

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: miscellaneous

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: monitoring

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: monitors

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: monolithic

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: multi

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: multiplier

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: navigation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: noisy

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: number

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: observing

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: omitted

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: orchestrator

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: overall

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: overridden

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: package

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: packages

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: packet

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: pages

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: parameter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: parsable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: percentage

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: perfect

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: phpfpm

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: platform

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: preferred

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: prioritize

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: probabilities

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: process

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: processes

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: program

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: qos

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: quick

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: raspberry

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: received

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: recvfile

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: red hat

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: relatively

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: reliability

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: repository

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: requested

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: requests

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: retrieved

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: scenarios

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: see all

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: supported

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: supports

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: temporary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: tsdb

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: tutorial

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: updates

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: utilization

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: value

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: variables

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: visualize

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: voluntary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: your

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-01-18 07:43:43 -05:00
Markos Fountoulakis
a21119469b Fix broken dbengine stress tests. (#10502) 2021-01-15 12:41:24 +02:00
Joel Hans
46a8075c8f Docs housekeeping for SEO and syntax, part 1 (#10388)
* First pass to get the script working right

* Finish adding analytics tags
2021-01-07 11:44:43 -07:00
Joel Hans
8d11dad2a8 Improve configuration docs with common changes and start/stop/restart directions (#10415)
* Finish new common config doc, delete old one

* Small tweak to blockquote

* Add new files

* Fix broken links

* Fix one more broken link

* Copyedits and improvements

* Fix broken link

* Re-add common config doc

* service -> systemctl

* Reverse systemctl order

* Add mention of .conf files in health.d

* Add mention of minimum global update every
2021-01-04 10:49:00 -07:00
Ilya Mashchenko
0f8175dd30 Kubernetes labels (#10107)
Co-authored-by: Markos Fountoulakis <markos.fountoulakis.senior@gmail.com>
Co-authored-by: Vladimir Kobal <vlad@prokk.net>
2020-12-14 17:27:55 +03:00
Joel Hans
795e8a9d61 Add guide: How to optimize Netdata's performance (#10271)
* Init guide

* Working on guide

* Finish first draft of performance guide

* Retitle and fix links in other docs

* Acutally add guide

* Copyedit pass

* Fixes for Amy
2020-11-30 15:16:34 -07:00
Stelios Fragkakis
e9d59e37d9 Migrate metadata log to SQLite (#10139) 2020-11-24 20:00:02 +02: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
512416f559 adds ACLK DISABLE_CLOUD to -W buildinfo (#9936) 2020-09-16 15:03:18 +02:00
Austin S. Hemmelgarn
5f3a7224ab Added a way to get build configuration info from the agent. (#9913)
* Add a way to get build configuration info from the agent.

This adds a new option to the `-W` switch called 'buildinfo'. When
invoked with this argument, Netdata will print it's version, the
configure options, and a list of optional features and whether they are
enabled or not.

This is intended to serve three purposes:

* It allows developers to more quickly get an idea of how Netdata was
  built when triaging bug reports.
* It provides an easier way to validate changes to the build system that
  affect optional features during the development cycle.
* It provides an easier way to build CI workflows that validate that
  building under a given set of constraints results in a feature being
  enabled or not.

The actual implementation is a bit large but overall exceedingly simple,
consisting of a set of preprocessor directives to extract optional
feature state information from config.h and then a series of printf()
calls to actually report this info (which should end up optimized by
smart compilers due to all the arguments being compile-time constants).

* Added zlib to optional libraries.

* Added remaining optional plugins to buildinfo output.

* Changed formatting to be more human friendly.

* Add remaining optional libraries.

* Fix up formatting to be even more human friendly.

* Fix typo in buildinfo output.

* Remove unused variable.

* Fixed spelling of config.h option name.

* Update daemon/buildinfo.c

Co-authored-by: Markos Fountoulakis <44345837+mfundul@users.noreply.github.com>

* Fix option name mismatch for libcrypto.

* Update daemon/buildinfo.c

Co-authored-by: Markos Fountoulakis <44345837+mfundul@users.noreply.github.com>

Co-authored-by: Markos Fountoulakis <44345837+mfundul@users.noreply.github.com>
2020-09-16 07:03:27 -04:00
Stelios Fragkakis
8f6f1baf9a Added context parameter to the data endpoint (#9931)
Added functionality to support composite charts
2020-09-15 19:41:39 +03:00
jim
5fe817361b Fixed lack of macOS RAM info in system-info.sh (#9882)
* fix lack macOS ram info in system-info.sh

* aligned spaces
2020-09-04 13:04:52 -04:00
Timotej S
ab7ff3131f Adds claimed_id streaming (#9804)
* streams claimed_id of child nodes to parents
* adds this information into /api/v1/info
2020-08-26 14:50:37 +02:00
Stelios Fragkakis
f5a85f7747 Added code to release memory used by the global GUID map (#9729)
Fixed memory leak issues associated with the global GUID map during agent shutdown
2020-08-20 18:50:13 +03:00
thiagoftsm
78d12b1e1d Add missing value to list simple pattern
Fix access using Unix sockets when Netdata is installed with kickstart-static64
2020-08-19 11:24:02 +00:00