java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
de.codecentric.spring.boot.chaos.monkey.events.MetricEvent
All Implemented Interfaces:
Serializable

public class MetricEvent extends org.springframework.context.ApplicationEvent
Author:
Benjamin Wilms
See Also:
  • Constructor Details

    • MetricEvent

      public MetricEvent(Object source, MetricType metricType, String methodSignature, String... tags)
      Create a new Chaos Monkey for Spring Boot Metric ApplicationEvent.
      Parameters:
      source - the object on which the event initially occurred (never null)
      metricType - MetricType
      methodSignature - String
      tags - String[]
    • MetricEvent

      public MetricEvent(Object source, MetricType metricType, String... tags)
    • MetricEvent

      public MetricEvent(Object source, MetricType metricType, long metricValue, String methodSignature, String... tags)
  • Method Details

    • getMetricType

      public MetricType getMetricType()
    • getMethodSignature

      public String getMethodSignature()
    • getTags

      public String[] getTags()
    • getMetricValue

      public double getMetricValue()