Skip to content

Commit

Permalink
Update the semantic conventions to v1.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnerbart committed Apr 26, 2023
1 parent 9f60074 commit 30af4ba
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion buildscripts/semantic-convention/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> 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<String> MESSAGING_PROTOCOL_VERSION =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -1716,17 +1716,17 @@ 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<String> 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<String> MESSAGING_PROTOCOL_VERSION =
Expand Down

0 comments on commit 30af4ba

Please sign in to comment.