Skip to content

Commit a228abb

Browse files
committed
Fix copy paste
1 parent 5ec1057 commit a228abb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

instrumentation-api-incubator/src/main/java/io/opentelemetry/instrumentation/api/incubator/semconv/db/SqlClientAttributesGetter.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ default String getDbOperationName(REQUEST request) {
3535
}
3636

3737
/**
38-
* SqlClientAttributesExtractor will try to populate db.operation.name based on {@link
39-
* #getRawQueryTexts(REQUEST)}, but this can be used to explicitly provide the operation name.
38+
* SqlClientAttributesExtractor will try to populate db.query.text based on {@link
39+
* #getRawQueryTexts(REQUEST)}, but this can be used to explicitly provide the query text.
4040
*/
4141
@Override
4242
@Nullable
@@ -45,8 +45,8 @@ default String getDbQueryText(REQUEST request) {
4545
}
4646

4747
/**
48-
* SqlClientAttributesExtractor will try to populate db.operation.name based on {@link
49-
* #getRawQueryTexts(REQUEST)}, but this can be used to explicitly provide the operation name.
48+
* SqlClientAttributesExtractor will try to populate db.query.summary based on {@link
49+
* #getRawQueryTexts(REQUEST)}, but this can be used to explicitly provide the query summary.
5050
*/
5151
@Override
5252
@Nullable
@@ -55,7 +55,7 @@ default String getDbQuerySummary(REQUEST request) {
5555
}
5656

5757
/**
58-
* Get the raw SQL query texts. The values returned by this method is later sanitized by the
58+
* Get the raw SQL query texts. The values returned by this method are later sanitized by the
5959
* {@link SqlClientAttributesExtractor} before being set as span attribute.
6060
*
6161
* <p>If {@code request} is not a batch query, then this method should return a collection with a

0 commit comments

Comments
 (0)