We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cefe1a4 + fb84ca1 commit b600ee0Copy full SHA for b600ee0
query.go
@@ -634,6 +634,7 @@ func (c *Client) Do(ctx context.Context, q Query) (err error) {
634
semconv.DBStatementKey.String(q.Body),
635
semconv.DBUserKey.String(c.info.User),
636
semconv.DBNameKey.String(c.info.Database),
637
+ semconv.NetPeerIPKey.String(c.conn.RemoteAddr().String()),
638
otelch.ProtocolVersion(c.protocolVersion),
639
otelch.QuotaKey(q.QuotaKey),
640
otelch.QueryID(q.QueryID),
0 commit comments