keith-turner commented on code in PR #4244:
URL: https://github.com/apache/accumulo/pull/4244#discussion_r1489649093
##########
core/src/main/java/org/apache/accumulo/core/conf/Property.java:
##########
@@ -300,8 +300,13 @@ public enum Property {
"Enables metrics functionality using Micrometer.", "2.1.0"),
GENERAL_MICROMETER_JVM_METRICS_ENABLED("general.micrometer.jvm.metrics.enabled",
"false",
PropertyType.BOOLEAN, "Enables JVM metrics functionality using
Micrometer.", "2.1.0"),
- GENERAL_MICROMETER_FACTORY("general.micrometer.factory", "",
PropertyType.CLASSNAME,
- "Name of class that implements MeterRegistryFactory.", "2.1.0"),
+ GENERAL_MICROMETER_FACTORY("general.micrometer.factory",
+ "org.apache.accumulo.core.spi.metrics.SimpleLoggingMeterRegistryFactory",
+ PropertyType.CLASSNAMELIST,
+ "A comma separated list of one or more class names that implement
MeterRegistryFactory. Prior to"
+ + " 2.1.3 this was a single value and the default was an empty
string. In 2.1.3 the default "
+ + " was changed and it now can accept multiple class names.",
Review Comment:
Could also add something about the change in classes. Not sure if I got the
packages correct.
```
In 2.1.3 a new type was introduced
o.a.a.core.spi.metrics.MeterRegistryFacory and the existing type
o.a.a.core.metrics.MeterRegistryFactory was deprecated. For now classes that
extend either type are accepted as a value to this property.
```
--
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]