immobiliare / fastify-metrics

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastifyContextConfig type error

antoniomuso opened this issue Β· comments

The configuration of the route should have fastifyPrefix and routesPrefix optional, but we have set it mandatory.

interface FastifyContextConfig {
        metrics: {
            /** The id for this route that will be used for the label */
            routeId: string;
            /** Normalized fastify prefix for this route */
            fastifyPrefix: string;
            /** Normalized prefix of the routes */
            routesPrefix: string;
        };
    }

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

The release is available on:

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