Enum InternalTelemetryVersion

java.lang.Object
java.lang.Enum<InternalTelemetryVersion>
io.opentelemetry.sdk.common.InternalTelemetryVersion
All Implemented Interfaces:
Serializable, Comparable<InternalTelemetryVersion>, java.lang.constant.Constable

public enum InternalTelemetryVersion extends Enum<InternalTelemetryVersion>
Defines the self-monitoring telemetry SDK components should capture.
Since:
1.51.0
  • Enum Constant Details

    • LEGACY

      public static final InternalTelemetryVersion LEGACY
      Record self-monitoring metrics defined in the SDK prior the standardization in semantic conventions.
    • LATEST

      public static final InternalTelemetryVersion LATEST
      Record self-monitoring metrics defined in the latest semantic conventions version supported by this SDK version.
  • Method Details

    • values

      public static InternalTelemetryVersion[] 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 InternalTelemetryVersion 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