summaryrefslogtreecommitdiffstats
path: root/libnetdata
AgeCommit message (Collapse)Author
2021-07-02Ebpf disk latency (#11276)thiagoftsm
Add disk monitoring independent of filesystem.
2021-06-18Ebpf apps memory usage (#11256)thiagoftsm
2021-06-16eBPF keep values from `ebpf.d.conf` (#11253)thiagoftsm
2021-06-08eBPF ext4 (new thread for collector) (#11224)thiagoftsm
* ebpf_ext4: Add new thread * ebpf_ext4: Add configuration files * ebpf_ext4: Add helpers to identify partitions and main threads * ebpf_ext4: Add helpers to create chart * ebpf_ext4: Add functions to read data from kernel ring * ebpf_ext4: Add functions to send data to Netdata * ebpf_ext4: Adjust dimensions * ebpf_ext4: Add information for dashboard * ebpf_ext4: Update documentation * ebpf_ext4: Update algorithm to read Array table instead hash table * ebpf_ext4: Add new eBPF version * ebpf_ext4: Add obsolete chart * ebpf_ext4: Fix coverity report * ebpf_ext4: Fix grammar in readme.md * ebpf_ext4: Update link inside dashboard_info.js * ebpf_ext4: Rename function and remove unused options inside filesystem.conf * ebpf_ext4: Rename variables and fix format * ebpf_ext4: Rename more variables * ebpf_ext4: Update algorithm to create dimensions * ebpf_ext4: Fix comment grammar * ebpf_ext4: Add messages to simplify comparison with hash table * ebpf_ext4: Update eBPF release * ebpf_ext4: Remove variables to improve the buckets * ebpf_ext4: Update algorithm to select filesystem * ebpf_ext4: Remove messages * ebpf_ext4: Add comment to filesystem
2021-05-25Move parser from children to main thread (#11152)thiagoftsm
Centralize eBPF plugin parser to avoid possible contradictions between user configuration and visualized charts.
2021-05-06Check the version of the default cgroup mountpoint (#11102)Vladimir Kobal
2021-05-03Ebpf directory cache (#10855)thiagoftsm
Add new thread to ebpf.plugin.
2021-04-28Load names (#11034)thiagoftsm
2021-04-27Provide more agent analytics to posthog (#11020)Emmanuel Vasilakis
* 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-21Revert "Provide more agent analytics to posthog (#10887)" (#11011)Emmanuel Vasilakis
This reverts commit a1ce482f3e336dbabe1b12b92f6339af6a2bbbf8.
2021-04-21Provide more agent analytics to posthog (#10887)Emmanuel Vasilakis
* 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-20Provide new attributes in health conf files (#10961)Emmanuel Vasilakis
* read and store new attributes (class, component, type) from health conf files. Replace family variable in info strings * provide the attributes to jsons * remove extra semicolon * populate conf files with new attributes * added newline * remove extra defines from health.h * remove empty line * remove realloc * use helper variables for find_and_replace. Adjust position for next strstr * remove comments * Add type to mysql.conf and vcsa.conf * fix formatting * add parenthesis * remove extra assignment * changes to mysql_galera_cluster_state from master * add type Errors to unbound_request_list_overwritten * fix identation for info strings spawning more than one line * check for null, replace with empty string if true * add class, component, type to systemdunits.conf
2021-04-15Bring flexible adjust for eBPF hash tables (#10962)thiagoftsm
Give possibility for users to set hash table size.
2021-04-15Remove error message on netdata restart (#8685)Steve8291
When issuing a SIGTERM with `systemctl restart netdata.service` an ERROR message is created in the log for every plugin: > netdata ERROR : PLUGINSD[apps] : child pid 23901 killed by signal 15. > netdata ERROR : PLUGINSD[python.d] : child pid 23908 killed by signal 15. > netdata ERROR : PLUGINSD[nfacct] : child pid 23909 killed by signal 15. > netdata ERROR : PLUGINSD[go.d] : child pid 23899 killed by signal 15. Seems like it would be worth silencing this to an INFO message if we did a proper restart or shutdown. Also, I wasn't sure what the proper return code should be so I put it in as `return(0);`
2021-04-14Spelling libnetdata (#10917)Josh Soref
2021-03-22Fix resource allocation management during health reload (CID 367566) (#10813)Stelios Fragkakis
2021-03-18Fix eBPF compilationthiagoftsm
Fix eBPF plugin compilation when `-O0` is given as argument.
2021-03-18eBPF plugin thiagoftsm
Change eBPF plugin internal organization.
2021-03-17Rename abs to ABS to avoid clash with standard definitions. Fixes #10353. ↵Tomáš Kopal
(#10354)
2021-03-10Skip C++ incompatible header in main libnetdata header (#10737)vkalintiris
2021-03-10Move network interface speed, duplex, and operstate variables to charts (#10740)Vladimir Kobal
2021-03-10Rename struct avl to avl_element and the typedef to avl_t (#10735)vkalintiris
Before: ``` struct foobar { avl avl; ... } ``` After: ``` struct foobar { avl_t avl; ... }; ``` Which makes figuring out the type from field name easier.
2021-03-04New version eBPF programs. (#10707)thiagoftsm
Add new eBPF version to bring support for close events on kernel `5.11`.
2021-03-03update_kernel_versionthiagoftsm
Fix overflow on Centos and probably Ubuntu
2021-02-25Ebpf support new collectors (#10680)thiagoftsm
Extend original support from kprobe for all available eBPF programs and allow `eBPF.plugin` to use some Netdata features.
2021-02-19Fix broken links in docs and add collectors to list (#10651)Joel Hans
* Fix broken links * Fix dimension template guide * Update collectors/COLLECTORS.md Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2021-02-11Disable stock alarms (#10617)thiagoftsm
Bring new option to disable stock alarms when it is necessary
2021-01-14Support multiple chart label keys in data queries (#10483)Stelios Fragkakis
2021-01-13New eBPF kernel (#10434)thiagoftsm
Bring support for kernel 5.10.
2021-01-07Docs housekeeping for SEO and syntax, part 1 (#10388)Joel Hans
* First pass to get the script working right * Finish adding analytics tags
2020-12-14Kubernetes labels (#10107)Ilya Mashchenko
Co-authored-by: Markos Fountoulakis <markos.fountoulakis.senior@gmail.com> Co-authored-by: Vladimir Kobal <vlad@prokk.net>
2020-12-03File descr alarm v01 (#10192)Fotis Voutsas
2020-11-24Migrate metadata log to SQLite (#10139)Stelios Fragkakis
2020-11-07Make libnetdata headers compilable by C++. (#10185)Tomáš Kopal
2020-11-05Add HTTP and HTTPS support to the simple exporting connector (#9911)Vladimir Kobal
2020-10-28ebpf memory cleanup (#10096)thiagoftsm
Fix memory cleanup when process exit.
2020-08-28Add frontmatter (#9847)Joel Hans
2020-08-19Fix proxy redirect thiagoftsm
Fix proxy redirect considering variables available on proxy side.
2020-08-04Detect a buggy Ubuntu kernel (#9648)Vladimir Kobal
2020-08-04installer: update `go.d.plugin` version to v0.20.0 (#9644)Ilya Mashchenko
Bumps the go.d plugin version to 0.20.0, includes the Prometheus Generic Collector. Fixes a bug in dimension name / id escaping that could break the json output of the web API. Co-authored-by: Andrew Moss <1043609+amoss@users.noreply.github.com>
2020-08-03Fetch libbpf from netdata fork (#9637)Vladimir Kobal
2020-07-16Use the libbpf library for the eBPF plugin (#9490)Vladimir Kobal
2020-07-14Fix potential memory leak in ebpf.plugin (#9484)thiagoftsm
Fix reported bugs with ebpf.plugin.
2020-07-14Fixed stored number accuracy (#9540)Stelios Fragkakis
Improved stored number accuracy
2020-07-08fix ACLK protocol version always parsed as 0 (#9502)Timotej S
2020-07-07fix vulnerability in JSON parsing (#9491)Timotej S
2020-06-27Stop reading from /proc/sys/kernel/osrelease at trailing newline. (#9374)Jeff Cook
Remove new line that was creating wrong log information.
2020-06-23Fix Coverity Defect CID 304732 (#9402)Andrew Moss
Fix a race-hazard in the shutdown sequence that could deadlock the agent.
2020-06-20Add libuv thread names support to FATAL log level (#9382)Markos Fountoulakis
* Add support for the fatal() family of calls to detect non-netdata thread names from the OS
2020-06-16Replace assert calls (#9349)Markos Fountoulakis
* Replace all assert() calls with the new fatal_assert() for proper logging.