Interface MeterRegistryFactory

All Known Implementing Classes:
LoggingMeterRegistryFactory

public interface MeterRegistryFactory
The Micrometer metrics allows for different monitoring systems. and can be enabled within Accumulo with properties and are initialized by implementing this interface and providing the factory implementation clas name as a property. Metrics are specified with the following properties:

Property.GENERAL_MICROMETER_ENABLED = true

Property.GENERAL_MICROMETER_FACTORY = [implementation].class.getName()

Since:
2.1.3
  • Field Details

  • Method Details

    • create

      io.micrometer.core.instrument.MeterRegistry create(MeterRegistryFactory.InitParameters params)
      Called on metrics initialization. Implementations should note the initial parameters set when instantiating a MeterRegistry should be considered fixed. Once a MeterRegistry is initialized parameters such as common tags may not be updated with later additions or changes.
      Returns:
      a Micrometer registry that will be added to the metrics configuration.