From 021b2ad0259504adcddd3e55cdd9105a84615036 Mon Sep 17 00:00:00 2001 From: Jared Tan Date: Tue, 3 Jan 2023 13:03:11 +0800 Subject: [PATCH] polish service graph attributes Signed-off-by: Jared Tan --- processor/servicegraphprocessor/internal/store/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processor/servicegraphprocessor/internal/store/store.go b/processor/servicegraphprocessor/internal/store/store.go index 1e34b7f599154..6170319402859 100644 --- a/processor/servicegraphprocessor/internal/store/store.go +++ b/processor/servicegraphprocessor/internal/store/store.go @@ -27,7 +27,7 @@ import ( var ( ErrTooManyItems = errors.New("too many items") // NeedToFindAttributes the list of attributes need to matches, the higher the front, the higher the priority. - NeedToFindAttributes = []string{semconv.AttributeNetSockHostAddr, semconv.AttributeRPCService, semconv.AttributeHTTPURL, semconv.AttributeHTTPTarget, semconv.AttributeNetPeerName, semconv.AttributeNetHostName} + NeedToFindAttributes = []string{semconv.AttributeNetSockPeerAddr, semconv.AttributeNetPeerName, semconv.AttributeRPCService, semconv.AttributeHTTPURL, semconv.AttributeHTTPTarget} ) type Callback func(e *Edge)