summaryrefslogtreecommitdiffstats
path: root/collectors/ebpf.plugin
AgeCommit message (Collapse)Author
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>
2023-01-27Improve ebpf exit (#14270)thiagoftsm
2023-01-25Add Collector log (#14309)thiagoftsm
2023-01-25Introduce the new Structure of the documentation (#13915)Fotis Voutsas
* Moving the cloud docs under /docs/cloud (previous location: netdata/learn/*) * Added metadata on almost every document of the old learn site for the new ingest process of learn. * Map old learn document to their best fit as topic related docs. Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> Co-authored-by: DShreve2 <david@netdata.cloud> Co-authored-by: hugovalente-pm <hugo@netdata.cloud>
2023-01-04Fix typos (#14194)Dimitris Apostolou
2023-01-03eBPF (memory, NV, basis for functions) (#14131)thiagoftsm
2022-12-15Disable integration by default (eBPF <-> APPS) (#14147)thiagoftsm
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> Fixes https://github.com/netdata/netdata/issues/14138
2022-12-12Fix eBPF load on RH 8.x family and improve code. (#14090)thiagoftsm
2022-11-25Improve eBPF exit (#14012)thiagoftsm
2022-11-03Fix oracle linux (eBPF plugin) (#13935)thiagoftsm
2022-11-01Fix systemd chart update (eBPF) (#13884)thiagoftsm
2022-10-13allow disabling netdata monitoring section of the dashboard (#13788)Costa Tsaousis
* allow disabling netdata monitoring section of the dashboard * disable-netdata-stats: Modify eBPF.plugin to disable statistic charts according user selection, by default it is enabled * Don't send internal statistics for exporting engine if it's disabled. * Fix global statistics flag initialization * Don't send internal statistics for checks plugin if it's disabled. Co-authored-by: Thiago Marques <thiagoftsm@gmail.com> Co-authored-by: Vladimir Kobal <vlad@prokk.net>
2022-10-09Remove extern from function declared in headers. (#13790)vkalintiris
By default functions are declared as extern in C/C++ headers. The goal of this PR is to reduce the wall of text that many headers have and, more importantly, to make the declaration of extern'd variables - of which we have many dispersed in various places - easily and quickly identifiable. Automatically generated with: $ git grep -l '^extern.*(' '**.h' | \ grep -v libjudy | \ grep -v 'sqlite3.h' | \ xargs sed -i -e 's/extern \(.*(.*$\)/\1/' This is a NFC.
2022-09-07eBPF different improvements (#13624)thiagoftsm
2022-08-23Improve PID monitoring (step 2) (#13530)thiagoftsm
2022-08-12Modify PID monitoring (ebpf.plugin) (#13397)thiagoftsm
2022-08-05Remove SIGSEGV and SIGABRT (ebpf.plugin) (#13407)thiagoftsm
2022-08-05docs: fix unresolved file references (#13488)Ilya Mashchenko
2022-07-18Fix chart update ebpf.plugin (#13351)thiagoftsm
2022-06-30Ebpf issues (#13259)thiagoftsm
2022-06-28netdata doubles (#13217)Costa Tsaousis
* netdata doubles * fix cmocka test * fix cmocka test again * fix left-overs of long double to NETDATA_DOUBLE * RRDDIM detached from disk representation; db settings in [db] section of netdata.conf * update the memory before saving * rrdset is now detached from file structures too * on memory mode map, update the memory mapped structures on every iteration * allow RRD_ID_LENGTH_MAX to be changed * granularity secs, back to update every * fix formatting * more formatting
2022-06-01Fix disabled apps (ebpf.plugin) (#13044)thiagoftsm
2022-05-11docs: fix unresolved file references (#12872)Ilya Mashchenko
2022-05-09Workers utilization charts (#12807)Costa Tsaousis
* initial version of worker utilization * working example * without mutexes * monitoring DBENGINE, ACLKSYNC, WEB workers * added charts to monitor worker usage * fixed charts units * updated contexts * updated priorities * added documentation * converted threads to stacked chart * One query per query thread * Revert "One query per query thread" This reverts commit 6aeb391f5987c3c6ba2864b559fd7f0cd64b14d3. * fixed priority for web charts * read worker cpu utilization from proc * read workers cpu utilization via /proc/self/task/PID/stat, so that we have cpu utilization even when the jobs are too long to finish within our update_every frequency * disabled web server cpu utilization monitoring - it is now monitored by worker utilization * tight integration of worker utilization to web server * monitoring statsd worker threads * code cleanup and renaming of variables * contrained worker and statistics conflict to just one variable * support for rendering jobs per type * better priorities and removed the total jobs chart * added busy time in ms per job type * added proc.plugin monitoring, switch clock to MONOTONIC_RAW if available, global statistics now cleans up old worker threads * isolated worker thread families * added cgroups.plugin workers * remove unneeded dimensions when then expected worker is just one * plugins.d and streaming monitoring * rebased; support worker_is_busy() to be called one after another * added diskspace plugin monitoring * added tc.plugin monitoring * added ML threads monitoring * dont create dimensions and charts that are not needed * fix crash when job types are added on the fly * added timex and idlejitter plugins; collected heartbeat statistics; reworked heartbeat according to the POSIX * the right name is heartbeat for this chart * monitor streaming senders * added streaming senders to global stats * prevent division by zero * added clock_init() to external C plugins * added freebsd and macos plugins * added freebsd and macos to global statistics * dont use new as a variable; address compiler warnings on FreeBSD and MacOS * refactored contexts to be unique; added health threads monitoring Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
2022-05-06Remove sync warning (#12831)thiagoftsm
2022-04-26Memory CO-RE (#12684)thiagoftsm
2022-04-19chore(ebpf.plugin): re-enable socket module by default (#12702)Ilya Mashchenko
2022-04-18fix_inbound:Add missing values to algorithm vector (#12698)thiagoftsm
2022-04-13Dashboard network title (#12665)thiagoftsm
* update_dashboard_2: Update SWAP description * ebpf_dashboard_2: Update reviews * ebpf_dashboard_2: Use two words to define File Systems * dashboard_network_title: Update swap chart title * dashboard_network_title: Update shared memory titles * dashboard_network_title: Update cachestat titles * dashboard_network_title: Update directory cache titles * dashboard_network_title: Update mount titles * dashboard_network_title: Update hardirq description. * dashboard_network_title: Update softirq description. * dashboard_network_title: Update centralized description adding IRQ. * dashboard_network_title: Update shared memory description. * dashboard_network_title: Update global network description * dashboard_network_title: Fix reference and remove dupplication * dashboard_network_title: Update apps description * dashboard_network_title: Update network cgroup description * dashboard_network_title: Update main menu * dashboard_network_title: Fix rebase * dashboard_network_title: Fix LGTM * dashboard_network_title: Remove dot * dashboard_network_title: Remove dot * dashboard_network_title: Remove dot * dashboard_network_title: Return to old title * dashboard_network_title: Return to old title (shm) * dashboard_network_title: Update swap title
2022-04-12fix(ebpf.plugin): add missing chart context for cgroups charts (#12671)Ilya Mashchenko
2022-04-04Fix ebpf exit (#12590)thiagoftsm
2022-04-01Update links to documentation (eBPF) (#12581)thiagoftsm
2022-03-31Update ebpf doc (#12503)thiagoftsm
2022-03-29Socket connections (eBPF) and bug fix (#12532)thiagoftsm
2022-03-18Add content for eBPF documentation (#12417)thiagoftsm
2022-03-14Remove unecessary error report for proc and sys files (#12385)thiagoftsm
2022-03-14fix(ebpf.plugin): remove pid file on exit (#12379)thiagoftsm
2022-03-08CO-RE and syscalls (#12318)thiagoftsm
2022-02-21Update libs code (#12190)thiagoftsm
2022-02-17Docs: Removed Google Analytics tags (#12145)Tina Luedtke
2022-02-04disable_ebpf_socket: Disable thread while race condition is fixed (#12085)thiagoftsm
2022-01-28fix(docs): unresolved file references (#12053)Ilya Mashchenko
2022-01-20Remove unecessary call that was enabling disabled threads (#12014)thiagoftsm
2022-01-19eBPF plugin CO-RE and monitoring (#11992)thiagoftsm
2022-01-19Compute platform-specific list of static_threads at runtime. (#11955)vkalintiris
Compute array of static threads at runtime.
2022-01-18Use libnetdata/required_dummies.h in collectors. (#11971)vkalintiris
2022-01-10Fix cachestat on kernel 5.15.x (eBPF) (#11833)thiagoftsm