You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/node/opentelemetry-instrumentation-mongodb/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ Mongodb instrumentation has few options available to choose from. You can set th
54
54
|[`enhancedDatabaseReporting`](./src/types.ts#L32)|`string`| If true, additional information about query parameters and results will be attached (as `attributes`) to spans representing database operations |
55
55
|`responseHook`|`MongoDBInstrumentationExecutionResponseHook` (function) | Function for adding custom attributes from db response |
56
56
|`dbStatementSerializer`|`DbStatementSerializer` (function) | Custom serializer function for the db.statement tag |
57
+
|`requireParentSpan`|`boolean`| Require a parent span in order to create mongodb spans, default when unset is `true`|
0 commit comments