-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generic Producers #12
Comments
It's not possible for the time being. Metrics CDI conveniently uses the metrics registry to register custom metrics declared with I agree with you and your use case makes sense. One way of doing thing would be to add support for name matching, e.g.:
Another way would be to provide a way to customise the reservoir for instance globally. I've already introduced the |
introduction of a setting in the MetricsConfiguration class to be able to configure the Reservoir implementation to use for produced Timer & Histogram instances. see astefanutti#12
introduction of a setting in the MetricsConfiguration class to be able to configure the Reservoir implementation to use for produced Timer & Histogram instances. see #12
@mseitner sorry for the late reply. Would the |
Hi,
I wonder if it's possible to have generic/default producers? I understand that I can use explicit producers, but that creates a lot of duplicated code.
The text was updated successfully, but these errors were encountered: