@merkl/api 0.10.148 → 0.10.150

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.
@@ -10,6 +10,7 @@ import { TokenController } from "./token";
10
10
  import { ErrorHandler } from "../../plugins/error-handling.plugin";
11
11
  import bigintToString from "../../utils/bigintToString";
12
12
  import { opentelemetry } from "@elysiajs/opentelemetry";
13
+ import { getNodeAutoInstrumentations } from "@opentelemetry/auto-instrumentations-node";
13
14
  import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";
14
15
  import { BatchSpanProcessor } from "@opentelemetry/sdk-trace-node";
15
16
  import { PrismaInstrumentation } from "@prisma/instrumentation";
@@ -32,7 +33,7 @@ export const v4 = new Elysia({ tags: ["v4"], prefix: "/v4" })
32
33
  },
33
34
  })),
34
35
  ],
35
- instrumentations: [new PrismaInstrumentation()],
36
+ instrumentations: [new PrismaInstrumentation(), getNodeAutoInstrumentations()],
36
37
  })
37
38
  : new Elysia() // not optimal
38
39
  )