File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
instrumentation-api-incubator/src/main/java/io/opentelemetry/instrumentation/api/incubator/semconv/db Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments