Skip to content

Commit

Permalink
chore(release): 10.4.0 [skip ci]
Browse files Browse the repository at this point in the history
## [10.4.0](v10.3.3...v10.4.0) (2023-11-28)

### 🚀 Features

* add option to disable summary collection in routeMetrics config ([#96](#96)) ([c0cb240](c0cb240))
  • Loading branch information
semantic-release-bot committed Nov 28, 2023
1 parent c0cb240 commit d2d97c0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
7 changes: 7 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [10.4.0](https://github.com/SkeLLLa/fastify-metrics/compare/v10.3.3...v10.4.0) (2023-11-28)


### 🚀 Features

* add option to disable summary collection in routeMetrics config ([#96](https://github.com/SkeLLLa/fastify-metrics/issues/96)) ([c0cb240](https://github.com/SkeLLLa/fastify-metrics/commit/c0cb2400d61c109a74a27d6dfc608b4e6cab9cea))

## [10.3.3](https://github.com/SkeLLLa/fastify-metrics/compare/v10.3.2...v10.3.3) (2023-10-31)


Expand Down
7 changes: 4 additions & 3 deletions docs/api/fastify-metrics.iroutemetricsconfig.enabled.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@

## IRouteMetricsConfig.enabled property

Enables collection of fastify routes metrics response time.

<b>Signature:</b>

```typescript
enabled?: boolean;
enabled?: boolean | {
histogram?: boolean;
summary?: boolean;
};
```
2 changes: 1 addition & 1 deletion docs/api/fastify-metrics.iroutemetricsconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface IRouteMetricsConfig
| Property | Modifiers | Type | Description |
| -------------------------------------------------------------------------------------- | --------- | --------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [customLabels?](./fastify-metrics.iroutemetricsconfig.customlabels.md) | | Record&lt;string, string \| ((request: FastifyRequest, reply: FastifyReply) =&gt; string)&gt; | <i>(Optional)</i> Custom labels to add to metrics |
| [enabled?](./fastify-metrics.iroutemetricsconfig.enabled.md) | | boolean | <i>(Optional)</i> Enables collection of fastify routes metrics response time. |
| [enabled?](./fastify-metrics.iroutemetricsconfig.enabled.md) | | boolean \| { histogram?: boolean; summary?: boolean; } | <i>(Optional)</i> |
| [groupStatusCodes?](./fastify-metrics.iroutemetricsconfig.groupstatuscodes.md) | | boolean | <i>(Optional)</i> Groups status code labels by first digit 200 becomes 2XX in metrics. |
| [invalidRouteGroup?](./fastify-metrics.iroutemetricsconfig.invalidroutegroup.md) | | string | <i>(Optional)</i> Unknown route label. If registeredRoutesOnly routes set to <code>false</code> unknown routes will have following url. |
| [methodBlacklist?](./fastify-metrics.iroutemetricsconfig.methodblacklist.md) | | readonly HTTPMethods\[\] | <i>(Optional)</i> A list of HTTP methods that will be excluded from metrics collection |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "fastify-metrics",
"version": "10.3.3",
"version": "10.4.0",
"description": "Prometheus metrics exporter for Fastify",
"keywords": [
"fastify-plugin",
Expand Down

0 comments on commit d2d97c0

Please sign in to comment.