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:

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
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:

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