oneuptime/Examples/otel-dotnet
2023-12-30 23:04:32 +00:00
..
bin/Debug/net6.0 Update OTLP Exporter configuration 2023-12-30 22:41:57 +00:00
obj Update OpenTelemetry collector endpoint in README.md 2023-12-30 23:04:32 +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 add guage 2023-10-24 13:35:26 +01:00
Program.cs Update OTLP Exporter configuration 2023-12-30 22:41:57 +00:00
README.md Update OpenTelemetry endpoints and add support for custom collector endpoint 2023-12-30 22:45:29 +00:00

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="http://localhost" && dotnet run --urls=http://localhost:7856/