Skip to content

Commit

Permalink
Added opentelemetry auto instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ysavary committed Dec 5, 2022
1 parent c6a38fe commit 2311a30
Show file tree
Hide file tree
Showing 3 changed files with 476 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker-cmd.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env sh

uvicorn --proxy-headers --root-path "$ROOT_PATH" --host 0.0.0.0 --port "$PORT" winds_mobi_api.main:app
opentelemetry-instrument --traces_exporter otlp uvicorn --proxy-headers --root-path "$ROOT_PATH" --host 0.0.0.0 --port "$PORT" winds_mobi_api.main:app
Loading

0 comments on commit 2311a30

Please sign in to comment.