1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
/*
* 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
{
static constexpr const char *kCpp = "cpp";
static constexpr const char *kDotnet = "dotnet";
static constexpr const char *kErlang = "erlang";
static constexpr const char *kGo = "go";
static constexpr const char *kJava = "java";
static constexpr const char *kNodejs = "nodejs";
static constexpr const char *kPhp = "php";
static constexpr const char *kPython = "python";
static constexpr const char *kRuby = "ruby";
static constexpr const char *kRust = "rust";
static constexpr const char *kSwift = "swift";
static constexpr const char *kWebjs = "webjs";
} // namespace TelemetrySdkLanguageValues
} // namespace telemetry
} // namespace semconv
OPENTELEMETRY_END_NAMESPACE
|