Skip to content

Commit

Permalink
Merge pull request #22 from winds-mobi/feature/opentelemetry
Browse files Browse the repository at this point in the history
Added opentelemetry auto instrumentation
  • Loading branch information
ysavary authored Dec 5, 2022
2 parents c6a38fe + 2311a30 commit 84ad377
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 84ad377

Please sign in to comment.