2023-10-23 14:17:25 +00:00
|
|
|
# Open Telemetry .NET Example
|
|
|
|
|
|
|
|
### Run the project.
|
|
|
|
|
|
|
|
Please use
|
|
|
|
|
|
|
|
```bash
|
2024-02-19 10:55:14 +00:00
|
|
|
export OTEL_EXPORTER_OTLP_HEADERS="x-oneuptime-service-token=51d01130-cf14-11ee-a74d-1364f8ef0ac6" && export OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost" && dotnet run --urls=http://localhost:7856/
|
2023-12-30 14:07:30 +00:00
|
|
|
```
|
|
|
|
|
2023-12-31 15:09:29 +00:00
|
|
|
### Run on test server
|
|
|
|
|
|
|
|
```bash
|
2024-02-15 13:45:13 +00:00
|
|
|
export OTEL_EXPORTER_OTLP_HEADERS="x-oneuptime-service-token=3be58190-c7ec-11ee-8e5e-3952f961cde5" && export OTEL_EXPORTER_OTLP_ENDPOINT="https://test-otlp.oneuptime.com" && dotnet run --urls=http://localhost:7856/
|
2023-12-31 15:09:29 +00:00
|
|
|
```
|
|
|
|
|