From b282ef8db4080f91e949717e7e607b36ef725140 Mon Sep 17 00:00:00 2001 From: Mayur Kale Date: Fri, 3 Jan 2020 14:08:18 -0800 Subject: [PATCH] feat: add pg-pool to default list of instrumented plugins --- packages/opentelemetry-node/src/config.ts | 1 + .../opentelemetry-plugin-pg-pool/package.json | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opentelemetry-node/src/config.ts b/packages/opentelemetry-node/src/config.ts index 0c52ee081d0..042c0c90eba 100644 --- a/packages/opentelemetry-node/src/config.ts +++ b/packages/opentelemetry-node/src/config.ts @@ -35,4 +35,5 @@ export const DEFAULT_INSTRUMENTATION_PLUGINS: Plugins = { pg: { enabled: true, path: '@opentelemetry/plugin-pg' }, redis: { enabled: true, path: '@opentelemetry/plugin-redis' }, ioredis: { enabled: true, path: '@opentelemetry/plugin-ioredis' }, + 'pg-pool': { enabled: true, path: '@opentelemetry/plugin-pg-pool' }, }; diff --git a/packages/opentelemetry-plugin-postgres/opentelemetry-plugin-pg-pool/package.json b/packages/opentelemetry-plugin-postgres/opentelemetry-plugin-pg-pool/package.json index 92e30ed3523..b3229601e04 100644 --- a/packages/opentelemetry-plugin-postgres/opentelemetry-plugin-pg-pool/package.json +++ b/packages/opentelemetry-plugin-postgres/opentelemetry-plugin-pg-pool/package.json @@ -2,7 +2,6 @@ "name": "@opentelemetry/plugin-pg-pool", "version": "0.3.2", "description": "OpenTelemetry postgres pool automatic instrumentation package.", - "private": true, "main": "build/src/index.js", "types": "build/src/index.d.ts", "repository": "open-telemetry/opentelemetry-js",