blob: 2e13701847da639197761ad0f807022bff7d641c (
plain) (
blame)
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
|
/*
* 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 deployment
{
/**
Name of the <a href="https://wikipedia.org/wiki/Deployment_environment">deployment environment</a>
(aka deployment tier). <p>
@code deployment.environment.name @endcode does not affect the uniqueness constraints defined
through the @code service.namespace @endcode, @code service.name @endcode and @code
service.instance.id @endcode resource attributes. This implies that resources carrying the
following attribute combinations MUST be considered to be identifying the same service: <ul>
<li>@code service.name=frontend @endcode, @code deployment.environment.name=production
@endcode</li> <li>@code service.name=frontend @endcode, @code deployment.environment.name=staging
@endcode.</li>
</ul>
*/
static constexpr const char *kDeploymentEnvironmentName = "deployment.environment.name";
namespace DeploymentEnvironmentNameValues
{
/**
Production environment
*/
static constexpr const char *kProduction = "production";
/**
Staging environment
*/
static constexpr const char *kStaging = "staging";
/**
Testing environment
*/
static constexpr const char *kTest = "test";
/**
Development environment
*/
static constexpr const char *kDevelopment = "development";
} // namespace DeploymentEnvironmentNameValues
} // namespace deployment
} // namespace semconv
OPENTELEMETRY_END_NAMESPACE
|