summaryrefslogtreecommitdiffstats
path: root/collectors/proc.plugin
AgeCommit message (Collapse)Author
2021-02-15collectors/proc: fix collecting operstate for virtual network interfaces ↵Ilya Mashchenko
(#10633)
2021-02-11collectors/proc: change ksm mem chart type to stacked (#10598)Ilya Mashchenko
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-11-06Move shared memory accounting from "cached" to "used" dimension (#10183)Markos Fountoulakis
* Move shared memory accounting from "cached" to "used" dimension Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2020-10-20Wireless statistics (#10052)thiagoftsm
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> Co-authored-by: Joel Hans <joel.g.hans@gmail.com> Co-authored-by: ladakis <vaggosbboy@gmail.com>
2020-09-30fix file descriptor leak (#10013)Adrien Mahieux
2020-09-01collect active processes limit feature v2 (#9843)Fotis Voutsas
* Add VARIABLE of pid_max to active_processes chart to use on alarms * use function for pid_max and use a single alarm * fix in alarm
2020-08-14Fix code formatting for the mdstat collector (#9749)Vladimir Kobal
2020-08-05Hide archived chart from mdstat collector. (#9667)Markos Fountoulakis
* Hide archived chart from mdstat collector. * Fix dimension lookups.
2020-07-27Stop mdstat collector from looking up archived charts. (#9583)Markos Fountoulakis
2020-07-02Add infiniband monitoring to collector proc.plugin (#9091)Adrien Mahieux
2020-06-12Change streaming terminology to parent/child in docs (#9312)Joel Hans
* Intial pass through docs * Dash instead of slash * To parent/child * Child nodes * Change diagrams * Allowlist * Fixes for Andrew * Remove from build_external * Change in proc
2020-06-12Add support for persistent metadata (#9324)Stelios Fragkakis
* Implemented collector metadata logging * Added persistent GUIDs for charts and dimensions * Added metadata log replay and automatic compaction * Added detection of charts with no active collector (archived) * Added new endpoint to report archived charts via `/api/v1/archivedcharts` * Added support for collector metadata update Co-authored-by: Markos Fountoulakis <44345837+mfundul@users.noreply.github.com>
2020-05-15Add config for big CPUs and explain (#9062)Joel Hans
2020-04-14Docs: Standardize links between documentation (#8638)Joel Hans
* Trying out some absolute-ish links * Try one out on installer * Testing logic * Trying out some more links * Fixing links * Fix links in python collectors * Changed a bunch more links * Fix build errors * Another push of links * Fix build error and add more links * Complete first pass * Fix final broken links * Fix links to files * Fix for Netlify * Two more fixes
2020-03-10Bulk add frontmatter to all documentation (#8354)Joel Hans
* Bulk add frontmatter * A few extra edge cases
2020-01-08network interface speed, duplex, operstate #5989 (#7395)Stelios Fragkakis
* - Read and process /sys/class/net/XXXX/duplex and /sys/class/net/XXXX/operstate - Create custom variables duplex_state and operstate under the bandwidth chart - Map states to numeric values Duplex state (variable duplex_state) 0 = unknown 1 = half duplex 2 = full duplex Operstate status map (variable operstate) 0 = unknown 1 = notpresent 2 = down 3 = lowerlayerdown 4 = testing 5 = dormant 6 = up * - Fix array size element count! - Return int value - Fix casting warning * - Variable rename duplex_state to duplex * - Move the variable definition out of the loop
2020-01-02[Fix] remove pthread_setname_np segfault on musl (#7664)Adrien Mahieux
Reported by #7626 on Docker, this segfault occurs with cpuidle plugin. The name setting was set after a pthread_join, thus occuring after the thread was terminated. While glibc handles this correctly, musl segfault
2019-12-20Set standard name to non-libnetdata threads (libuv, pthread) (#7584)Adrien Mahieux
* [libnetdata/threads] Add uv_thread_set_name This is inspired from thread_set_name() but for libuv threads. Both are based on pthread, but for uv we need to call it with the uv_thread_t pointer, instead of being the thread that calls the function for itself. * [exporting] Set libuv threadname to "EXPORTING-index" * [database/engine] Set libuv thread name to "DBENGINE" * [daemon/command] Set libuv thread name to "DAEMON-COMMAND" * [collectors/proc] Set pthread name to "PLUGIN[cpuidle]" * Use new 'thread_set_name_np' name
2019-12-17proc_pressure: increment fail_count on read fail (#7547)Haochen Tong
2019-12-03Health: Proposed restructuring of health documentation (#7329)Joel Hans
* Squashed commits for PR * Addressing comments from Chris and Thiago * Changed sidebar title * Fixes for Vlad
2019-12-02proc.plugin: add pressure stall information (#7209)Haochen Tong
* proc.plugin: add pressure stall information * dashboard_info: add "Pressure" section * proc.plugin: mention PSI collector in doc * dashboard_info: fix grammar in PSI section * proc_pressure: fix wrong line name for "full" metrics * proc_pressure: fix copypasta * proc_pressure: refactor to prepare for cgroup changes * cgroups.plugin: add pressure monitoring * add proc_pressure.h to targets * Makefile.am: fix indentation * cgroups.plugin: remove a useless comment * cgroups.plugin: fix pressure config name * proc.plugin: arrange pressure charts under corresponding sections * dashboard_info: rearrange pressure chart descriptions * dashboard_info: reword PSI descriptions
2019-11-18- Retrieve current affinity of the process and make sure not to (#7318)Stelios Fragkakis
* - Retrieve current affinity of the process and make sure not to start an idle thread (wake_cpu_thread) if the core is not in the allowed cpu set. * - Use pthread_getaffinity_np to match wake_cpu_thread that uses pthread_setaffinity_np - Add error check + error logging
2019-11-11Makefile.am files indentation (#7252)Konstantinos Natsakis
* Use 4 spaces for indentation of non-recipe lines in Makefile.am files * Be more consistent in the use of space before = in Makefile.am files
2019-10-30Disable pagetypeinfo by default (#7230)Vladimir Kobal
2019-10-25coverity_350131: Fix sizeof on callocz (#7187)thiagoftsm
The original plugin was allocating memory with wrong size, this commit fixes this
2019-10-21[collector/proc.plugin] Add /proc/pagetypeinfo parser (#6843)Adrien Mahieux
* [proc.plugin/proc_pagetypeinfo] Initial commit * [Fix] Generate graphs for pagetypeinfo * [Fix] Create node/zone/type graphs * [Fix] Use directly size and order * [Add] Configuration handling * [Imp] Changed SetId to identify NodeNumber * [Fix] Standard name for chart priority and value * [Fix] use dynamic pagesize * [Enh] allow prefix for containerized netdata * [Fix] global system graph always on, but for explicit no * [Fix] Add more checks for pageorders_cnt and really use it * [Enh] Special config value of netdata_zero_metrics_enabled * [Fix] Check we parsed at least a valid line
2019-10-07Fix resource leak (#7007)Vladimir Kobal
2019-09-20Fix some errors reported by Coverity (#6797)thiagoftsm
* coverity_20190905: Fix reported bugs This commit has fixes for some bugs reported by Coverity in the present day * coverity_20190905: Fix missing report FIx a missing report of error * coverity_20190905: Pipe close The previous fix had an error that wolud allow a socket continue opened, this commit fixes this * coverity_20190905: Error pattern The call of perror would generate a different error report, instead I am using strerror() to keep pattern * coverity_20190905: Error function Rewrite the call to error function * coverity_20190905: Fix missing tests The previous fix did not have correct tests after to clean the variables * coverity_20190905: Fix readable I changed for an else instead a new if, it is more clean this way * coverity_20190905: remove unecessary test This commit is removing an unecessary test for a variable that will never be NULL. * coverity_20190905: Add neccessary NULLL After to clean the variable, I am setting NULL to variable to avoid clean again * coverity_20190905: Remove false error The condition added to fix Coverity was generating false positives, so we are changing to debug * coverity_20190905: Remove false error The condition added to fix Coverity was generating false positives, so we are changing to debug * coverity_20190905: Bring else to avoid error Bring an else to solve the problem to read a FD not opened * coverity_20190905: Return After to analyse the last changes, I decided to return, because they were not necessary * coverity_20190905: Remove NULL Remove unecessary set of variable to NULL
2019-08-29Display uptime for processes (#6654)Vladimir Kobal
* Get process uptime * Calculate target uptime * Update charts * Show collected data * Fix chart names * Update the documentation * Fix a flag value * Add an explanation note for the 'carried over uptime' chart * Move the functions for getting uptime to libnetdata * Rename the function for geting uptime * Remove redundant code * Fix starttime calculation * More accurate definition for the carried over uptime * fix group starttime calculation * Fix typo
2019-08-15Fix Markdown Lint warnings (#6664)Promise Akpan
* make remark access all directories * detailed fix after autofix by remark lint * cross check autofix for this set of files * crosscheck more files * crosschecking and small fixes * crosscheck autofixed md files
2019-08-13 Change "netdata" to "Netdata" in all docs (#6621)Joel Hans
* First pass of changing netdata to Netdata * Second pass of netdata -> Netdata * Starting work on netdata with no whitespace after * Pass for netdata with no whitespace at the end * Pass for netdata with no whitespace at the front
2019-08-12(re-open) ZRAM info collector module (proc.plugin) (#6424)Vilkov Adel
* ZRAM collector module ZRAM: Implemented zram device id detection ZRAM: Implemented zram device enumeration WIP ZRAM: Memory usage graph (needs other graphs) ZRAM: Added ratio and efficiency graph ZRAM: Added chart description and context names, code formatting * ZRAM: Proper handling of zram device removal * ZRAM: Added additional checks, removed redundant logging
2019-07-12Add global configuration option for zero metrics (#6419)Vladimir Kobal
* Add global configuration option for zero metrics * Add the option to the cgroup plugin * Add the option to the proc plugin (diskstats, meminfo, net_dev, netstat, sctp_snmp, snmp, snmp6, sockstat, sockstat6, synproxy, vmstat, system_edac_mc, system_node, btrfs, ksm, zfs) * Add the option to the macos plugin * Add the option to the freebsd plugin (devstat, getifaddrs, getmntinfo, sysctl) * Change the option behaviour with the 'auto' value * Add the option to the tc plugin * Update the documentation
2019-07-09Revert "Add ZRAM collector module to the proc plugin"Pavlos Emm. Katsoulakis
This reverts commit c7ab028f787f1c3f1325f6195ea0cb2afc95ab95. **Removed as it was seen to cause crashes. Change will be revised and re-published at a later stage**
2019-07-09Add ZRAM collector module to the proc pluginVilkov Adel
The module gets the ZRAM device list by reading /proc/devices, obtaining an device ID from it, then enumerating the devices in /dev filtering them by corresponding major device number it got from previous step. It takes the data from /sys/block/{name}/mm_stat.
2019-06-20Update the documentation on charts with zero metrics (#6314)Vladimir Kobal
2019-06-04Fix mdstat disks chart (#6164)Vladimir Kobal
* Fix mdstat disks chart * Fix ommited total
2019-04-03Add preferred disk id pattern (#5779)Vladimir Kobal
* Add simple pattern for preferred disk ids * Update the documentation * Fix typo * Preserve the customary naming * Fix typo
2019-03-13Fix memory leaks (#5604)Vladimir Kobal
2019-03-06Add IPC shared memory charts (#5522)Vladimir Kobal
2019-03-06Add zero minimum (#5395)Vladimir Kobal
2019-02-21Fix Coverity defects (#5394)Vladimir Kobal
* Fix Checked Return issue * Fix Unintended Integer Division issue
2019-02-20cpuidle handle newlines in names (#5425)Chris Akritidis
* Fix issue #5418 * Use trim to take out new line
2019-02-14Add documentation for network interfaces (#5381)Vladimir Kobal
* Add documentation for network interfaces * Minor fix * Format chart names * Add an example
2019-02-13Add support for tera-byte size for Linux bcache. (#4719) (#5373)Kamran Amini
2019-02-11Add message queue statistics (#5115)Vladimir Kobal
* Add IPC message queue charts * Add obsolete flag for dimensions * Delete obsolete dimensions from memory * Remove files for obsolete dimensions, filter requests * Make empty charts obsolete * Minimize obsolete dimension checks * Limit the number of dimensions in memory * Remove obsolete dimensions on netdata exit * Update documentation * Move flag to the end * Fix typo * Fix typo
2019-01-24Don't show zero charts for ZFS filesystem (#5211)Vladimir Kobal
* Check if any pools exist * Don't show zero charts
2019-01-11Fix cached memory calculation (#5151)Vladimir Kobal