@@ -100,22 +100,23 @@ internal static class SemanticConventions
100100 public const string AttributeErrorType = "error.type" ;
101101
102102 // v1.21.0
103- // https://github.com/open-telemetry/semantic-conventions/blob/v1.21.0/docs/http/http-spans.md
104103 // https://github.com/open-telemetry/semantic-conventions/blob/v1.21.0/docs/database/database-spans.md
105- // https://github.com/open-telemetry/semantic-conventions/blob/v1.21.0/docs/rpc/rpc-spans.md
104+ public const string AttributeServerSocketAddress = "server.socket.address" ; // replaces: "net.peer.ip" (AttributeNetPeerIp)
105+
106+ // v1.23.0
107+ // https://github.com/open-telemetry/semantic-conventions/blob/v1.23.0/docs/http/http-spans.md
106108 public const string AttributeClientAddress = "client.address" ;
107109 public const string AttributeClientPort = "client.port" ;
108110 public const string AttributeHttpRequestMethod = "http.request.method" ; // replaces: "http.method" (AttributeHttpMethod)
111+ public const string AttributeHttpRequestMethodOriginal = "http.request.method_original" ;
109112 public const string AttributeHttpResponseStatusCode = "http.response.status_code" ; // replaces: "http.status_code" (AttributeHttpStatusCode)
110113 public const string AttributeNetworkProtocolVersion = "network.protocol.version" ; // replaces: "http.flavor" (AttributeHttpFlavor)
111114 public const string AttributeNetworkProtocolName = "network.protocol.name" ;
112115 public const string AttributeServerAddress = "server.address" ; // replaces: "net.host.name" (AttributeNetHostName) and "net.peer.name" (AttributeNetPeerName)
113116 public const string AttributeServerPort = "server.port" ; // replaces: "net.host.port" (AttributeNetHostPort) and "net.peer.port" (AttributeNetPeerPort)
114- public const string AttributeServerSocketAddress = "server.socket.address" ; // replaces: "net.peer.ip" (AttributeNetPeerIp)
115117 public const string AttributeUrlFull = "url.full" ; // replaces: "http.url" (AttributeHttpUrl)
116118 public const string AttributeUrlPath = "url.path" ; // replaces: "http.target" (AttributeHttpTarget)
117- public const string AttributeUrlScheme = "url.scheme" ; // replaces: "http.scheme" (AttributeHttpScheme)
118119 public const string AttributeUrlQuery = "url.query" ;
120+ public const string AttributeUrlScheme = "url.scheme" ; // replaces: "http.scheme" (AttributeHttpScheme)
119121 public const string AttributeUserAgentOriginal = "user_agent.original" ; // replaces: "http.user_agent" (AttributeHttpUserAgent)
120- public const string AttributeHttpRequestMethodOriginal = "http.request.method_original" ;
121122}
0 commit comments