| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- /*
- * 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 telemetry
- {
- /**
- The language of the telemetry SDK.
- */
- static constexpr const char *kTelemetrySdkLanguage = "telemetry.sdk.language";
- /**
- The name of the telemetry SDK as defined above.
- <p>
- The OpenTelemetry SDK MUST set the @code telemetry.sdk.name @endcode attribute to @code
- opentelemetry @endcode. If another SDK, like a fork or a vendor-provided implementation, is used,
- this SDK MUST set the
- @code telemetry.sdk.name @endcode attribute to the fully-qualified class or module name of this
- SDK's main entry point or another suitable identifier depending on the language. The identifier
- @code opentelemetry @endcode is reserved and MUST NOT be used in this case. All custom identifiers
- SHOULD be stable across different versions of an implementation.
- */
- static constexpr const char *kTelemetrySdkName = "telemetry.sdk.name";
- /**
- The version string of the telemetry SDK.
- */
- static constexpr const char *kTelemetrySdkVersion = "telemetry.sdk.version";
- namespace TelemetrySdkLanguageValues
- {
- /**
- none
- */
- static constexpr const char *kCpp = "cpp";
- /**
- none
- */
- static constexpr const char *kDotnet = "dotnet";
- /**
- none
- */
- static constexpr const char *kErlang = "erlang";
- /**
- none
- */
- static constexpr const char *kGo = "go";
- /**
- none
- */
- static constexpr const char *kJava = "java";
- /**
- none
- */
- static constexpr const char *kNodejs = "nodejs";
- /**
- none
- */
- static constexpr const char *kPhp = "php";
- /**
- none
- */
- static constexpr const char *kPython = "python";
- /**
- none
- */
- static constexpr const char *kRuby = "ruby";
- /**
- none
- */
- static constexpr const char *kRust = "rust";
- /**
- none
- */
- static constexpr const char *kSwift = "swift";
- /**
- none
- */
- static constexpr const char *kWebjs = "webjs";
- } // namespace TelemetrySdkLanguageValues
- } // namespace telemetry
- } // namespace semconv
- OPENTELEMETRY_END_NAMESPACE
|