feat: adds opentelemetry support

This commit is contained in:
tdurieux
2024-03-27 11:17:56 +00:00
parent 803720e2ea
commit 0caf786c9c
24 changed files with 4522 additions and 1187 deletions
+2 -3
View File
@@ -11,7 +11,6 @@ COPY package.json .
COPY package-lock.json .
COPY tsconfig.json .
COPY ecosystem.config.js .
COPY healthcheck.js .
COPY src ./src
@@ -20,6 +19,6 @@ COPY index.ts .
COPY config.ts .
RUN npm install && npm run build && npm cache clean --force
COPY opentelemetry.js .
CMD [ "pm2-runtime", "ecosystem.config.js"]
CMD [ "node", "--require", "./opentelemetry.js", "./build/index.js"]