Skip to content

[WIP] Implement "aggregator" collector - #8

Open
romuald wants to merge 1 commit into
Gandi:masterfrom
romuald:aggregator-collector
Open

[WIP] Implement "aggregator" collector#8
romuald wants to merge 1 commit into
Gandi:masterfrom
romuald:aggregator-collector

Conversation

@romuald

@romuald romuald commented May 7, 2026

Copy link
Copy Markdown
Member

XXX need a better name

It will collect metrics from db files like the MultiProcessCollector, but additionally it will

  • collect metrics from counter / histograms from PIDs that are no longer alive
  • store them into a dedicated .db file (PID 0)
  • remove those .db files

This is done to avoid leaving thousands of unused files for old PIDs when a long running parent process spawn thousands of processes over multiple days / weeks

XXX need a better name

It will collect metrics from db files like the MultiProcessCollector,
but additionally it will

- collect metrics from counter / histograms from PIDs that are no longer
  alive
- store them into a dedicated .db file (PID 0)
- remove those .db files

This is done to avoid leaving thousands of unused files for old PIDs
when a long running parent process spawn thousands of processes over
multiple days / weeks

@AAmamou AAmamou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no other solution for the moment, seems to be the least painful solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants