Package ubic.gemma.core.metrics
Class MeterRegistryCliConfigurer
- java.lang.Object
-
- ubic.gemma.core.metrics.AbstractMeterRegistryConfigurer
-
- ubic.gemma.core.metrics.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'
anduser
to the given meter registry.- Author:
- poirigui
-
-
Constructor Summary
Constructors Constructor Description MeterRegistryCliConfigurer(io.micrometer.core.instrument.MeterRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure(io.micrometer.core.instrument.MeterRegistry registry)
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Methods inherited from class ubic.gemma.core.metrics.AbstractMeterRegistryConfigurer
afterPropertiesSet
-
-
-
-
Method Detail
-
configure
protected void configure(io.micrometer.core.instrument.MeterRegistry registry)
- Specified by:
configure
in classAbstractMeterRegistryConfigurer
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
-