@@ -100,22 +100,23 @@ internal static class SemanticConventions
100
100
public const string AttributeErrorType = "error.type" ;
101
101
102
102
// v1.21.0
103
- // https://github.com/open-telemetry/semantic-conventions/blob/v1.21.0/docs/http/http-spans.md
104
103
// 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
106
108
public const string AttributeClientAddress = "client.address" ;
107
109
public const string AttributeClientPort = "client.port" ;
108
110
public const string AttributeHttpRequestMethod = "http.request.method" ; // replaces: "http.method" (AttributeHttpMethod)
111
+ public const string AttributeHttpRequestMethodOriginal = "http.request.method_original" ;
109
112
public const string AttributeHttpResponseStatusCode = "http.response.status_code" ; // replaces: "http.status_code" (AttributeHttpStatusCode)
110
113
public const string AttributeNetworkProtocolVersion = "network.protocol.version" ; // replaces: "http.flavor" (AttributeHttpFlavor)
111
114
public const string AttributeNetworkProtocolName = "network.protocol.name" ;
112
115
public const string AttributeServerAddress = "server.address" ; // replaces: "net.host.name" (AttributeNetHostName) and "net.peer.name" (AttributeNetPeerName)
113
116
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)
115
117
public const string AttributeUrlFull = "url.full" ; // replaces: "http.url" (AttributeHttpUrl)
116
118
public const string AttributeUrlPath = "url.path" ; // replaces: "http.target" (AttributeHttpTarget)
117
- public const string AttributeUrlScheme = "url.scheme" ; // replaces: "http.scheme" (AttributeHttpScheme)
118
119
public const string AttributeUrlQuery = "url.query" ;
120
+ public const string AttributeUrlScheme = "url.scheme" ; // replaces: "http.scheme" (AttributeHttpScheme)
119
121
public const string AttributeUserAgentOriginal = "user_agent.original" ; // replaces: "http.user_agent" (AttributeHttpUserAgent)
120
- public const string AttributeHttpRequestMethodOriginal = "http.request.method_original" ;
121
122
}
0 commit comments