immobiliare / fastify-metrics

πŸ“Š Fastify plugin that integrates metrics collection and dispatch to statsd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Config options refactor

dnlup opened this issue Β· comments

commented

Scope requests/respose flags inside a dedicated key. Use the health key to pass custom sampler options too.

commented

As cited in here, a plugin should scope its config using a dedicated key, so we may have to scope everything under a metrics key too.

commented

@simonecorsi This goes along what we discussed while reviewing #66 . We could avoid nesting and scoop everything under metrics.

@simonecorsi This goes along what we discussed while reviewing #66 . We could avoid nesting and scoop everything under metrics.

sgtm, we can do it here tho πŸ‘

πŸŽ‰ This issue has been resolved in version 2.0.0 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€