Skip to content

Performance Issues related with high request call rates to T _host_get_clock_service #480

Description

@sky-nunomarcos

I have been troubleshooting a node implementation that is currently using your lib to expose prometheus metrics and using clinicJS tool notices that almost 80% of total cpu usage time is spend in T _host_get_clock_service call. Already updated lib version to 14.0.1, but issues continues to be present.

Clinic Flamechart is this one:
imagem

Looking at your source code it can be related with Date.now(); requests performed in lib/timeWindowQuantiles.js or lib/metrics/processStartTime.js.

Do you have any suggestion on how to troubleshoot these issues and try to mitigate them?

Many Thanks for your help

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions