oneuptime/Examples/otel-dotnet
2024-04-14 23:00:18 +00:00
..
bin/Debug/net6.0 Comment out OTLP exporter configuration 2023-12-31 15:11:37 +00:00
Properties add dotnet otel project 2023-10-23 15:17:25 +01:00
appsettings.Development.json add dotnet otel project 2023-10-23 15:17:25 +01:00
appsettings.json add dotnet otel project 2023-10-23 15:17:25 +01:00
Dockerfile docker file for otel proj 2023-10-24 11:56:52 +01:00
otel-dotnet.csproj fix: Examples/otel-dotnet/otel-dotnet.csproj to reduce vulnerabilities 2024-04-14 23:00:18 +00:00
Program.cs Comment out OTLP exporter configuration 2023-12-31 15:11:37 +00:00
README.md Delete unnecessary files and update .gitignore 2024-02-19 10:55:14 +00:00

Open Telemetry .NET Example

Run the project.

Please use

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/

Run on test server

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/