Class ServiceAttributes

java.lang.Object
io.opentelemetry.semconv.ServiceAttributes

public final class ServiceAttributes extends Object
  • Field Details

    • SERVICE_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> SERVICE_NAME
      Logical name of the service.

      Notes:

      • MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to unknown_service: concatenated with process.executable.name, e.g. unknown_service:bash. If process.executable.name is not available, the value MUST be set to unknown_service.
    • SERVICE_VERSION

      public static final io.opentelemetry.api.common.AttributeKey<String> SERVICE_VERSION
      The version string of the service API or implementation. The format is not defined by these conventions.