Enum Class TraceMatchType

java.lang.Object
java.lang.Enum<TraceMatchType>
dev.dokimos.server.entity.TraceMatchType
All Implemented Interfaces:
Serializable, Comparable<TraceMatchType>, Constable

public enum TraceMatchType extends Enum<TraceMatchType>
How a TraceEvalRule decides whether a span matches. SPAN_NAME tests the rule's match value against the span name; ATTRIBUTE tests it against the span attribute named by the rule's match key. Stored as a string in the trace_eval_rules.match_type column.
  • Enum Constant Details

  • Method Details

    • values

      public static TraceMatchType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TraceMatchType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null