Skip to content

feat: add helper middleware to easily define metrics config on a route#87

Open
lefuturiste wants to merge 2 commits intonlopes:mainfrom
lefuturiste:main
Open

feat: add helper middleware to easily define metrics config on a route#87
lefuturiste wants to merge 2 commits intonlopes:mainfrom
lefuturiste:main

Conversation

@lefuturiste
Copy link
Contributor

Adding MetricsConfiguratorMiddleware to allow upstream code to
provide a quick way to configure cardinality_keep_params with wrap

Adding MetricsConfiguratorMiddleware to allow upstream code to
provide a quick way to configure cardinality_keep_params with wrap
even on route where wrap_fn is not as easy.
example: wrap in route macro attribute.
@lefuturiste
Copy link
Contributor Author

Hello @nlopes I would love a review from you.
This modification allow to really use the custom cardinality feature that was merged last year by providing a helper middleware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant