[Home](./index.md) > [fastify-metrics](./fastify-metrics.md) > [IRouteMetricsConfig](./fastify-metrics.iroutemetricsconfig.md) > [enabled](./fastify-metrics.iroutemetricsconfig.enabled.md) ## IRouteMetricsConfig.enabled property Enables or disables route metrics collection. Can be a boolean to enable/disable both histogram and summary, or an object to control each independently. **Signature:** ```typescript enabled?: boolean | { histogram?: boolean; summary?: boolean; }; ``` ## Default Value `true`