Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from netdata:master #175

Merged
merged 23 commits into from
Oct 3, 2024
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Sep 30, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

stelfrag and others added 10 commits September 29, 2024 20:42
* Remove pthread locks / use spinlocks

* Remove redundant checks as mallocz, callocz can't return NULL

* Change logging
More code cleanup

* Change random number generation
Set Origin to empty

Use BCryptGenRandom

* More cleanup
Deduplicate base64_encode/decode

* Address review comments
* Move plugins.d out of collectors

It's being used by streaming as well.

* Move ndsudo and local_listeners back to collectors.
* apps.plugin uses a hashtable for pids; apps.plugin pids sortlist cleanup

* struct pid_stat now uses aral

* structures cleanup

* remove limitation on command name length

* fix log

* process tree grouping which automatically groups the processes based on the process tree

* cleanup

* revert accidental changes

* fix debug logs for STRING pointers

* moved perflib to libnetdata; fixed apps.plugin to accept windows specific functions; not yet working on windows

* fix for linux

* basic structure for perflib collection

* control features per O/S

* split aggregations

* isolate user and group targets per O/S

* gather all O/S functions together

* fix for windows

* virtualized all process variables

* fixed macro; process name extracted from cmdline in a better way

* finished modularizing the whole code

* fix compilation on windows

* fix compilation on macos

* fix format in debug statement

* windows collector for apps.plugin

* windows processes CPU

* fix process name

* fix macos

* fix freebsd

* make it run under clion windows

* cpu utilization in NANOSECONDCORES

* windows cpu utilization in nanosecondcores

* memory utilization is internally in bytes

* exclude pid 0 on windows

* remove the updated flag too

* reset the processing flags at the beginning

* fixed exited processes processing

* fixes for exited children

* fix for macos

* fix for freebsd

* handles are now a type of fd

* fix fds on windows

* macos and freebsd have logical I/O, not physical I/O

* freebsd now reports i/o bytes, not blocks

* I/O calls are now I/O ops

* fix uptime in windows

* get more friendly windows process names

* added parents to function; added orchestrators and aggregators; added mutex to processes function

* added pid name, when it is available

* documentation

* more code cleanup

* fixes for windows

* fix infinite pool

* add name to processes function, when available

* break infinite loop when processes are linked in a loop

* parent-child loop detection earlier

* debug loops

* debug loops

* debug loops

* debug loops

* debug loops

* debug loops

* debug loops

* debug loops

* debug loops

* fixed parents loops

* do not errno in loops

* cosmetic changes

* fixed exited pids processing

* simplified exited pids processing

* simplified exited pids processing again

* code rearrange on users and groups

* fix freebsd; new tree process chart name and label

* pid 0 is an aggregator for all operating systems

* System becomes kernel

* Update src/collectors/apps.plugin/README.md

Co-authored-by: Fotis Voutsas <[email protected]>

* fixed typo

* fixed bug in procfile parsing when multiple opening and closing brackets appear

* removed trailing spaces from cmdline

* fixed orchestrators

* merged tree and app_groups groupings

* updated app_groups.conf

* added docker-init

---------

Co-authored-by: Costa Tsaousis <[email protected]>
Co-authored-by: Costa Tsaousis <[email protected]>
Co-authored-by: Fotis Voutsas <[email protected]>
@pull pull bot added the ⤵️ pull label Sep 30, 2024
netdatabot and others added 13 commits October 1, 2024 00:21
* log agent start / stop events

* Make it simple

* Populate average start/shutdown time in stream path

* Get the median and not the average of the values

* Change the log
* apps.plugin now supports simple patterns when an asterisk is in the middle of a match; expanded kernel threads matching to group them into meaningful entities

* removed cli tools

* systemd merged

* apps.plugin now has the option to print the tree with the target assignment

* apps.plugin now extracts the full comm name from the cmdline

* optimizations

* updated windows comm handling

* get the full command line on windows

* extract service names for svchost.exe processes

* get service names from SCM

* Update src/collectors/apps.plugin/README.md

Co-authored-by: Fotis Voutsas <[email protected]>

* Update src/collectors/apps.plugin/README.md

Co-authored-by: Fotis Voutsas <[email protected]>

* Update src/collectors/apps.plugin/README.md

Co-authored-by: Fotis Voutsas <[email protected]>

* Update src/collectors/apps.plugin/README.md

Co-authored-by: Fotis Voutsas <[email protected]>

* Update src/collectors/apps.plugin/README.md

Co-authored-by: Fotis Voutsas <[email protected]>

* Update src/collectors/apps.plugin/README.md

Co-authored-by: Fotis Voutsas <[email protected]>

* Update src/collectors/apps.plugin/README.md

Co-authored-by: Fotis Voutsas <[email protected]>

* Update src/collectors/apps.plugin/README.md

Co-authored-by: Fotis Voutsas <[email protected]>

* Update src/collectors/apps.plugin/README.md

Co-authored-by: Fotis Voutsas <[email protected]>

* Update src/collectors/apps.plugin/README.md

Co-authored-by: Fotis Voutsas <[email protected]>

* fix compilation on freebsd and macos

* windows priveleges

* add missing opening quote on windows spawn server

* fix alerts notifications infinite loop when alarm-notify.sh cannot be executed

---------

Co-authored-by: Fotis Voutsas <[email protected]>
* Handle mqtt ping timeouts

* Increase ping timeout

* Reset ping_timeout when disconnection is requested
zero invalid uptime
@pull pull bot merged commit dbec341 into webfutureiorepo:master Oct 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants