Skip to content

Support for worker_threads module #401

Closed

Description

@rafixer

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?

Activity

  1. zbjornson commented on Jan 23, 2021

    @zbjornson
    Contributor

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

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

  2. alec-benson commented on Jun 9, 2021

    @alec-benson

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

  3. himeshkothari commented on Jan 16, 2023

    @himeshkothari

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions