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
feat(opentelemetry-plugin-pg): omit pg.values by default (#174)
* refactor(opentelemetry-plugin-pg): fix eslint warnings
* refactor(opentelemetry-plugin-pg): do not intersect types all the time
* refactor(opentelemetry-plugin-pg): rename interface to reduce confusion
* refactor(opentelemetry-plugin-pg): clarify method signatures
* feat(opentelemetry-plugin-pg): do not track values by default
Copy file name to clipboardExpand all lines: plugins/node/opentelemetry-plugin-pg/README.md
+8
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,14 @@ const provider = new NodeTracerProvider({
65
65
66
66
See [examples/postgres](https://github.com/open-telemetry/opentelemetry-js/tree/master/examples/postgres) for a short example.
67
67
68
+
### PostgreSQL Plugin Options
69
+
70
+
PostgreSQL plugin has few options available to choose from. You can set the following:
71
+
72
+
| Options | Type | Description |
73
+
| ------- | ---- | ----------- |
74
+
|[`enhancedDatabaseReporting`](https://github.com/open-telemetry/opentelemetry-js/blob/master/packages/opentelemetry-api/src/trace/instrumentation/Plugin.ts#L90)|`boolean`| If true, additional information about query parameters and results will be attached (as `attributes`) to spans representing database operations |
0 commit comments