-
Notifications
You must be signed in to change notification settings - Fork 284
Expand file tree
/
Copy pathattributes.rb
More file actions
184 lines (154 loc) · 8.95 KB
/
Copy pathattributes.rb
File metadata and controls
184 lines (154 loc) · 8.95 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
# frozen_string_literal: true
# Copyright The OpenTelemetry Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
# This file was autogenerated. Do not edit it by hand.
module OpenTelemetry
module SemConv
module Incubating
module GCP
# @!group Attribute Names
# The container within GCP where the AppHub application is defined.
#
# @note Stability Level: development
GCP_APPHUB_APPLICATION_CONTAINER = 'gcp.apphub.application.container'
# The name of the application as configured in AppHub.
#
# @note Stability Level: development
GCP_APPHUB_APPLICATION_ID = 'gcp.apphub.application.id'
# The GCP zone or region where the application is defined.
#
# @note Stability Level: development
GCP_APPHUB_APPLICATION_LOCATION = 'gcp.apphub.application.location'
# Criticality of a service indicates its importance to the business.
#
# [See AppHub type enum](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type)
#
# @note Stability Level: development
GCP_APPHUB_SERVICE_CRITICALITY_TYPE = 'gcp.apphub.service.criticality_type'
# Environment of a service is the stage of a software lifecycle.
#
# [See AppHub environment type](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1)
#
# @note Stability Level: development
GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE = 'gcp.apphub.service.environment_type'
# The name of the service as configured in AppHub.
#
# @note Stability Level: development
GCP_APPHUB_SERVICE_ID = 'gcp.apphub.service.id'
# Criticality of a workload indicates its importance to the business.
#
# [See AppHub type enum](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type)
#
# @note Stability Level: development
GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE = 'gcp.apphub.workload.criticality_type'
# Environment of a workload is the stage of a software lifecycle.
#
# [See AppHub environment type](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1)
#
# @note Stability Level: development
GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE = 'gcp.apphub.workload.environment_type'
# The name of the workload as configured in AppHub.
#
# @note Stability Level: development
GCP_APPHUB_WORKLOAD_ID = 'gcp.apphub.workload.id'
# The container within GCP where the AppHub destination application is defined.
#
# @note Stability Level: development
GCP_APPHUB_DESTINATION_APPLICATION_CONTAINER = 'gcp.apphub_destination.application.container'
# The name of the destination application as configured in AppHub.
#
# @note Stability Level: development
GCP_APPHUB_DESTINATION_APPLICATION_ID = 'gcp.apphub_destination.application.id'
# The GCP zone or region where the destination application is defined.
#
# @note Stability Level: development
GCP_APPHUB_DESTINATION_APPLICATION_LOCATION = 'gcp.apphub_destination.application.location'
# Criticality of a destination workload indicates its importance to the business as specified in [AppHub type enum](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type)
#
# @note Stability Level: development
GCP_APPHUB_DESTINATION_SERVICE_CRITICALITY_TYPE = 'gcp.apphub_destination.service.criticality_type'
# Software lifecycle stage of a destination service as defined [AppHub environment type](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1)
#
# @note Stability Level: development
GCP_APPHUB_DESTINATION_SERVICE_ENVIRONMENT_TYPE = 'gcp.apphub_destination.service.environment_type'
# The name of the destination service as configured in AppHub.
#
# @note Stability Level: development
GCP_APPHUB_DESTINATION_SERVICE_ID = 'gcp.apphub_destination.service.id'
# Criticality of a destination workload indicates its importance to the business as specified in [AppHub type enum](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type)
#
# @note Stability Level: development
GCP_APPHUB_DESTINATION_WORKLOAD_CRITICALITY_TYPE = 'gcp.apphub_destination.workload.criticality_type'
# Environment of a destination workload is the stage of a software lifecycle as provided in the [AppHub environment type](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1)
#
# @note Stability Level: development
GCP_APPHUB_DESTINATION_WORKLOAD_ENVIRONMENT_TYPE = 'gcp.apphub_destination.workload.environment_type'
# The name of the destination workload as configured in AppHub.
#
# @note Stability Level: development
GCP_APPHUB_DESTINATION_WORKLOAD_ID = 'gcp.apphub_destination.workload.id'
# Identifies the Google Cloud service for which the official client library is intended.
#
# Intended to be a stable identifier for Google Cloud client libraries that is uniform across implementation languages. The value should be derived from the canonical service domain for the service; for example, 'foo.googleapis.com' should result in a value of 'foo'.
#
# @note Stability Level: development
GCP_CLIENT_SERVICE = 'gcp.client.service'
# The name of the Cloud Run [execution](https://cloud.google.com/run/docs/managing/job-executions) being run for the Job, as set by the [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable.
#
# @note Stability Level: development
GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution'
# The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable.
#
# @note Stability Level: development
GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index'
# The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm).
#
# @note Stability Level: development
GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'
# Must be called with a key for the full attribute name. See notes below about the expectations
# for the state of the key.
#
# @example Usage
# GCP_GCE_INSTANCE_LABELS_LAMBDA.call('some-cool-key') #=> 'gcp.gce.instance.labels.some-cool-key'
#
# GCE instance labels, `<key>` being the label name and the value being the label value.
#
# For example, a GCE instance label `team` with value `observability` SHOULD be recorded as the `gcp.gce.instance.labels.team` attribute with value `"observability"`. The `<key>` MUST be the exact GCE instance label key.
#
# @note Stability Level: development
GCP_GCE_INSTANCE_LABELS_LAMBDA = ->(key) { "gcp.gce.instance.labels.#{key}" }
# The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the [default internal DNS name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names).
#
# @note Stability Level: development
GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'
# The name of the Instance Group Manager (IGM) that manages this VM, if any.
#
# @note Stability Level: development
GCP_GCE_INSTANCE_GROUP_MANAGER_NAME = 'gcp.gce.instance_group_manager.name'
# The region of a **regional** Instance Group Manager (e.g., `us-central1`). Set this **only** when the IGM is regional.
#
# @note Stability Level: development
GCP_GCE_INSTANCE_GROUP_MANAGER_REGION = 'gcp.gce.instance_group_manager.region'
# The zone of a **zonal** Instance Group Manager (e.g., `us-central1-a`). Set this **only** when the IGM is zonal.
#
# @note Stability Level: development
GCP_GCE_INSTANCE_GROUP_MANAGER_ZONE = 'gcp.gce.instance_group_manager.zone'
# @!endgroup
end
end
end
end