dlmarion commented on code in PR #5616:
URL: https://github.com/apache/accumulo/pull/5616#discussion_r2129999915


##########
core/src/main/java/org/apache/accumulo/core/spi/metrics/MeterRegistryFactory.java:
##########
@@ -69,4 +78,39 @@ interface InitParameters {
    * @return a Micrometer registry that will be added to the metrics 
configuration.
    */
   MeterRegistry create(final InitParameters params);
+

Review Comment:
   I think this method can just be moved into MetricsInfoImpl. The spi package 
is for interfaces that define the contracts for user-provided server-side 
plugins. Putting the method here doesn't really make sense because it's an 
implementation. If you wanted users to be able to provide their own 
implementation, then you could put a method declaration here. But, I'm not sure 
that we need that.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to