basalt / fastify/src / metricsPlugin
Function: metricsPlugin()
> metricsPlugin(options?): BasaltPlugin<unknown>
Defined in: http/src/metrics.ts:19
Prometheus /metrics + auto-instrumented HTTP, framework-neutral. Requests are labelled by route template (from the adapter), keeping cardinality bounded.
Parameters
options?
MetricsPluginOptions = {}
Returns
BasaltPlugin<unknown>