diff --git a/buildscripts/semantic-convention/generate.sh b/buildscripts/semantic-convention/generate.sh index 69f652d5b65..b34e5c5139f 100755 --- a/buildscripts/semantic-convention/generate.sh +++ b/buildscripts/semantic-convention/generate.sh @@ -4,7 +4,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ROOT_DIR="${SCRIPT_DIR}/../../" # freeze the spec & generator tools versions to make SemanticAttributes generation reproducible -SEMCONV_VERSION=1.19.0 +SEMCONV_VERSION=1.19.1 SPEC_VERSION=v$SEMCONV_VERSION SCHEMA_URL=https://opentelemetry.io/schemas/$SEMCONV_VERSION GENERATOR_VERSION=0.18.0 diff --git a/buildscripts/semantic-convention/templates/SemanticAttributes.java.j2 b/buildscripts/semantic-convention/templates/SemanticAttributes.java.j2 index fbf037ad851..8d57d1ee0d3 100644 --- a/buildscripts/semantic-convention/templates/SemanticAttributes.java.j2 +++ b/buildscripts/semantic-convention/templates/SemanticAttributes.java.j2 @@ -204,14 +204,14 @@ public final class {{class}} { /** * The name of the transport protocol. - * @deprecated This item has been removed as of 1.17.0 of the semantic conventions. There is no replacement. + * @deprecated This item has been removed as of 1.17.0 of the semantic conventions. Use {@link SemanticAttributes#NET_APP_PROTOCOL_NAME} instead. */ @Deprecated public static final AttributeKey MESSAGING_PROTOCOL = stringKey("messaging.protocol"); /** * The version of the transport protocol. - * @deprecated This item has been removed as of 1.17.0 of the semantic conventions. There is no replacement. + * @deprecated This item has been removed as of 1.17.0 of the semantic conventions. Use {@link SemanticAttributes#NET_APP_PROTOCOL_VERSION} instead. */ @Deprecated public static final AttributeKey MESSAGING_PROTOCOL_VERSION = diff --git a/semconv/src/main/java/io/opentelemetry/semconv/resource/attributes/ResourceAttributes.java b/semconv/src/main/java/io/opentelemetry/semconv/resource/attributes/ResourceAttributes.java index 000033f38bb..c040be267cc 100644 --- a/semconv/src/main/java/io/opentelemetry/semconv/resource/attributes/ResourceAttributes.java +++ b/semconv/src/main/java/io/opentelemetry/semconv/resource/attributes/ResourceAttributes.java @@ -18,7 +18,7 @@ @SuppressWarnings("unused") public final class ResourceAttributes { /** The URL of the OpenTelemetry schema for these keys and values. */ - public static final String SCHEMA_URL = "https://opentelemetry.io/schemas/1.19.0"; + public static final String SCHEMA_URL = "https://opentelemetry.io/schemas/1.19.1"; /** * Array of brand name and version separated by a space diff --git a/semconv/src/main/java/io/opentelemetry/semconv/trace/attributes/SemanticAttributes.java b/semconv/src/main/java/io/opentelemetry/semconv/trace/attributes/SemanticAttributes.java index 8f0468d3fbb..282565a1248 100644 --- a/semconv/src/main/java/io/opentelemetry/semconv/trace/attributes/SemanticAttributes.java +++ b/semconv/src/main/java/io/opentelemetry/semconv/trace/attributes/SemanticAttributes.java @@ -19,7 +19,7 @@ @SuppressWarnings("unused") public final class SemanticAttributes { /** The URL of the OpenTelemetry schema for these keys and values. */ - public static final String SCHEMA_URL = "https://opentelemetry.io/schemas/1.19.0"; + public static final String SCHEMA_URL = "https://opentelemetry.io/schemas/1.19.1"; /** * The type of the exception (its fully-qualified class name, if applicable). The dynamic type of @@ -1716,8 +1716,8 @@ private RpcConnectRpcErrorCodeValues() {} /** * The name of the transport protocol. * - * @deprecated This item has been removed as of 1.17.0 of the semantic conventions. There is no - * replacement. + * @deprecated This item has been removed as of 1.17.0 of the semantic conventions. Use {@link + * SemanticAttributes#NET_APP_PROTOCOL_NAME} instead. */ @Deprecated public static final AttributeKey MESSAGING_PROTOCOL = stringKey("messaging.protocol"); @@ -1725,8 +1725,8 @@ private RpcConnectRpcErrorCodeValues() {} /** * The version of the transport protocol. * - * @deprecated This item has been removed as of 1.17.0 of the semantic conventions. There is no - * replacement. + * @deprecated This item has been removed as of 1.17.0 of the semantic conventions. Use {@link + * SemanticAttributes#NET_APP_PROTOCOL_VERSION} instead. */ @Deprecated public static final AttributeKey MESSAGING_PROTOCOL_VERSION =