-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathGcpIncubatingAttributes.java
More file actions
318 lines (250 loc) · 12 KB
/
GcpIncubatingAttributes.java
File metadata and controls
318 lines (250 loc) · 12 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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.semconv.incubating;
import static io.opentelemetry.api.common.AttributeKey.longKey;
import static io.opentelemetry.api.common.AttributeKey.stringKey;
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class GcpIncubatingAttributes {
/** The container within GCP where the AppHub application is defined. */
public static final AttributeKey<String> GCP_APPHUB_APPLICATION_CONTAINER =
stringKey("gcp.apphub.application.container");
/** The name of the application as configured in AppHub. */
public static final AttributeKey<String> GCP_APPHUB_APPLICATION_ID =
stringKey("gcp.apphub.application.id");
/** The GCP zone or region where the application is defined. */
public static final AttributeKey<String> GCP_APPHUB_APPLICATION_LOCATION =
stringKey("gcp.apphub.application.location");
/**
* Criticality of a service indicates its importance to the business.
*
* <p>Notes:
*
* <p><a href="https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type">See AppHub
* type enum</a>
*/
public static final AttributeKey<String> GCP_APPHUB_SERVICE_CRITICALITY_TYPE =
stringKey("gcp.apphub.service.criticality_type");
/**
* Environment of a service is the stage of a software lifecycle.
*
* <p>Notes:
*
* <p><a href="https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1">See
* AppHub environment type</a>
*/
public static final AttributeKey<String> GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE =
stringKey("gcp.apphub.service.environment_type");
/** The name of the service as configured in AppHub. */
public static final AttributeKey<String> GCP_APPHUB_SERVICE_ID =
stringKey("gcp.apphub.service.id");
/**
* Criticality of a workload indicates its importance to the business.
*
* <p>Notes:
*
* <p><a href="https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type">See AppHub
* type enum</a>
*/
public static final AttributeKey<String> GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE =
stringKey("gcp.apphub.workload.criticality_type");
/**
* Environment of a workload is the stage of a software lifecycle.
*
* <p>Notes:
*
* <p><a href="https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1">See
* AppHub environment type</a>
*/
public static final AttributeKey<String> GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE =
stringKey("gcp.apphub.workload.environment_type");
/** The name of the workload as configured in AppHub. */
public static final AttributeKey<String> GCP_APPHUB_WORKLOAD_ID =
stringKey("gcp.apphub.workload.id");
/** The container within GCP where the AppHub destination application is defined. */
public static final AttributeKey<String> GCP_APPHUB_DESTINATION_APPLICATION_CONTAINER =
stringKey("gcp.apphub_destination.application.container");
/** The name of the destination application as configured in AppHub. */
public static final AttributeKey<String> GCP_APPHUB_DESTINATION_APPLICATION_ID =
stringKey("gcp.apphub_destination.application.id");
/** The GCP zone or region where the destination application is defined. */
public static final AttributeKey<String> GCP_APPHUB_DESTINATION_APPLICATION_LOCATION =
stringKey("gcp.apphub_destination.application.location");
/**
* Criticality of a destination workload indicates its importance to the business as specified in
* <a href="https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type">AppHub type
* enum</a>
*/
public static final AttributeKey<String> GCP_APPHUB_DESTINATION_SERVICE_CRITICALITY_TYPE =
stringKey("gcp.apphub_destination.service.criticality_type");
/**
* Software lifecycle stage of a destination service as defined <a
* href="https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1">AppHub
* environment type</a>
*/
public static final AttributeKey<String> GCP_APPHUB_DESTINATION_SERVICE_ENVIRONMENT_TYPE =
stringKey("gcp.apphub_destination.service.environment_type");
/** The name of the destination service as configured in AppHub. */
public static final AttributeKey<String> GCP_APPHUB_DESTINATION_SERVICE_ID =
stringKey("gcp.apphub_destination.service.id");
/**
* Criticality of a destination workload indicates its importance to the business as specified in
* <a href="https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type">AppHub type
* enum</a>
*/
public static final AttributeKey<String> GCP_APPHUB_DESTINATION_WORKLOAD_CRITICALITY_TYPE =
stringKey("gcp.apphub_destination.workload.criticality_type");
/**
* Environment of a destination workload is the stage of a software lifecycle as provided in the
* <a href="https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1">AppHub
* environment type</a>
*/
public static final AttributeKey<String> GCP_APPHUB_DESTINATION_WORKLOAD_ENVIRONMENT_TYPE =
stringKey("gcp.apphub_destination.workload.environment_type");
/** The name of the destination workload as configured in AppHub. */
public static final AttributeKey<String> GCP_APPHUB_DESTINATION_WORKLOAD_ID =
stringKey("gcp.apphub_destination.workload.id");
/**
* Identifies the Google Cloud service for which the official client library is intended.
*
* <p>Notes:
*
* <p>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'.
*/
public static final AttributeKey<String> GCP_CLIENT_SERVICE = stringKey("gcp.client.service");
/**
* The name of the Cloud Run <a
* href="https://cloud.google.com/run/docs/managing/job-executions">execution</a> being run for
* the Job, as set by the <a
* href="https://cloud.google.com/run/docs/container-contract#jobs-env-vars">{@code
* CLOUD_RUN_EXECUTION}</a> environment variable.
*/
public static final AttributeKey<String> GCP_CLOUD_RUN_JOB_EXECUTION =
stringKey("gcp.cloud_run.job.execution");
/**
* The index for a task within an execution as provided by the <a
* href="https://cloud.google.com/run/docs/container-contract#jobs-env-vars">{@code
* CLOUD_RUN_TASK_INDEX}</a> environment variable.
*/
public static final AttributeKey<Long> GCP_CLOUD_RUN_JOB_TASK_INDEX =
longKey("gcp.cloud_run.job.task_index");
/**
* The hostname of a GCE instance. This is the full value of the default or <a
* href="https://cloud.google.com/compute/docs/instances/custom-hostname-vm">custom hostname</a>.
*/
public static final AttributeKey<String> GCP_GCE_INSTANCE_HOSTNAME =
stringKey("gcp.gce.instance.hostname");
/**
* The instance name of a GCE instance. This is the value provided by {@code 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 <a
* href="https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names">default
* internal DNS name</a>.
*/
public static final AttributeKey<String> GCP_GCE_INSTANCE_NAME =
stringKey("gcp.gce.instance.name");
// Enum definitions
/** Values for {@link #GCP_APPHUB_SERVICE_CRITICALITY_TYPE}. */
public static final class GcpApphubServiceCriticalityTypeIncubatingValues {
/** Mission critical service. */
public static final String MISSION_CRITICAL = "MISSION_CRITICAL";
/** High impact. */
public static final String HIGH = "HIGH";
/** Medium impact. */
public static final String MEDIUM = "MEDIUM";
/** Low impact. */
public static final String LOW = "LOW";
private GcpApphubServiceCriticalityTypeIncubatingValues() {}
}
/** Values for {@link #GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE}. */
public static final class GcpApphubServiceEnvironmentTypeIncubatingValues {
/** Production environment. */
public static final String PRODUCTION = "PRODUCTION";
/** Staging environment. */
public static final String STAGING = "STAGING";
/** Test environment. */
public static final String TEST = "TEST";
/** Development environment. */
public static final String DEVELOPMENT = "DEVELOPMENT";
private GcpApphubServiceEnvironmentTypeIncubatingValues() {}
}
/** Values for {@link #GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE}. */
public static final class GcpApphubWorkloadCriticalityTypeIncubatingValues {
/** Mission critical service. */
public static final String MISSION_CRITICAL = "MISSION_CRITICAL";
/** High impact. */
public static final String HIGH = "HIGH";
/** Medium impact. */
public static final String MEDIUM = "MEDIUM";
/** Low impact. */
public static final String LOW = "LOW";
private GcpApphubWorkloadCriticalityTypeIncubatingValues() {}
}
/** Values for {@link #GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE}. */
public static final class GcpApphubWorkloadEnvironmentTypeIncubatingValues {
/** Production environment. */
public static final String PRODUCTION = "PRODUCTION";
/** Staging environment. */
public static final String STAGING = "STAGING";
/** Test environment. */
public static final String TEST = "TEST";
/** Development environment. */
public static final String DEVELOPMENT = "DEVELOPMENT";
private GcpApphubWorkloadEnvironmentTypeIncubatingValues() {}
}
/** Values for {@link #GCP_APPHUB_DESTINATION_SERVICE_CRITICALITY_TYPE}. */
public static final class GcpApphubDestinationServiceCriticalityTypeIncubatingValues {
/** Mission critical service. */
public static final String MISSION_CRITICAL = "MISSION_CRITICAL";
/** High impact. */
public static final String HIGH = "HIGH";
/** Medium impact. */
public static final String MEDIUM = "MEDIUM";
/** Low impact. */
public static final String LOW = "LOW";
private GcpApphubDestinationServiceCriticalityTypeIncubatingValues() {}
}
/** Values for {@link #GCP_APPHUB_DESTINATION_SERVICE_ENVIRONMENT_TYPE}. */
public static final class GcpApphubDestinationServiceEnvironmentTypeIncubatingValues {
/** Production environment. */
public static final String PRODUCTION = "PRODUCTION";
/** Staging environment. */
public static final String STAGING = "STAGING";
/** Test environment. */
public static final String TEST = "TEST";
/** Development environment. */
public static final String DEVELOPMENT = "DEVELOPMENT";
private GcpApphubDestinationServiceEnvironmentTypeIncubatingValues() {}
}
/** Values for {@link #GCP_APPHUB_DESTINATION_WORKLOAD_CRITICALITY_TYPE}. */
public static final class GcpApphubDestinationWorkloadCriticalityTypeIncubatingValues {
/** Mission critical service. */
public static final String MISSION_CRITICAL = "MISSION_CRITICAL";
/** High impact. */
public static final String HIGH = "HIGH";
/** Medium impact. */
public static final String MEDIUM = "MEDIUM";
/** Low impact. */
public static final String LOW = "LOW";
private GcpApphubDestinationWorkloadCriticalityTypeIncubatingValues() {}
}
/** Values for {@link #GCP_APPHUB_DESTINATION_WORKLOAD_ENVIRONMENT_TYPE}. */
public static final class GcpApphubDestinationWorkloadEnvironmentTypeIncubatingValues {
/** Production environment. */
public static final String PRODUCTION = "PRODUCTION";
/** Staging environment. */
public static final String STAGING = "STAGING";
/** Test environment. */
public static final String TEST = "TEST";
/** Development environment. */
public static final String DEVELOPMENT = "DEVELOPMENT";
private GcpApphubDestinationWorkloadEnvironmentTypeIncubatingValues() {}
}
private GcpIncubatingAttributes() {}
}