Skip to content

Commit

Permalink
Integrate datadog to pusher for traces and logs
Browse files Browse the repository at this point in the history
  • Loading branch information
thainguyensunya committed Nov 13, 2024
1 parent a89fe5e commit ed27fcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/pusher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ ENV PATH="/opt/venv/bin:$PATH"
RUN apt-get update && apt-get -y install ffmpeg curl unzip && rm -rf /var/lib/apt/lists/*

COPY --from=builder /opt/venv /opt/venv
COPY --from=gcr.io/datadoghq/serverless-init:1 /datadog-init /app/datadog-init
COPY backend/ .

EXPOSE 8080
CMD ["uvicorn", "pusher.main:app", "--host", "0.0.0.0", "--port", "8080"]
ENTRYPOINT ["/app/datadog-init"]
CMD ["ddtrace-run", "uvicorn", "pusher.main:app", "--host", "0.0.0.0", "--port", "8080"]
1 change: 1 addition & 0 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ croniter==1.4.1
cryptography==43.0.0
cycler==0.12.1
dataclasses-json==0.6.7
ddtrace==2.16.0
decorator==5.1.1
deepgram-sdk==3.4.0
deprecation==2.1.0
Expand Down

0 comments on commit ed27fcb

Please sign in to comment.