8
8
- id : system
9
9
tag : connection-level
10
10
brief : An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers.
11
- required : always
11
+ requirement_level : required
12
12
type :
13
13
allow_custom_values : true
14
14
members :
@@ -175,8 +175,8 @@ groups:
175
175
- id : name
176
176
tag : call-level
177
177
type : string
178
- required :
179
- conditional : Required, if applicable.
178
+ requirement_level :
179
+ conditionally_required : If applicable.
180
180
brief : >
181
181
This attribute is used to report the name of the database being accessed.
182
182
For commands that switch the database, this should be set to the target database
@@ -190,18 +190,18 @@ groups:
190
190
- id : statement
191
191
tag : call-level
192
192
type : string
193
- required :
194
- conditional : >
195
- Required if applicable and not explicitly disabled via instrumentation configuration.
193
+ requirement_level :
194
+ conditionally_required : >
195
+ If applicable and not explicitly disabled via instrumentation configuration.
196
196
brief : >
197
197
The database statement being executed.
198
198
note : The value may be sanitized to exclude sensitive information.
199
199
examples : ['SELECT * FROM wuser_table', 'SET mykey "WuValue"']
200
200
- id : operation
201
201
tag : call-level
202
202
type : string
203
- required :
204
- conditional : Required, if `db.statement` is not applicable.
203
+ requirement_level :
204
+ conditionally_required : If `db.statement` is not applicable.
205
205
brief : >
206
206
The name of the operation being executed, e.g. the [MongoDB command name](https://docs.mongodb.com/manual/reference/command/#database-operations)
207
207
such as `findAndModify`, or the SQL keyword.
@@ -215,20 +215,20 @@ groups:
215
215
examples : ['findAndModify', 'HMSET', 'SELECT']
216
216
- ref : net.peer.name
217
217
tag : connection-level
218
- required :
219
- conditional : See below.
218
+ requirement_level :
219
+ conditionally_required : See alternative attributes below.
220
220
- ref : net.peer.ip
221
221
tag : connection-level
222
- required :
223
- conditional : See below.
222
+ requirement_level :
223
+ conditionally_required : See alternative attributes below.
224
224
- ref : net.peer.port
225
225
tag : connection-level
226
- required :
227
- conditional : Required if using a port other than the default port for this DBMS.
226
+ requirement_level :
227
+ conditionally_required : If using a port other than the default port for this DBMS.
228
228
- ref : net.transport
229
229
tag : connection-level
230
- required :
231
- conditional : Recommended in general, required for in-process databases (`"inproc"`).
230
+ requirement_level :
231
+ conditionally_required : If database type is in-process (`"inproc"`), recommended for other database types .
232
232
constraints :
233
233
- any_of :
234
234
- ' net.peer.name'
@@ -294,8 +294,7 @@ groups:
294
294
- id : table
295
295
type : string
296
296
tag : call-level-tech-specific-cassandra
297
- required :
298
- conditional : Recommended if available.
297
+ requirement_level : recommended
299
298
brief : The name of the primary table that the operation is acting upon, including the keyspace name (if applicable).
300
299
note : >
301
300
This mirrors the db.sql.table attribute but references cassandra rather than sql.
@@ -337,8 +336,8 @@ groups:
337
336
attributes :
338
337
- id : database_index
339
338
type : int
340
- required :
341
- conditional : Required, if other than the default database (`0`).
339
+ requirement_level :
340
+ conditionally_required : If other than the default database (`0`).
342
341
tag : call-level-tech-specific
343
342
brief : >
344
343
The index of the database being accessed as used in the [`SELECT` command](https://redis.io/commands/select), provided as an integer.
@@ -353,7 +352,7 @@ groups:
353
352
attributes :
354
353
- id : collection
355
354
type : string
356
- required : always
355
+ requirement_level : required
357
356
tag : call-level-tech-specific
358
357
brief : >
359
358
The collection being accessed within the database stated in `db.name`.
@@ -368,8 +367,7 @@ groups:
368
367
- id : table
369
368
tag : call-level-tech-specific
370
369
type : string
371
- required :
372
- conditional : Recommended if available.
370
+ requirement_level : recommended
373
371
brief : The name of the primary table that the operation is acting upon, including the database name (if applicable).
374
372
note : >
375
373
It is not recommended to attempt any client-side parsing of
0 commit comments