oneuptime/Examples/otel-dotnet
2024-08-01 19:25:54 -06:00
..
bin/Debug/net6.0 refactor: Update logger.debug statements for exiting node process 2024-05-22 10:04:41 +01:00
Properties
appsettings.Development.json
appsettings.json
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 refactor: Update OneUptime chart to use probes instead of probe for probe configuration 2024-08-01 19:25:54 -06:00

Open Telemetry .NET Example

Run the project.

Please use

export OTEL_EXPORTER_OTLP_HEADERS="x-oneuptime-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-token=3be58190-c7ec-11ee-8e5e-3952f961cde5" && export OTEL_EXPORTER_OTLP_ENDPOINT="https://test-otlp.oneuptime.com" && dotnet run --urls=http://localhost:7856/