@platformatic/telemetry 2.61.0 → 2.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,7 +22,6 @@ const {
22
22
  InMemorySpanExporter,
23
23
  } = require('@opentelemetry/sdk-trace-base')
24
24
 
25
- const { PgInstrumentation } = require('@opentelemetry/instrumentation-pg')
26
25
  const { HttpInstrumentation } = require('@opentelemetry/instrumentation-http')
27
26
  const {
28
27
  UndiciInstrumentation,
@@ -98,7 +97,6 @@ const setupNodeHTTPTelemetry = async (opts, serviceDir) => {
98
97
  }
99
98
  }),
100
99
  new HttpInstrumentation(),
101
- new PgInstrumentation(),
102
100
  ...additionalInstrumentations
103
101
  ],
104
102
  resource: new Resource({
@@ -5,7 +5,6 @@ const importOrLocal = require('./import-or-local')
5
5
  // These are already set automatically by the runtime, so we throw
6
6
  // if set again.
7
7
  const defaultInstrumentations = [
8
- '@opentelemetry/instrumentation-pg',
9
8
  '@opentelemetry/instrumentation-http',
10
9
  '@opentelemetry/instrumentation-undici'
11
10
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/telemetry",
3
- "version": "2.61.0",
3
+ "version": "2.62.0",
4
4
  "description": "OpenTelemetry integration for Platformatic",
5
5
  "main": "index.js",
6
6
  "author": "Platformatic Inc. <oss@platformatic.dev> (https://platformatic.dev)",
@@ -12,6 +12,8 @@
12
12
  "devDependencies": {
13
13
  "@databases/pg": "^5.5.0",
14
14
  "@opentelemetry/instrumentation-express": "^0.47.0",
15
+ "@opentelemetry/instrumentation-pg": "^0.50.0",
16
+ "@fastify/swagger": "^9.0.0",
15
17
  "borp": "^0.19.0",
16
18
  "express": "^4.19.2",
17
19
  "fastify": "^5.0.0",
@@ -20,14 +22,12 @@
20
22
  "typescript": "^5.5.4"
21
23
  },
22
24
  "dependencies": {
23
- "@fastify/swagger": "^9.0.0",
24
25
  "@opentelemetry/api": "^1.8.0",
25
26
  "@opentelemetry/core": "^1.22.0",
26
27
  "@opentelemetry/exporter-trace-otlp-proto": "^0.57.0",
27
28
  "@opentelemetry/exporter-zipkin": "^1.22.0",
28
29
  "@opentelemetry/instrumentation": "^0.57.0",
29
30
  "@opentelemetry/instrumentation-http": "^0.56.0",
30
- "@opentelemetry/instrumentation-pg": "^0.50.0",
31
31
  "@opentelemetry/instrumentation-undici": "^0.10.0",
32
32
  "@opentelemetry/resources": "^1.22.0",
33
33
  "@opentelemetry/sdk-node": "^0.57.0",
@@ -36,7 +36,7 @@
36
36
  "abstract-logging": "^2.0.1",
37
37
  "fast-uri": "^3.0.0",
38
38
  "fastify-plugin": "^5.0.0",
39
- "@platformatic/config": "2.61.0"
39
+ "@platformatic/config": "2.62.0"
40
40
  },
41
41
  "scripts": {
42
42
  "test": "npm run lint && borp --timeout=120000 --concurrency=1",