Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed Apr 8, 2024
1 parent 71fead7 commit ee9b29e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions example/otlp-traces-http/README.md
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
```
2 changes: 1 addition & 1 deletion example/otlp-traces/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This example shows how to configure
[OTLP](https://opentelemetry-python.readthedocs.io/en/latest/exporter/otlp/otlp.html) to export
traces to Uptrace.
traces to Uptrace using gRPC transport.

Install dependencies:

Expand Down

0 comments on commit ee9b29e

Please sign in to comment.