Open Telemetry
BlazorSaas supports Open Telemetry out-of-the-box.
Configuring OTel exporter
The standard OTEL_EXPORTER_OTLP_ENDPOINT
environment variable is used, so you don’t need to change any code to export to different places.
Logging
In Development, all Debug or higher level messages are shown in the console and exported to the Open Telemetry exporter. In Production, the minimum level is Warning, also sent to the console (so you can see it in the container logs) and to the exporter.
Traces and Metrics
The following instrumentation is sent to the exporter:
- Runtime
- Asp.Net Core
- HttpClient
- Marten
- Wolvering
- HotChocolate