Class MeterRegistryCliConfigurer

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

    public class MeterRegistryCliConfigurer
    extends AbstractMeterRegistryConfigurer
    implements org.springframework.context.ApplicationContextAware
    This configurer adds two tags: environment='cli' and user to the given meter registry.
    Author:
    poirigui
    • Constructor Detail

      • MeterRegistryCliConfigurer

        public MeterRegistryCliConfigurer​(io.micrometer.core.instrument.MeterRegistry registry)
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException