Interface MeterRegistryFactory.InitParameters

Enclosing interface:
MeterRegistryFactory

public static interface MeterRegistryFactory.InitParameters
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the configured metrics properties passed as general.custom.metrics.opts The returned map is the stripped names with general.custom.metrics.opts removed.
    Optional extension point to pass additional information though the ServiceEnvironment.
  • Method Details

    • getOptions

      Map<String,String> getOptions()
      Get the configured metrics properties passed as general.custom.metrics.opts The returned map is the stripped names with general.custom.metrics.opts removed.

      For example properties general.custom.metrics.opts.prop1=abc and general.custom.metrics.opts.prop9=123 are set, then this map would contain prop1=abc and prop9=123.

      Returns:
      a map of property name, value pairs, stripped of a prefix.
    • getServiceEnv

      ServiceEnvironment getServiceEnv()
      Optional extension point to pass additional information though the ServiceEnvironment.
      Returns:
      the service environment