-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instrument the sample application using CWOperator. (#44)
This PR Instrument the sample application using CWOperator by setting up following: 1. annotation: instrumentation.opentelemetry.io/inject-python: "true" 2. run the server with `--noreload` 3. Add `DJANGO_SETTINGS_MODULE` env variable. 4. Add `PYTHONPATH` env variable, this is required as CWOperator instrumentation when application is mount in a specific directory instead of root. 5. Add `OTEL_TRACES_SAMPLER`, this will be removed when Xray remote sampler is ready. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
- Loading branch information
Showing
3 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters