6.0.1 (2024-06-04)
- bump version (361a32c)
6.0.0 (2023-12-18)
- fastify deprecation notice (e53acd7)
- we now use routeOptions to store metrics data.
5.1.1 (2023-07-07)
- send error.statusCode when available if the reply.statusCode is 200 or undefined (e06ac12)
5.1.0 (2023-03-22)
- dats@5 node@18 npm@9 (fc43149)
5.0.0 (2023-01-09)
- fix fastify deprecation (d37cae2)
- the plugin now relies on the
routeConfig
key instead of thecontext.config
key to get its metadata.
4.0.1 (2022-07-26)
- docs with wrong version table (effc04f)
4.0.0 (2022-07-18)
- fastify: updates framework and plugin to 4.x (6dfa740)
- fastify: fastify major update
3.0.1 (2022-06-21)
- skip getLabel on 404 (37b6e2e)
3.0.0 (2022-05-10)
- update node (a52b375)
- Node.js 12 is deprecated
2.0.2 (2022-03-16)
- types: fix cannot cast MetricsPluginOptions properties to specific type (956a4af)
2.0.1 (2022-03-16)
- fixed types (7ed7133)
2.0.0 (2022-03-10)
- types: add missing types (74444b9)
- check for the presence of metrics object (288771b), closes #134
- label: label with undefined id (6d79705)
- fix isCustomClientCheck (ff5ffe9)
- remove doc decorator (50abf07)
- upgrade fastify-plugin from 3.0.0 to 3.0.1 (2a04a38)
- dynamic mode: fixed this context in getLabel for dynamic mode to be the request context (0dac171)
- TCP: fixed tcp (58690d2)
- types: added missing type for FastifyContextConfig (fa07110)
- types: fix wrong export name (119fdc3)
- deps: update dats to version 2 (03d2316)
- add boolean to routes config (acca747)
- rename routes.timing in responseTime (44fe70a)
- metric: add req/res size metric (1f7b2a4), closes #32
- added skip for empty ids (cbee46b)
- allow custom Dats client (40de470)
- change configuration object (df6ba44)
- decorated request and reply with get label function (f00b9d5)
- scope instance decorators (d1331a1)
- routes: add normalized strings to context (4b172d6)
- custom route metric label (efe0131)
- expose process metrics sampler (67b69c5)
- prerelase (2d0d1d0)
- timing is renamed to responseTime.
- The previous configuration is not supported anymore, please check your client, routes and health configurations.
- the fastify instance decorators are exported in the
metrics
object. Thedoc
sampler instance is renamed tosampler
. - deps: there might be breaking changes in the new dats version.
- the routes metrics options have changed.
The default route prefix is now an empty string and not 'api'.
The dats instance is exported as
metricsCLient
. - types: the plugin init functions have different names.
2.0.0-next.3 (2022-02-16)
- dynamic mode: fixed this context in getLabel for dynamic mode to be the request context (0dac171)
2.0.0-next.2 (2022-02-11)
- types: added missing type for FastifyContextConfig (fa07110)
2.0.0-next.1 (2022-02-10)
- allow custom Dats client (40de470)
- custom route metric label (efe0131)
- expose process metrics sampler (67b69c5)
- prerelase (2d0d1d0)
- the routes metrics options have changed.
The default route prefix is now an empty string and not 'api'.
The dats instance is exported as
metricsCLient
. - types: the plugin init functions have different names.
- adds configuration for releasing (64f4827), closes #20
- missing npm install in ci (784d3c0)
- removes lockfile (465da0a)
- dats: converted afterSend into onError function (d010e70)