Update `@opentelemetry/api`, remove `@opentelemetry/api-metrics`
unflxw opened this issue · 8 comments
On npm i @appsignal/nodejs
:
npm WARN deprecated @opentelemetry/api-metrics@0.33.0: Please use @opentelemetry/api >= 1.3.0
We should update our dependencies.
✔️ All good!
I think this is because of our local overrides. Package @opentelemetry/instrumentation
version 0.34.0 doesn't have this dependency anymore. Can we remove the override @unflxw ?
Probably! If the tests pass without it then we're good.
It's not the overrides' fault (though I'll submit a PR to remove them anyway)
Prisma instrumentation has not updated its dependencies on @opentelemetry/instrumentation
and @opentelemetry/api
for a while -- the first one brings in the deprecated @opentelemetry/api-metrics
.
Submitted a PR to Prisma: prisma/prisma#17198
Prisma PR and our PR merged. Closing.
@tombruijn Should we keep this open until there's a Prisma release and we can upgrade to it?