| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- /*
- * Copyright The OpenTelemetry Authors
- * SPDX-License-Identifier: Apache-2.0
- */
- /*
- * DO NOT EDIT, this is an Auto-generated file from:
- * buildscripts/semantic-convention/templates/registry/semantic_attributes-h.j2
- */
- #pragma once
- #include "opentelemetry/common/macros.h"
- #include "opentelemetry/version.h"
- OPENTELEMETRY_BEGIN_NAMESPACE
- namespace semconv
- {
- namespace otel
- {
- /**
- The name of the instrumentation scope - (@code InstrumentationScope.Name @endcode in OTLP).
- */
- static constexpr const char *kOtelScopeName = "otel.scope.name";
- /**
- The version of the instrumentation scope - (@code InstrumentationScope.Version @endcode in OTLP).
- */
- static constexpr const char *kOtelScopeVersion = "otel.scope.version";
- /**
- Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET.
- */
- static constexpr const char *kOtelStatusCode = "otel.status_code";
- /**
- Description of the Status if it has a value, otherwise not set.
- */
- static constexpr const char *kOtelStatusDescription = "otel.status_description";
- namespace OtelStatusCodeValues
- {
- /**
- The operation has been validated by an Application developer or Operator to have completed
- successfully.
- */
- static constexpr const char *kOk = "OK";
- /**
- The operation contains an error.
- */
- static constexpr const char *kError = "ERROR";
- } // namespace OtelStatusCodeValues
- } // namespace otel
- } // namespace semconv
- OPENTELEMETRY_END_NAMESPACE
|