Skip to content

Commit

Permalink
Add missing links to deprecated constants in SemanticAttributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnerbart committed Apr 26, 2023
1 parent 9f60074 commit 1a92eac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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 @@ -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 1a92eac

Please sign in to comment.