Skip to content

Commit

Permalink
feat(api): try open telemetry
Browse files Browse the repository at this point in the history
Signed-off-by: OMPRAKASH MISHRA <[email protected]>
  • Loading branch information
mishraomp committed Jul 18, 2024
1 parent 3cc1dd9 commit 785bcaf
Show file tree
Hide file tree
Showing 3 changed files with 1,933 additions and 12 deletions.
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COPY ./src ./src
EXPOSE 3000

USER 1001

RUN export NODE_OPTIONS="--require @opentelemetry/auto-instrumentations-node/register"
# Start up command
HEALTHCHECK --interval=30s --timeout=3s CMD curl -f http://localhost/:3000
CMD ["--max-old-space-size=100", "src/server"]
Loading

0 comments on commit 785bcaf

Please sign in to comment.