Enum TracingMode

java.lang.Object
java.lang.Enum<TracingMode>
org.bithon.agent.sdk.tracing.TracingMode
All Implemented Interfaces:
Serializable, Comparable<TracingMode>, java.lang.constant.Constable

public enum TracingMode extends Enum<TracingMode>
Represents the tracing mode for a trace scope
Author:
frank.chen021@outlook.com
Date:
2025/09/09 15:32
  • Enum Constant Details

    • LOGGING

      public static final TracingMode LOGGING
      Logging mode - only context propagation, no actual span collection
    • TRACING

      public static final TracingMode TRACING
      Full tracing mode - complete span collection and reporting
  • Constructor Details

    • TracingMode

      private TracingMode()
  • Method Details

    • values

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

      public static TracingMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null