Closed Neriuzz closed 9 months ago
Attention: 2 lines
in your changes are missing coverage. Please review.
Comparison is base (
c0cb240
) 99.39% compared to head (0057ce7
) 98.82%. Report is 1 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
src/fastify-metrics.ts | 88.23% | 1 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:tada: This PR is included in version 10.4.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Hey again,
My last PR seems like it might have a nasty memory leak, as the summary and histogram timers would get started on every request even if they have been disabled via the configuration option.
This PR fixes that issue by only initialising the timers if the relevant histogram/summary collection has been enabled.