Skip to content

Commit a0a704f

Browse files
committed
feat: fix test
1 parent a550784 commit a0a704f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/inst-api-semconv/instrumenter/db/db_client_extractor.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ func (d *DbClientAttrsExtractor[REQUEST, RESPONSE, GETTER]) OnStart(attrs []attr
4444
attrs = d.Base.OnStart(attrs, parentContext, request)
4545
attrs = append(attrs, attribute.KeyValue{
4646
Key: semconv.DBStatementKey,
47-
Value: attribute.StringValue(d.Base.getter.GetStatement(request)),
47+
Value: attribute.StringValue(d.Base.Getter.GetStatement(request)),
4848
}, attribute.KeyValue{
4949
Key: semconv.DBOperationKey,
50-
Value: attribute.StringValue(d.Base.getter.GetOperation(request)),
50+
Value: attribute.StringValue(d.Base.Getter.GetOperation(request)),
5151
})
5252
return attrs
5353
}
@@ -61,4 +61,4 @@ func (d *DbClientAttrsExtractor[REQUEST, RESPONSE, GETTER]) GetSpanKey() attribu
6161
}
6262

6363
// TODO: sanitize sql
64-
// TODO: request size & response size
64+
// TODO: request size & response size

0 commit comments

Comments
 (0)