-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
71fead7
commit ee9b29e
Showing
2 changed files
with
20 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Configuring OTLP traces exporter for Uptrace | ||
|
||
This example shows how to configure | ||
[OTLP](https://opentelemetry-python.readthedocs.io/en/latest/exporter/otlp/otlp.html) to export | ||
traces to Uptrace using HTTP transport. | ||
|
||
Install dependencies: | ||
|
||
```shell | ||
pip install -r requirements.txt | ||
``` | ||
|
||
To run this example, you need to | ||
[create an Uptrace project](https://uptrace.dev/get/get-started.html) and pass your project DSN via | ||
`UPTRACE_DSN` env variable: | ||
|
||
```go | ||
UPTRACE_DSN=https://<token>@api.uptrace.dev/<project_id> ./main.py | ||
``` |
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