File tree Expand file tree Collapse file tree 11 files changed +55
-22
lines changed Expand file tree Collapse file tree 11 files changed +55
-22
lines changed Original file line number Diff line number Diff line change @@ -131,15 +131,18 @@ then `<key>` SHOULD be the 0-based index.
131131` db.query.parameter.<key> ` SHOULD match
132132up with the parameterized placeholders present in ` db.query.text ` .
133133
134+ It is RECOMMENDED to capture the value as provided by the application
135+ without attempting to do any case normalization.
136+
134137` db.query.parameter.<key> ` SHOULD NOT be captured on batch operations.
135138
136139Examples:
137140
138141- For a query ` SELECT * FROM users where username = %s ` with the parameter ` "jdoe" ` ,
139142 the attribute ` db.query.parameter.0 ` SHOULD be set to ` "jdoe" ` .
140143
141- - For a query ` "SELECT * FROM users WHERE username = %(username )s; ` with parameter
142- ` username = "jdoe"` , the attribute ` db.query.parameter.username ` SHOULD be set to ` "jdoe" ` .
144+ - For a query ` "SELECT * FROM users WHERE username = %(userName )s; ` with parameter
145+ ` userName = "jdoe"` , the attribute ` db.query.parameter.userName ` SHOULD be set to ` "jdoe" ` .
143146
144147The following attributes can be important for making sampling decisions
145148and SHOULD be provided ** at span creation time** (if provided at all):
Original file line number Diff line number Diff line change @@ -235,15 +235,18 @@ then `<key>` SHOULD be the 0-based index.
235235` db.query.parameter.<key> ` SHOULD match
236236up with the parameterized placeholders present in ` db.query.text ` .
237237
238+ It is RECOMMENDED to capture the value as provided by the application
239+ without attempting to do any case normalization.
240+
238241` db.query.parameter.<key> ` SHOULD NOT be captured on batch operations.
239242
240243Examples:
241244
242245- For a query ` SELECT * FROM users where username = %s ` with the parameter ` "jdoe" ` ,
243246 the attribute ` db.query.parameter.0 ` SHOULD be set to ` "jdoe" ` .
244247
245- - For a query ` "SELECT * FROM users WHERE username = %(username )s; ` with parameter
246- ` username = "jdoe"` , the attribute ` db.query.parameter.username ` SHOULD be set to ` "jdoe" ` .
248+ - For a query ` "SELECT * FROM users WHERE username = %(userName )s; ` with parameter
249+ ` userName = "jdoe"` , the attribute ` db.query.parameter.userName ` SHOULD be set to ` "jdoe" ` .
247250
248251The following attributes can be important for making sampling decisions
249252and SHOULD be provided ** at span creation time** (if provided at all):
Original file line number Diff line number Diff line change @@ -218,15 +218,18 @@ then `<key>` SHOULD be the 0-based index.
218218` db.query.parameter.<key> ` SHOULD match
219219up with the parameterized placeholders present in ` db.query.text ` .
220220
221+ It is RECOMMENDED to capture the value as provided by the application
222+ without attempting to do any case normalization.
223+
221224` db.query.parameter.<key> ` SHOULD NOT be captured on batch operations.
222225
223226Examples:
224227
225228- For a query ` SELECT * FROM users where username = %s ` with the parameter ` "jdoe" ` ,
226229 the attribute ` db.query.parameter.0 ` SHOULD be set to ` "jdoe" ` .
227230
228- - For a query ` "SELECT * FROM users WHERE username = %(username )s; ` with parameter
229- ` username = "jdoe"` , the attribute ` db.query.parameter.username ` SHOULD be set to ` "jdoe" ` .
231+ - For a query ` "SELECT * FROM users WHERE username = %(userName )s; ` with parameter
232+ ` userName = "jdoe"` , the attribute ` db.query.parameter.userName ` SHOULD be set to ` "jdoe" ` .
230233
231234The following attributes can be important for making sampling decisions
232235and SHOULD be provided ** at span creation time** (if provided at all):
Original file line number Diff line number Diff line change @@ -115,15 +115,18 @@ then `<key>` SHOULD be the 0-based index.
115115` db.query.parameter.<key> ` SHOULD match
116116up with the parameterized placeholders present in ` db.query.text ` .
117117
118+ It is RECOMMENDED to capture the value as provided by the application
119+ without attempting to do any case normalization.
120+
118121` db.query.parameter.<key> ` SHOULD NOT be captured on batch operations.
119122
120123Examples:
121124
122125- For a query ` SELECT * FROM users where username = %s ` with the parameter ` "jdoe" ` ,
123126 the attribute ` db.query.parameter.0 ` SHOULD be set to ` "jdoe" ` .
124127
125- - For a query ` "SELECT * FROM users WHERE username = %(username )s; ` with parameter
126- ` username = "jdoe"` , the attribute ` db.query.parameter.username ` SHOULD be set to ` "jdoe" ` .
128+ - For a query ` "SELECT * FROM users WHERE username = %(userName )s; ` with parameter
129+ ` userName = "jdoe"` , the attribute ` db.query.parameter.userName ` SHOULD be set to ` "jdoe" ` .
127130
128131The following attributes can be important for making sampling decisions
129132and SHOULD be provided ** at span creation time** (if provided at all):
Original file line number Diff line number Diff line change @@ -115,15 +115,18 @@ then `<key>` SHOULD be the 0-based index.
115115` db.query.parameter.<key> ` SHOULD match
116116up with the parameterized placeholders present in ` db.query.text ` .
117117
118+ It is RECOMMENDED to capture the value as provided by the application
119+ without attempting to do any case normalization.
120+
118121` db.query.parameter.<key> ` SHOULD NOT be captured on batch operations.
119122
120123Examples:
121124
122125- For a query ` SELECT * FROM users where username = %s ` with the parameter ` "jdoe" ` ,
123126 the attribute ` db.query.parameter.0 ` SHOULD be set to ` "jdoe" ` .
124127
125- - For a query ` "SELECT * FROM users WHERE username = %(username )s; ` with parameter
126- ` username = "jdoe"` , the attribute ` db.query.parameter.username ` SHOULD be set to ` "jdoe" ` .
128+ - For a query ` "SELECT * FROM users WHERE username = %(userName )s; ` with parameter
129+ ` userName = "jdoe"` , the attribute ` db.query.parameter.userName ` SHOULD be set to ` "jdoe" ` .
127130
128131The following attributes can be important for making sampling decisions
129132and SHOULD be provided ** at span creation time** (if provided at all):
Original file line number Diff line number Diff line change @@ -111,15 +111,18 @@ then `<key>` SHOULD be the 0-based index.
111111` db.query.parameter.<key> ` SHOULD match
112112up with the parameterized placeholders present in ` db.query.text ` .
113113
114+ It is RECOMMENDED to capture the value as provided by the application
115+ without attempting to do any case normalization.
116+
114117` db.query.parameter.<key> ` SHOULD NOT be captured on batch operations.
115118
116119Examples:
117120
118121- For a query ` SELECT * FROM users where username = %s ` with the parameter ` "jdoe" ` ,
119122 the attribute ` db.query.parameter.0 ` SHOULD be set to ` "jdoe" ` .
120123
121- - For a query ` "SELECT * FROM users WHERE username = %(username )s; ` with parameter
122- ` username = "jdoe"` , the attribute ` db.query.parameter.username ` SHOULD be set to ` "jdoe" ` .
124+ - For a query ` "SELECT * FROM users WHERE username = %(userName )s; ` with parameter
125+ ` userName = "jdoe"` , the attribute ` db.query.parameter.userName ` SHOULD be set to ` "jdoe" ` .
123126
124127The following attributes can be important for making sampling decisions
125128and SHOULD be provided ** at span creation time** (if provided at all):
Original file line number Diff line number Diff line change @@ -123,15 +123,18 @@ then `<key>` SHOULD be the 0-based index.
123123` db.query.parameter.<key> ` SHOULD match
124124up with the parameterized placeholders present in ` db.query.text ` .
125125
126+ It is RECOMMENDED to capture the value as provided by the application
127+ without attempting to do any case normalization.
128+
126129` db.query.parameter.<key> ` SHOULD NOT be captured on batch operations.
127130
128131Examples:
129132
130133- For a query ` SELECT * FROM users where username = %s ` with the parameter ` "jdoe" ` ,
131134 the attribute ` db.query.parameter.0 ` SHOULD be set to ` "jdoe" ` .
132135
133- - For a query ` "SELECT * FROM users WHERE username = %(username )s; ` with parameter
134- ` username = "jdoe"` , the attribute ` db.query.parameter.username ` SHOULD be set to ` "jdoe" ` .
136+ - For a query ` "SELECT * FROM users WHERE username = %(userName )s; ` with parameter
137+ ` userName = "jdoe"` , the attribute ` db.query.parameter.userName ` SHOULD be set to ` "jdoe" ` .
135138
136139The following attributes can be important for making sampling decisions
137140and SHOULD be provided ** at span creation time** (if provided at all):
Original file line number Diff line number Diff line change @@ -122,15 +122,18 @@ then `<key>` SHOULD be the 0-based index.
122122` db.query.parameter.<key> ` SHOULD match
123123up with the parameterized placeholders present in ` db.query.text ` .
124124
125+ It is RECOMMENDED to capture the value as provided by the application
126+ without attempting to do any case normalization.
127+
125128` db.query.parameter.<key> ` SHOULD NOT be captured on batch operations.
126129
127130Examples:
128131
129132- For a query ` SELECT * FROM users where username = %s ` with the parameter ` "jdoe" ` ,
130133 the attribute ` db.query.parameter.0 ` SHOULD be set to ` "jdoe" ` .
131134
132- - For a query ` "SELECT * FROM users WHERE username = %(username )s; ` with parameter
133- ` username = "jdoe"` , the attribute ` db.query.parameter.username ` SHOULD be set to ` "jdoe" ` .
135+ - For a query ` "SELECT * FROM users WHERE username = %(userName )s; ` with parameter
136+ ` userName = "jdoe"` , the attribute ` db.query.parameter.userName ` SHOULD be set to ` "jdoe" ` .
134137
135138The following attributes can be important for making sampling decisions
136139and SHOULD be provided ** at span creation time** (if provided at all):
Original file line number Diff line number Diff line change @@ -172,15 +172,18 @@ then `<key>` SHOULD be the 0-based index.
172172` db.query.parameter.<key> ` SHOULD match
173173up with the parameterized placeholders present in ` db.query.text ` .
174174
175+ It is RECOMMENDED to capture the value as provided by the application
176+ without attempting to do any case normalization.
177+
175178` db.query.parameter.<key> ` SHOULD NOT be captured on batch operations.
176179
177180Examples:
178181
179182- For a query ` SELECT * FROM users where username = %s ` with the parameter ` "jdoe" ` ,
180183 the attribute ` db.query.parameter.0 ` SHOULD be set to ` "jdoe" ` .
181184
182- - For a query ` "SELECT * FROM users WHERE username = %(username )s; ` with parameter
183- ` username = "jdoe"` , the attribute ` db.query.parameter.username ` SHOULD be set to ` "jdoe" ` .
185+ - For a query ` "SELECT * FROM users WHERE username = %(userName )s; ` with parameter
186+ ` userName = "jdoe"` , the attribute ` db.query.parameter.userName ` SHOULD be set to ` "jdoe" ` .
184187
185188The following attributes can be important for making sampling decisions
186189and SHOULD be provided ** at span creation time** (if provided at all):
Original file line number Diff line number Diff line change @@ -71,15 +71,18 @@ then `<key>` SHOULD be the 0-based index.
7171` db.query.parameter.<key> ` SHOULD match
7272up with the parameterized placeholders present in ` db.query.text ` .
7373
74+ It is RECOMMENDED to capture the value as provided by the application
75+ without attempting to do any case normalization.
76+
7477` db.query.parameter.<key> ` SHOULD NOT be captured on batch operations.
7578
7679Examples:
7780
7881- For a query ` SELECT * FROM users where username = %s ` with the parameter ` "jdoe" ` ,
7982 the attribute ` db.query.parameter.0 ` SHOULD be set to ` "jdoe" ` .
8083
81- - For a query ` "SELECT * FROM users WHERE username = %(username )s; ` with parameter
82- ` username = "jdoe"` , the attribute ` db.query.parameter.username ` SHOULD be set to ` "jdoe" ` .
84+ - For a query ` "SELECT * FROM users WHERE username = %(userName )s; ` with parameter
85+ ` userName = "jdoe"` , the attribute ` db.query.parameter.userName ` SHOULD be set to ` "jdoe" ` .
8386
8487** [ 7] ` db.query.summary ` :** The query summary describes a class of database queries and is useful
8588as a grouping key, especially when analyzing telemetry for database
You can’t perform that action at this time.
0 commit comments