Package org.frankframework.statistics
Class MetricsInitializer
java.lang.Object
org.frankframework.statistics.MetricsInitializer
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class MetricsInitializer
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidio.micrometer.core.instrument.CountercreateCounter(FrankElement frankElement, FrankMeterType type) io.micrometer.core.instrument.DistributionSummarycreateDistributionSummary(FrankElement frankElement, FrankMeterType type) io.micrometer.core.instrument.GaugecreateGauge(FrankElement frankElement, FrankMeterType type, Supplier<Number> numberSupplier) io.micrometer.core.instrument.DistributionSummarycreateSubDistributionSummary(FrankElement parentFrankElement, String subFrankElement, FrankMeterType type) io.micrometer.core.instrument.DistributionSummarycreateSubDistributionSummary(FrankElement parentFrankElement, HasName subFrankElement, FrankMeterType type) This DistributionSummary is suffixed under a pipeio.micrometer.core.instrument.DistributionSummarycreateThreadBasedDistributionSummary(Receiver<?> receiver, FrankMeterType type, int threadNumber) io.micrometer.core.instrument.Timer.ResourceSamplecreateTimerResource(FrankElement frankElement, FrankMeterType type, String... tags) voiddestroy()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
-
Field Details
-
PARENT_CHILD_NAME_FORMAT
- See Also:
-
log
protected org.apache.logging.log4j.Logger log
-
-
Constructor Details
-
MetricsInitializer
public MetricsInitializer()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
createCounter
public io.micrometer.core.instrument.Counter createCounter(@Nonnull FrankElement frankElement, @Nonnull FrankMeterType type) -
createTimerResource
public io.micrometer.core.instrument.Timer.ResourceSample createTimerResource(@Nonnull FrankElement frankElement, @Nonnull FrankMeterType type, String... tags) -
createSubDistributionSummary
public io.micrometer.core.instrument.DistributionSummary createSubDistributionSummary(@Nonnull FrankElement parentFrankElement, @Nonnull HasName subFrankElement, @Nonnull FrankMeterType type) This DistributionSummary is suffixed under a pipe -
createSubDistributionSummary
public io.micrometer.core.instrument.DistributionSummary createSubDistributionSummary(@Nonnull FrankElement parentFrankElement, @Nonnull String subFrankElement, @Nonnull FrankMeterType type) -
createDistributionSummary
public io.micrometer.core.instrument.DistributionSummary createDistributionSummary(@Nonnull FrankElement frankElement, @Nonnull FrankMeterType type) -
createThreadBasedDistributionSummary
public io.micrometer.core.instrument.DistributionSummary createThreadBasedDistributionSummary(Receiver<?> receiver, FrankMeterType type, int threadNumber) -
createGauge
public io.micrometer.core.instrument.Gauge createGauge(@Nonnull FrankElement frankElement, @Nonnull FrankMeterType type, Supplier<Number> numberSupplier) -
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-