File tree 3 files changed +22
-3
lines changed
buildscripts/semantic-convention
semconv/src/main/java/io/opentelemetry/semconv/resource/attributes
3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4
4
ROOT_DIR=" ${SCRIPT_DIR} /../../"
5
5
6
6
# freeze the spec & generator tools versions to make SemanticAttributes generation reproducible
7
- SEMCONV_VERSION=1.17 .0
7
+ SEMCONV_VERSION=1.18 .0
8
8
SPEC_VERSION=v$SEMCONV_VERSION
9
9
SCHEMA_URL=https://opentelemetry.io/schemas/$SEMCONV_VERSION
10
10
GENERATOR_VERSION=0.14.0
Original file line number Diff line number Diff line change @@ -276,5 +276,16 @@ public final class {{class}} {
276
276
277
277
{% endif %}
278
278
279
+ {% - if class == "ResourceAttributes" %}
280
+
281
+ /**
282
+ * Red Hat OpenShift on Google Cloud.
283
+ * @deprecated This item has been removed as of 1.18.0 of the semantic conventions. Use {@link ResourceAttributes#GCP_OPENSHIFT} instead.
284
+ */
285
+ @Deprecated
286
+ public static final String GCP_OPENSHIFT = "gcp_openshift";
287
+
288
+ {% endif %}
289
+
279
290
private {{class}}() {}
280
291
}
Original file line number Diff line number Diff line change 18
18
@ SuppressWarnings ("unused" )
19
19
public final class ResourceAttributes {
20
20
/** The URL of the OpenTelemetry schema for these keys and values. */
21
- public static final String SCHEMA_URL = "https://opentelemetry.io/schemas/1.17 .0" ;
21
+ public static final String SCHEMA_URL = "https://opentelemetry.io/schemas/1.18 .0" ;
22
22
23
23
/**
24
24
* Array of brand name and version separated by a space
@@ -728,7 +728,7 @@ public static final class CloudPlatformValues {
728
728
/** Google Cloud App Engine (GAE). */
729
729
public static final String GCP_APP_ENGINE = "gcp_app_engine" ;
730
730
/** Red Hat OpenShift on Google Cloud. */
731
- public static final String GOOGLE_CLOUD_OPENSHIFT = "google_cloud_openshift " ;
731
+ public static final String GCP_OPENSHIFT = "gcp_openshift " ;
732
732
/** Red Hat OpenShift on IBM Cloud. */
733
733
public static final String IBM_CLOUD_OPENSHIFT = "ibm_cloud_openshift" ;
734
734
/** Tencent Cloud Cloud Virtual Machine (CVM). */
@@ -825,5 +825,13 @@ public static final class TelemetrySdkLanguageValues {
825
825
private TelemetrySdkLanguageValues () {}
826
826
}
827
827
828
+ /**
829
+ * Red Hat OpenShift on Google Cloud.
830
+ *
831
+ * @deprecated This item has been removed as of 1.18.0 of the semantic conventions. Use {@link
832
+ * ResourceAttributes#GCP_OPENSHIFT} instead.
833
+ */
834
+ @ Deprecated public static final String GCP_OPENSHIFT = "gcp_openshift" ;
835
+
828
836
private ResourceAttributes () {}
829
837
}
You can’t perform that action at this time.
0 commit comments