immobiliare / fastify-metrics

πŸ“Š Fastify plugin that integrates metrics collection and dispatch to statsd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong `this` context in getLabel in dynamic mode

dnlup opened this issue Β· comments

commented

The context is referring to the fastify instance used to register the plugin and not the instance that declared the route.

I proposed a solution here #113

πŸŽ‰ This issue has been resolved in version 2.0.0-next.3 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

πŸŽ‰ This issue has been resolved in version 2.0.0 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€