@saidsef/tracing-node 3.2.5 → 3.3.2

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.
@@ -34,4 +34,4 @@ spec:
34
34
  gitRepo:
35
35
  directory: "."
36
36
  repository: "https://github.com/saidsef/tracing-node.git"
37
- revision: "redis-connect"
37
+ revision: "fastapi"
package/libs/index.mjs CHANGED
@@ -28,7 +28,7 @@ import {HttpInstrumentation} from '@opentelemetry/instrumentation-http';
28
28
  import {NodeTracerProvider} from '@opentelemetry/sdk-trace-node';
29
29
  import {OTLPTraceExporter} from '@opentelemetry/exporter-trace-otlp-grpc';
30
30
  import {PinoInstrumentation} from '@opentelemetry/instrumentation-pino';
31
- import {RedisInstrumentation} from '@opentelemetry/instrumentation-redis';
31
+ import {IORedisInstrumentation} from '@opentelemetry/instrumentation-ioredis';
32
32
  import {registerInstrumentations} from '@opentelemetry/instrumentation';
33
33
  import {defaultServiceName} from '@opentelemetry/resources';
34
34
  import {SemanticResourceAttributes} from '@opentelemetry/semantic-conventions';
@@ -121,7 +121,7 @@ export function setupTracing(options = {}) {
121
121
  new ConnectInstrumentation(),
122
122
  new AwsInstrumentation({ sqsExtractContextPropagationFromPayload: true, }),
123
123
  new DnsInstrumentation(),
124
- new RedisInstrumentation(),
124
+ new IORedisInstrumentation(),
125
125
  ],
126
126
  });
127
127
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saidsef/tracing-node",
3
- "version": "3.2.5",
3
+ "version": "3.3.2",
4
4
  "description": "tracing NodeJS - This is a wrapper for OpenTelemetry instrumentation packages",
5
5
  "main": "libs/index.mjs",
6
6
  "scripts": {
@@ -37,9 +37,10 @@
37
37
  "@opentelemetry/instrumentation-connect": "^0.44.0",
38
38
  "@opentelemetry/instrumentation-dns": "^0.44.0",
39
39
  "@opentelemetry/instrumentation-express": "^0.48.0",
40
+ "@opentelemetry/instrumentation-fastify": "^0.45.0",
40
41
  "@opentelemetry/instrumentation-http": "^0.200.0",
42
+ "@opentelemetry/instrumentation-ioredis": "^0.48.0",
41
43
  "@opentelemetry/instrumentation-pino": "^0.47.0",
42
- "@opentelemetry/instrumentation-redis": "^0.47.0",
43
44
  "@opentelemetry/propagator-b3": "^1.28.0",
44
45
  "@opentelemetry/resources": "^2.0.0",
45
46
  "@opentelemetry/sdk-trace-base": "^2.0.0",