summaryrefslogtreecommitdiffstats
path: root/collectors
AgeCommit message (Collapse)Author
2023-04-13cgroups: add option to use Kubelet for pods metadata (#14891)Ilya Mashchenko
2023-04-12Disable threads that update with high frequency (#14897)thiagoftsm
2023-04-12Collect additional BTRFS metrics (#14636)Dimitris P
* Add commit_stats metrics to BTRFS section * Add error_stats metrics (per device) to BTRFS section * Simplify commit stats variables and chart ids/names * Add basic BTRFS error alarms. Configured to trip whenever any of the error dimensions is non-zero. * Add chart descriptions for new charts. * Remove duplicate code * Comment out some debugging code * Always create error stats dimensions, even if zero * Show rate of commits and commit duration instead of totals * Change current commit metrics to absolute from incremental * Change commits dimension to absolute and add separate commits time share chart * Rename 'device_' rrdlabels to 'filesystem_' * Replace all snprintf() calls with snprintfz() * Fix codacy warning * Provide separate error charts for each filesystem device * Accept code review suggestions for more descriptive context and labels Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> * Add 'device' prefix to id, name, title of errors chart * Add 'device_id' label to device_errors * Update health.d/btrfs.conf to match new errors charts * Remove commented out code * Do not disable all BTRFS metrics collection if only commit_stats is missing * Do not disable all BTRFS metrics collection if only error_stats is missing * Fix bug of BTRFS device add/remove not being detected properly * Fix double free() error when deleting a device * Update dashboard info with bold tags Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> --------- Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud> Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2023-04-11Add example configuration to w1sensor collector (#14886)Fotis Voutsas
* add example configuration to w1sensor collector * replace configuration example with link
2023-04-11eBPF bug fixes (#14869)thiagoftsm
2023-04-09cgroups.plugin: add image label (#14872)Ilya Mashchenko
2023-04-04Add labels for cgroup name (#14856)thiagoftsm
2023-03-31fix #14841 Exception funktion call Rados.mon_command() (#14844)farax4de
2023-03-30fix double host prefix when reading ZFS pools state (#14840)Ilya Mashchenko
fix double host prefix when reading zfs pools state
2023-03-30Fix Btrfs unallocated space accounting (#14824)Ivan Shapovalov
2023-03-29add some third party collectors (#14830)Andrew Maguire
comes from here: https://github.com/netdata/community/pull/78
2023-03-29Docs, shorten too long titles, and add a description below (#14820)Fotis Voutsas
shorten too long titles, and add a description below
2023-03-27diskspace: don't collect inodes on msdosfs (#14809)Ilya Mashchenko
2023-03-27Address Learn feedback from users (#14802)Fotis Voutsas
* Update collectors/charts.d.plugin/sensors/README.md * lint the file, and correct some mistypes * add suggestions and fix wording * cover feedback by users * fix broken link * Update invite-your-team.md
2023-03-22Fix links in README.md (#14794)Chris Akritidis
Update README.md
2023-03-22Fix capitalization on readme (#14793)Chris Akritidis
capitalization on readme
2023-03-22use mCPU in k8s cgroup cpu charts title (#14791)Ilya Mashchenko
2023-03-21Replace hardcoded links pointing to "learn.netdata.cloud" with github ↵Fotis Voutsas
absolute links (#14779) * Update REFERENCE.md * replace redirected links * format the files * fix redirected link * format the file * replace hardcoded links
2023-03-20fix /sys/block/zram in docker (#14759)Ilya Mashchenko
2023-03-17Add ethtool in third party collectors (#14753)Van Phan Quang
2023-03-15pandas collector replace `self.warn()` with `self.warning()` (#14736)Andrew Maguire
2023-03-14add go.d example collector to #etc section (#14722)Andrew Maguire
* add go.d example collector to #etc section * type
2023-03-13Change H1 of collector docs to separate from the website (#14715)Chris Akritidis
2023-03-10/api/v2/X improvements part 3 (#14665)Costa Tsaousis
* max web request size to 64KB * fix the request too big message * increase max request reading tries to 100 * support for bigger web requests * add "avg" as a shortcut for "average" to both group by aggregation and time aggregation; discard the last partial points of a query in play mode, up to max update every; group by hidden dimensions too * better implementation for partial data trimming * added group_by=selected to return only one dimension for all selected metrics * fix acceptance of group_by=selected * passing option "raw" disables partial data trimming * remove obsolete option "plan"; use "debug" * fix view.min and view.max calculation - there were 2 bugs: a) min and max were reset for every row and b) min and max were corrupted by GBC and AR printing * per row annotations * added time column to point annotations * disable caching for /api/v2/contexts responses * added api format json2 that returns an array for each points, having all the point values and annotations in them * work on swagger about /api/v2 * prevent infinite loop * cleanup and swagger work * allow negative simple pattern expressions to work as expected * do not lookup in the dictionary empty names * garbage collect dictionaries * make query_target allocate less aggressively; queries fill the remaining points with nulls * reusable query ops to save memory on huge queries * move parts of query plans into query ops to save query target memory * remove storage engine from query metric tiers, to save memory, and recalculate it when it is needed
2023-03-10Refactor ML code. (#14659)vkalintiris
* Refactor ML code. This commit introduces only non-functional changes. Originally, the C++ code exposed C functions to be called from the rest of the agent. When we migrated from C++ to C, we did not eliminate these wrapper functions to make the PR easier to understand and keep the total LOC low. This commit removes the wrapper functions and "reclaims" the `ml_` prefix that we used for the public API of the old implementation. Also, the nlohmann Json library has been removed and its functionality was replaced with the equivalent Json functionality that we added in libnetdata's BUFFERs. * Remove missing headers from build systems. * Fix CMake build. * rrddim_free is outside of rrd "internals" now.
2023-03-08Send an EOF from charts.d.plugin before exit (#14680)Emmanuel Vasilakis
* send an EOF before exit * use empty * make an EXIT keyword
2023-03-08Fix cloud node stale status when a virtual host is created (#14660)Stelios Fragkakis
* Schedule direct metadata update on host creation Virtual hosts do not have a receiver but they are not orphan Schedule node info update on host activation New function to store host info and host_system_info If the host is just created, create tables and sync thread If the host exists during startup it is not live but reschedule node update if it is reactivated * New opcode to send current node state * Remove debug messages * Fix system host info
2023-03-08eBPF new charts (user ring) (#14623)thiagoftsm
2023-03-03fix simple_pattern_create on freebsd (#14656)Ilya Mashchenko
2023-03-02Fix doc links (#14650)Chris Akritidis
* Update freebsd.md * Update REFERENCE.md * Update README.md * Update COLLECTORS.md
2023-03-02/api/v2/contexts (#14592)Costa Tsaousis
* preparation for /api/v2/contexts * working /api/v2/contexts * add anomaly rate information in all statistics; when sum-count is requested, return sums and counts instead of averages * minor fix * query targegt now accurately counts hosts, contexts, instances, dimensions, metrics * cleanup /api/v2/contexts * full text search with /api/v2/contexts * simple patterns now support the option to search ignoring case * full text search API with /api/v2/q * simple pattern execution optimization * do not show q when not given * full text search accounting * separated /api/v2/nodes from /api/v2/contexts * fix ssv queries for group_by * count query instances queried and failed per context and host * split rrdcontext.c to multiple files * add query totals * fix anomaly rate calculation; provide "ni" for indexing hosts * do not generate zero valued members * faster calculation of anomaly rate; by just summing integers for each db points and doing math once for every generated point * fix typo when printing dimensions totals * added option minify to remove spaces and newlines fron JSON output * send instance ids and names when they differ * do not add in query target dimensions, instances, contexts and hosts for which there is no retention in the current timeframe * fix for the previous + renames and code cleanup * when a dimension is filtered, include in the response all the other dimensions that are selectable * do not add nodes that do not have retention in the current window * move selection of dimensions to query_dimension_add(), instead of query_metric_add() * increase the pre-processing capacity of queries * generate instance fqdn ids and names only when they are needed * provide detailed statistics about tiers retention, queries, points, update_every * late allocation of query dimensions * cleanup * more cleanup * support for annotations per displayed point, RESET and PARTIAL * new type annotations * if a chart is not linked to contexts and it is collected, link it when it is collected * make ML run reentrant * make ML rrdr query synchronous * optimize replication memory allocation of replication_sort_entry * change units to percentage, when requesting a coefficinet of variation, or a percentage query * initialize replication before starting main threads * properly decrement no room requests counter * propagate the non-zero flag to group-by * the same by avoiding the extra loop * respect non-zero in all dimension arrays * remove dictionary garbage collection from dictionary_entries() and dictionary_version() * be more verbose when jv2 indexing is postponed * prevent infinite loop * use hidden dimensions even when dimensions pattern is unset * traverse hosts using dictionaries * fix dictionary unittests
2023-03-02Update README.md (#14647)Chris Akritidis
2023-02-28Make the title metadata H1 in all markdown files (#14625)Fotis Voutsas
* make the title metadta the H1 * Update collectors/python.d.plugin/zscores/README.md * Update libnetdata/ebpf/README.md * Update ml/README.md * Update libnetdata/string/README.md --------- Co-authored-by: Chris Akritidis <43294513+cakrit@users.noreply.github.com>
2023-02-28fix python version check to work for 3.10 and above (#14616)Andrew Maguire
2023-02-27Use vector allocation whenever is possible (eBPF) (#14591)thiagoftsm
2023-02-25Fix links to chart interactions (#14609)Chris Akritidis
2023-02-24Fix broken links (#14605)Fotis Voutsas
* fix broken links * fix a link to kernel-collector readme, make it to not point at .md
2023-02-22Change link text to collectors.md (#14590)Chris Akritidis
* Change link text to collectors.md * Change doc title
2023-02-21Memory management eBPF (#14462)thiagoftsm
2023-02-21Fix coverity issues (#14543)Stelios Fragkakis
* Fix coverity 383236: Resource leak * Fix coverity 382915 : Logically dead code * Fix coverity 379133 : Division or modulo by float zero * Fix coverity 382783 : Copy into fixed size buffer * Fix coverity 381151 : Missing unlock * Fix coverity 381903 : Dereference after null check
2023-02-20pandas collector add `read_sql()` support (#14563)Andrew Maguire
* import sqlalchemy and os to support read_sql
2023-02-20bump go.d to v0.51.0 (#14572)Ilya Mashchenko
2023-02-20Fix doc capitalization and remove obsolete section (#14569)Chris Akritidis
2023-02-20Include troubleshooting section in the docs of python.d modules (#13721)Tasos Katsoulas
Add troubleshooting sections to all python modules Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
2023-02-20Fix broken links in our documentation (#14565)Fotis Voutsas
* fix broken link in ml/README.md * fix broken link across all files * fix broken link across all files * fix broken links and remove what's next sections * fix broken links and remove what's next section * Remove related links sections with broken links that link to removed files * fix broken links
2023-02-17Reorg learn 021723 (#14556)Chris Akritidis
* Change titles of agent alert notifications * Reintroduce netdata for iot * Eliminate guides category, merge health config docs * Rename setup to configuration * Codacy fixes and move health config reference
2023-02-17More reorg learn 021623 (#14550)Chris Akritidis
* Moved contents of statsd guide inside the plugin documentation. * Remove remaining guides, content verified to exist elsewhere
2023-02-16Update learn path of python plugin readme (#14549)Chris Akritidis
2023-02-16Reorg markdown files for learn (#14547)Chris Akritidis
* Move export graphite metrics guide content to new integrations landing page and exporter readme * Merge info on how to write python collector and reorg file * Codacy warning fixes
2023-02-15JSON internal API, IEEE754 base64/hex streaming, weights endpoint ↵Costa Tsaousis
optimization (#14493) * first work on standardizing json formatting * renamed old grouping to time_grouping and added group_by * add dummy functions to enable compilation * buffer json api work * jsonwrap opening with buffer_json_X() functions * cleanup * storage for quotes * optimize buffer printing for both numbers and strings * removed ; from define * contexts json generation using the new json functions * fix buffer overflow at unit test * weights endpoint using new json api * fixes to weights endpoint * check buffer overflow on all buffer functions * do synchronous queries for weights * buffer_flush() now resets json state too * content type typedef * print double values that are above the max 64-bit value * str2ndd() can now parse values above UINT64_MAX * faster number parsing by avoiding double calculations as much as possible * faster number parsing * faster hex parsing * accurate printing and parsing of double values, even for very large numbers that cannot fit in 64bit integers * full printing and parsing without using library functions - and related unit tests * added IEEE754 streaming capability to enable streaming of double values in hex * streaming and replication to transfer all values in hex * use our own str2ndd for set2 * remove subnormal check from ieee * base64 encoding for numbers, instead of hex * when increasing double precision, also make sure the fractional number printed is aligned to the wanted precision * str2ndd_encoded() parses all encoding formats, including integers * prevent uninitialized use * /api/v1/info using the new json API * Fix error when compiling with --disable-ml * Remove redundant 'buffer_unittest' declaration * Fix formatting * Fix formatting * Fix formatting * fix buffer unit test * apps.plugin using the new JSON API * make sure the metrics registry does not accept negative timestamps * do not allow pages with negative timestamps to be loaded from db files; do not accept pages with negative timestamps in the cache * Fix more formatting --------- Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>