Skip to content

Add metrics around GVL #3433

Open
Open

Description

Since ruby 3.2 there is now an instrumentation API for the GVL. I believe it could be a nice addition to datadog runtime metrics. This should help to understand an application's workload and allow fine-tuning of the number of threads used by web server (see rails/rails#50450, https://github.com/Shopify/gvltools?tab=readme-ov-file#localtimer).

Without going into implementation details, ddtrace could leverage https://github.com/Shopify/gvltools to achieve this?

Happy to hear your thoughts and insights.

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

Metadata

Assignees

No one assigned

    Labels

    communityWas opened by a community memberfeature-requestA request for a new feature or change to an existing one

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions