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

Support for worker_threads module #401

Open
rafixer opened this issue Sep 17, 2020 · 3 comments · May be fixed by #403
Open

Support for worker_threads module #401

rafixer opened this issue Sep 17, 2020 · 3 comments · May be fixed by #403

Comments

@rafixer
Copy link

rafixer commented Sep 17, 2020

Hi!

I'm trying to get aggregated metrics for all workers (cluster & worker_threads). My idea is to use exisiting AggregatorRegistry class and pass reference to workers by pushWorkersToQueue method. Here is my first working version: https://github.com/rafixer/prom-client/pull/1/files

Do you want this feature on your libary?

@zbjornson
Copy link
Collaborator

zbjornson commented Jan 23, 2021

Sounds reasonable! Please make sure it has tests though. 🙏

Oops, just saw your PR that goes with this 😄 reviewing now.

@alec-benson
Copy link

Are there any workarounds for instrumenting worker threads while we're waiting for this PR to get merged in?

@himeshkothari
Copy link

can someone please help why this PR is still waiting to be merged ?

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

Successfully merging a pull request may close this issue.

4 participants