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-pg/README.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,8 @@ PostgreSQL instrumentation has few options available to choose from. You can set
48
48
| ------- | ---- | ----------- |
49
49
|[`enhancedDatabaseReporting`](./src/types.ts#L30)|`boolean`| If true, additional information about query parameters and results will be attached (as `attributes`) to spans representing database operations |
50
50
|`responseHook`|`PgInstrumentationExecutionResponseHook` (function) | Function for adding custom attributes from db response |
51
+
|`requireParentSpan`|`boolean`| If true, requires a parent span to create new spans (default false) |
52
+
|`addSqlCommenterCommentToQueries`|`boolean`| If true, adds [sqlcommenter](https://github.com/open-telemetry/opentelemetry-sqlcommenter) specification compliant comment to queries with tracing context (default false). _NOTE: A comment will not be added to queries that already contain `--` or `/* ... */` in them, even if these are not actually part of comments_|
0 commit comments