mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
.. | ||
bin/Debug/net6.0 | ||
obj | ||
Properties | ||
appsettings.Development.json | ||
appsettings.json | ||
Dockerfile | ||
otel-dotnet.csproj | ||
Program.cs | ||
README.md |
Open Telemetry .NET Example
Run the project.
Please use
export OTEL_EXPORTER_OTLP_HEADERS="x-oneuptime-service-token=9c8806e0-a4aa-11ee-be95-010d5967b068" && export OTEL_EXPORTER_OTLP_ENDPOINT="https://localhost/opentelemetry-collector" && dotnet run --urls=http://localhost:7856/