Skip to content

Commit

Permalink
Added info what are the new semantic attributes to be used (#4840)
Browse files Browse the repository at this point in the history
* Added info what are the new semantic attributes to be used 

Related change - open-telemetry/opentelemetry-specification@0b45213

* Regenerated the code

* Fixed . to #
  • Loading branch information
marcingrzejszczak committed Oct 18, 2022
1 parent 88779d3 commit a3551e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Expand Up @@ -166,13 +166,13 @@ public final class {{class}} {
public static final AttributeKey<String> HTTP_HOST = stringKey("http.host");

/**
* @deprecated This item has been removed as of 1.13.0 of the semantic conventions.
* @deprecated This item has been removed as of 1.13.0 of the semantic conventions. Please use {@link SemanticAttributes#NET_SOCK_PEER_ADDR} instead.
*/
@Deprecated
public static final AttributeKey<String> NET_PEER_IP = stringKey("net.peer.ip");

/**
* @deprecated This item has been removed as of 1.13.0 of the semantic conventions.
* @deprecated This item has been removed as of 1.13.0 of the semantic conventions. Please use {@link SemanticAttributes#NET_SOCK_HOST_ADDR} instead.
*/
@Deprecated
public static final AttributeKey<String> NET_HOST_IP = stringKey("net.host.ip");
Expand Down
Expand Up @@ -1414,12 +1414,14 @@ private MessageTypeValues() {}
@Deprecated public static final AttributeKey<String> HTTP_HOST = stringKey("http.host");

/**
* @deprecated This item has been removed as of 1.13.0 of the semantic conventions.
* @deprecated This item has been removed as of 1.13.0 of the semantic conventions. Please use
* {@link SemanticAttributes#NET_SOCK_PEER_ADDR} instead.
*/
@Deprecated public static final AttributeKey<String> NET_PEER_IP = stringKey("net.peer.ip");

/**
* @deprecated This item has been removed as of 1.13.0 of the semantic conventions.
* @deprecated This item has been removed as of 1.13.0 of the semantic conventions. Please use
* {@link SemanticAttributes#NET_SOCK_HOST_ADDR} instead.
*/
@Deprecated public static final AttributeKey<String> NET_HOST_IP = stringKey("net.host.ip");

Expand Down

0 comments on commit a3551e7

Please sign in to comment.