Skip to content

Commit 098b902

Browse files
authored
fix: support net.sock.peer.addr attribute for peer address parsing (#11800)
1 parent 858f151 commit 098b902

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/ingester/flow_log/log_data/otel_import.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ func (h *L7FlowLog) fillAttributes(spanAttributes, resAttributes []*v11.KeyValue
211211
h.Protocol = uint8(layers.IPProtocolUDP)
212212
}
213213
// https://github.com/open-telemetry/opentelemetry-go/blob/db7fd1bb51ce6ed1171cac15eeecb6871dbbb80a/semconv/internal/http.go#L79
214-
case "net.peer.ip", "network.peer.address":
214+
case "net.peer.ip", "network.peer.address", "net.sock.peer.addr":
215215
if hasPeerAddress {
216216
continue
217217
}

0 commit comments

Comments
 (0)