From 1940c4d505d800a4006b49090f79815fdaa4d49c Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 8 Mar 2024 19:32:06 +0100 Subject: [PATCH] chore: update missing doc generation --- README.md | 3 +-- etc/fastify-metrics.api.md | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a2ac0cf..f2b9e96 100644 --- a/README.md +++ b/README.md @@ -133,8 +133,7 @@ See for details [docs](docs/api/fastify-metrics.imetricspluginoptions.md) | [endpoint?](./docs/api/fastify-metrics.imetricspluginoptions.endpoint.md) | string \| null \| [`Fastify.RouteOptions`](https://www.fastify.io/docs/api/latest/Reference/Routes/#routes-options) | `'/metrics'` | | [name?](./docs/api/fastify-metrics.imetricspluginoptions.name.md) | string | `'metrics'` | | [routeMetrics?](./docs/api/fastify-metrics.imetricspluginoptions.routemetrics.md) | [IRouteMetricsConfig](./docs/api/fastify-metrics.iroutemetricsconfig.md) | `{ enabled: true }` | -| [promClient?](./docs/api/fastify-metrics.imetricspluginoptions.promclient.md) | `prom-client` instance \| null | `null` | - +| [promClient?](./docs/api/fastify-metrics.imetricspluginoptions.promclient.md) | `prom-client` instance \| null | `null` | #### Route metrics diff --git a/etc/fastify-metrics.api.md b/etc/fastify-metrics.api.md index 8e6f48e..03cca86 100644 --- a/etc/fastify-metrics.api.md +++ b/etc/fastify-metrics.api.md @@ -51,6 +51,7 @@ export interface IMetricsPluginOptions { defaultMetrics: IDefaultMetricsConfig; endpoint: string | null | RouteOptions; name: string; + promClient: typeof client | null; routeMetrics: IRouteMetricsConfig; }