Documentation ¶
Index ¶
- Constants
- Variables
- func BuildExternalKey(keyValue *cache.ReusedKeyValue, pid string, containerId string, ...) string
- func BuildServerKey(keyValue *cache.ReusedKeyValue, pid string, containerId string, ...) string
- func GetClientPeer(attr pcommon.Map) string
- type DbParser
- type HttpParser
- type MqParser
- type Parser
- type RpcParser
Constants ¶
View Source
const ( AttributeHttpMethod = "http.method" // 1.x AttributeHttpRequestMethod = "http.request.method" // 2.x AttributeHttpUrl = "http.url" // 1.x AttributeUrlFull = "url.full" // 2.x )
View Source
const ( AttributeMessageDest = "messaging.destination" AttributeMessageDestName = "messaging.destination.name" )
View Source
const ( Unknown = "unknown" AttributeNetPeerName = "net.peer.name" // 1.x AttributeNetPeerPort = "net.peer.port" // 1.x AttributeServerAddress = "server.address" // 2.x AttributeServerPort = "server.port" // 2.x AttributeNetSockPeerAddr = "net.sock.peer.addr" // 1.x AttributeNetSockPeerPort = "net.sock.peer.port" // 1.x AttributeNetworkPeerAddress = "network.peer.address" // 2.x AttributeNetworkPeerPort = "network.peer.port" // 2.x )
Variables ¶
View Source
var ( NodeName = getNodeName() NodeIp = getNodeIp() )
Functions ¶
func BuildExternalKey ¶
func BuildExternalKey(keyValue *cache.ReusedKeyValue, pid string, containerId string, serviceName string, name string, peer string, system string, isError bool) string
buildExternalKey Http/Rpc Red指标
func BuildServerKey ¶
func GetClientPeer ¶
Types ¶
type HttpParser ¶
type HttpParser struct {
// contains filtered or unexported fields
}
func NewHttpParser ¶
func NewHttpParser(urlParser string) *HttpParser
Click to show internal directories.
Click to hide internal directories.