@@ -198,9 +198,9 @@ specific; a driver decides what best describes the error.
198
198
199
199
##### db.query.text
200
200
201
- This attribute contains the full database command executed serialized to extended JSON. If not truncated, the content of this
202
- attribute SHOULD be equivalent to the ` document ` field of the CommandStartedEvent of the command monitoring excluding
203
- the following fields: ` lsid ` , ` $db ` , ` $clusterTime ` , ` signature ` .
201
+ This attribute contains the full database command executed serialized to extended JSON. If not truncated, the content of
202
+ this attribute SHOULD be equivalent to the ` document ` field of the CommandStartedEvent of the command monitoring
203
+ excluding the following fields: ` lsid ` , ` $db ` , ` $clusterTime ` , ` signature ` .
204
204
205
205
Drivers MUST NOT add this attribute by default. Drivers MUST provide a toggle to enable this attribute. This
206
206
configuration can be implemented with an environment variable
@@ -233,7 +233,38 @@ of drivers for our internal teams, and improve our documentation around troubles
233
233
234
234
## Test Plan
235
235
236
- TODO
236
+ See [ OpenTelemetry Tests] ( tests/README.md ) for the test plan.
237
+
238
+ ## Covered operations
239
+
240
+ The OpenTelemetry specification covers the following operations:
241
+
242
+ | Operation | Test |
243
+ | :----------------------- | :----------------------------------------------------------------------------------- |
244
+ | ` aggregate ` | [ tests/transaction/aggregate.yml] ( tests/operation/aggregate.yml ) |
245
+ | ` findAndModify ` | [ tests/transaction/find_one_and_update.yml] ( tests/operation/find_one_and_update.yml ) |
246
+ | ` bulkWrite ` | [ tests/transaction/bulk_write.yml] ( tests/operation/bulk_write.yml ) |
247
+ | ` commitTransaction ` | [ tests/transaction/transaction.yml] ( tests/transaction/transaction.yml ) |
248
+ | ` abortTransaction ` | [ tests/transaction/transaction.yml] ( tests/transaction/transaction.yml ) |
249
+ | ` createCollection ` | [ tests/transaction/create_collection.yml] ( tests/operation/create_collection.yml ) |
250
+ | ` createIndexes ` | [ tests/transaction/create_indexes.yml] ( tests/operation/create_indexes.yml ) |
251
+ | ` createView ` | [ tests/transaction/create_view.yml] ( tests/operation/create_view.yml ) |
252
+ | ` distinct ` | [ tests/transaction/distinct.yml] ( tests/operation/distinct.yml ) |
253
+ | ` dropCollection ` | [ tests/transaction/drop_collection.yml] ( tests/operation/drop_collection.yml ) |
254
+ | ` dropIndexes ` | [ tests/transaction/drop_indexes.yml] ( tests/operation/drop_indexes.yml ) |
255
+ | ` find ` | [ tests/transaction/find.yml] ( tests/operation/find.yml ) |
256
+ | ` listCollections ` | [ tests/transaction/list_collections.yml] ( tests/operation/list_collections.yml ) |
257
+ | ` listDatabases ` | [ tests/transaction/list_databases.yml] ( tests/operation/list_databases.yml ) |
258
+ | ` listIndexes ` | [ tests/transaction/list_indexes.yml] ( tests/operation/list_indexes.yml ) |
259
+ | ` mapReduce ` | [ tests/transaction/map_reduce.yml] ( tests/operation/map_reduce.yml ) |
260
+ | ` estimatedDocumentCount ` | [ tests/transaction/count.yml] ( tests/operation/count.yml ) |
261
+ | ` insert ` | [ tests/transaction/insert.yml] ( tests/operation/insert.yml ) |
262
+ | ` delete ` | [ tests/transaction/delete.yml] ( tests/operation/delete.yml ) |
263
+ | ` update ` | [ tests/transaction/update.yml] ( tests/operation/update.yml ) |
264
+ | ` createSearchIndexes ` | [ tests/transaction/atlas_search.yml] ( tests/operation/atlas_search.yml ) |
265
+ | ` dropSearchIndex ` | [ tests/transaction/atlas_search.yml] ( tests/operation/atlas_search.yml ) |
266
+ | ` updateSearchIndex ` | [ tests/transaction/delete.yml] ( tests/operation/delete.yml ) |
267
+ | ` delete ` | [ tests/transaction/atlas_search.yml] ( tests/operation/atlas_search.yml ) |
237
268
238
269
## Backwards Compatibility
239
270
0 commit comments