summaryrefslogtreecommitdiffstats
path: root/collectors/ebpf.plugin
AgeCommit message (Collapse)Author
2023-10-02Regenerate integrations.js (#16062)Netdata bot
Co-authored-by: ilyam8 <ilyam8@users.noreply.github.com> Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
2023-09-19eBPF socket: function with event loop (#16004)thiagoftsm
2023-09-14eBPF socket function (#15850)thiagoftsm
2023-09-14facets: data-only queries (#15961)Costa Tsaousis
2023-08-08extend the trimming window to avoid empty points at the end of queries (#15773)Costa Tsaousis
2023-08-08Change FreeBSD / macOS system.swap(io) to mem.swap(io) (#15769)Dimitris P
2023-08-03systemd-journal plugin (#15363)Costa Tsaousis
2023-08-03Revert "Refactor RRD code. (#15423)" (#15723)vkalintiris
This reverts commit 440bd51e08fdfa2a4daa191fb68643456028a753. dbengine was still being used for non-zero tiers even on non-dbengine modes.
2023-07-31convert collectors meta files from single to multi (#15642)Ilya Mashchenko
2023-07-28remove metrics.csv files (#15593)Ilya Mashchenko
2023-07-28eBPF Yaml complement (#15516)thiagoftsm
* ebpf_yaml2: Update description for process and fix organization for file descriptor. * ebpf_yaml2: Update description for disk. * ebpf_yaml2: Update description for hardirq. * ebpf_yaml2: Update description for cachestat and add missing data for previous descriptions * ebpf_yaml2: Update cgroup description * ebpf_yaml2: Update description for sync and fix typo * ebpf_yaml2: Fix typos * ebpf_yaml2: Update description for mdflush * ebpf_yaml2: Update description for swap and improve grammar for other threads. * ebpf_yaml2: Update description for oomkill and improve grammar for other threads. * ebpf_yaml2: Update description for socket and improve grammar for other threads * ebpf_yaml2: Update description for dcstat * ebpf_yaml2: Update description for filesystem * ebpf_yaml2: Update description for shm * ebpf_yaml2: Fix dupplicated wordd * ebpf_yaml2: Update description for softirq * ebpf_yaml2: Update description for mount * ebpf_yaml2: Update description for vfs and fix some typos and missing data * ebpf_yaml2: Update description for memory allocation * ebpf_yaml2: Add missing charts * xen_yaml2: Fix reported issues * xen_yaml2: Fix lenght and add supported_platform * xen_yaml2: Explain setuid better * Update collectors/ebpf.plugin/multi_metadata.yaml --------- Co-authored-by: Shyam Sreevalsan <shyam@netdata.cloud>
2023-07-27fix schema validation for some meta files (#15569)Ilya Mashchenko
2023-07-26fix ebpf.plugin system swapcalls (#15553)Ilya Mashchenko
2023-07-26Refactor RRD code. (#15423)vkalintiris
* Storage engine. * Host indexes to rrdb * Move globals to rrdb * Move storage_tiers_backfill to rrdb * default_rrd_update_every to rrdb * default_rrd_history_entries to rrdb * gap_when_lost_iterations_above to rrdb * rrdset_free_obsolete_time_s to rrdb * libuv_worker_threads to rrdb * ieee754_doubles to rrdb * rrdhost_free_orphan_time_s to rrdb * rrd_rwlock to rrdb * localhost to rrdb * rm extern from func decls * mv rrd macro under rrd.h * default_rrdeng_page_cache_mb to rrdb * default_rrdeng_extent_cache_mb to rrdb * db_engine_journal_check to rrdb * default_rrdeng_disk_quota_mb to rrdb * default_multidb_disk_quota_mb to rrdb * multidb_ctx to rrdb * page_type_size to rrdb * tier_page_size to rrdb * No storage_engine_id in rrdim functions * storage_engine_id is provided by st * Update to fix merge conflict. * Update field name * Remove unnecessary macros from rrd.h * Rm unused type decls * Rm duplicate func decls * make internal function static * Make the rest of public dbengine funcs accept a storage_instance. * No more rrdengine_instance :) * rm rrdset_debug from rrd.h * Use rrdb to access globals in ML and ACLK Missed due to not having the submodules in the worktree. * rm total_number * rm RRDVAR_TYPE_TOTAL * rm unused inline * Rm names from typedef'd enums * rm unused header include * Move include * Rm unused header include * s/rrdhost_find_or_create/rrdhost_get_or_create/g * s/find_host_by_node_id/rrdhost_find_by_node_id/ Also, remove duplicate definition in rrdcontext.c * rm macro used only once * rm macro used only once * Reduce rrd.h api by moving funcs into a collector specific utils header * Remove unused func * Move parser specific function out of rrd.h * return storage_number instead of void pointer * move code related to rrd initialization out of rrdhost.c * Remove tier_grouping from rrdim_tier Saves 8 * storage_tiers bytes per dimension. * Fix rebase * s/rrd_update_every/update_every/ * Mark functions as static and constify args * Add license notes and file to build systems. * Remove remaining non-log/config mentions of memory mode * Move rrdlabels api to separate file. Also, move localhost functions that loads labels outside of database/ and into daemon/ * Remove function decl in rrd.h * merge rrdhost_cache_dir_for_rrdset_alloc into rrdset_cache_dir * Do not expose internal function from rrd.h * Rm NETDATA_RRD_INTERNALS Only one function decl is covered. We have more database internal functions that we currently expose for no good reason. These will be placed in a separate internal header in follow up PRs. * Add license note * Include libnetdata.h instead of aral.h * Use rrdb to access localhost * Fix builds without dbengine * Add header to build system files * Add rrdlabels.h to build systems * Move func def from rrd.h to rrdhost.c * Fix macos build * Rm non-existing function * Rebase master * Define buffer length macro in ad_charts. * Fix FreeBSD builds. * Mark functions static * Rm func decls without definitions * Rebase master * Rebase master * Properly initialize value of storage tiers. * Fix build after rebase.
2023-07-26proc integrations (#15494)Costa Tsaousis
Co-authored-by: ilyam8 <ilya@netdata.cloud>
2023-07-24eBPF Yaml (#15474)thiagoftsm
2023-07-21Yaml file updates (#15477)Fotis Voutsas
* update apps yaml * add ebpf to its own category * add freebsd to its own category * add categories
2023-07-20meta schema change multi-instance to multi_instance (#15470)Ilya Mashchenko
2023-07-20Hash table charts (#15323)thiagoftsm
2023-07-18Fix multiline (#15449)Fotis Voutsas
* add python.d/alarms yaml * long string fix * run the script without a limit on characters on line length
2023-07-18Bugfix on alerts generation for yamls (#15420)Fotis Voutsas
2023-07-14Hide eBPF functions (#15404)thiagoftsm
move_ebpf_functions: Hide functions
2023-07-14Make yamls pass the schema, and use decided temporary naming scheme (#15401)Fotis Voutsas
2023-07-12eBPF Functions (enable/disable threads) (#15214)thiagoftsm
2023-07-11Rename multi module yamls to same name but wuth prefix (#15356)Fotis Voutsas
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2023-07-11Rename log Macros (debug) (#15322)thiagoftsm
2023-07-11Add yaml metadata for metrics.csv files (#15238)Fotis Voutsas
2023-07-06Rename generic `error` function (#15296)thiagoftsm
2023-07-06Additional CO-RE code (eBPF.plugin) (#15078)thiagoftsm
2023-06-30Replace `info` macro with a less generic name (#15266)Carlo Cabrera
2023-06-19Fix issues in sync thread (eBPF plugin) (#15174)thiagoftsm
2023-06-19Speed up eBPF exit before to bring functions (#15187)thiagoftsm
2023-06-14ebpf: disable sync by default (#15190)Ilya Mashchenko
2023-06-12eBPF unittest + bug fix (#15146)thiagoftsm
2023-05-24New eBPF option (#14691)thiagoftsm
2023-05-15Debugfs collector (#15017)thiagoftsm
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud> Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com> Co-authored-by: ilyam8 <ilya@netdata.cloud>
2023-04-27Add metrics.csv for ebpf (#14965)thiagoftsm
Co-authored-by: ilyam8 <ilya@netdata.cloud>
2023-04-24Address issues on `EC2` (eBPF). (#14902)thiagoftsm
2023-04-12Disable threads that update with high frequency (#14897)thiagoftsm
2023-04-11eBPF bug fixes (#14869)thiagoftsm
2023-03-13Change H1 of collector docs to separate from the website (#14715)Chris Akritidis
2023-03-08eBPF new charts (user ring) (#14623)thiagoftsm
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-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-27Use vector allocation whenever is possible (eBPF) (#14591)thiagoftsm
2023-02-21Memory management eBPF (#14462)thiagoftsm
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>
2023-02-12Move collectors under Integrations/Monitoring (#14509)Chris Akritidis
* Move collectors under Integrations/Monitoring * Correct Monitoring to Monitor
2023-02-03Reduce service exit (#14381)thiagoftsm
2023-02-02Covert our documentation links to GH absolute links (#14344)Tasos Katsoulas
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>