Enum Class Telemetry.WhenStripped

java.lang.Object
java.lang.Enum<Telemetry.WhenStripped>
org.microproxy.otel.Telemetry.WhenStripped
All Implemented Interfaces:
Serializable, Comparable<Telemetry.WhenStripped>, Constable
Enclosing class:
Telemetry

public static enum Telemetry.WhenStripped extends Enum<Telemetry.WhenStripped>
What goes upstream when the proxy strips tracing headers (HttpProxyServerBootstrap.withoutTracingHeadersUpstream()).
  • Enum Constant Details

    • OWN

      public static final Telemetry.WhenStripped OWN
      The proxy's own span context, in the configured propagators' headers, without the client's tracestate.
    • NONE

      public static final Telemetry.WhenStripped NONE
      No trace context at all: the server never learns of the trace.
  • Method Details

    • values

      public static Telemetry.WhenStripped[] 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 Telemetry.WhenStripped 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