Class MetricEventPublisher

java.lang.Object
de.codecentric.spring.boot.chaos.monkey.component.MetricEventPublisher
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationEventPublisherAware

public class MetricEventPublisher extends Object implements org.springframework.context.ApplicationEventPublisherAware
Author:
Benjamin Wilms
  • Constructor Details

    • MetricEventPublisher

      public MetricEventPublisher()
  • Method Details

    • publishMetricEvent

      public void publishMetricEvent(String signature, MetricType metricType, String... tags)
    • publishMetricEvent

      public void publishMetricEvent(MetricType metricType, String... tags)
    • publishMetricEvent

      public void publishMetricEvent(MetricType metricType, AtomicInteger atomicTimeoutGauge)
    • publishMetricEvent

      public void publishMetricEvent(MetricType type, long metricValue)
    • setApplicationEventPublisher

      public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
      Specified by:
      setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware