Demonstrates how to use OpenTelemetry tracing and metrics with the .NET SDK. There are two specific samples:
- CoreSdkForwarding - Shows how to use
OpenTelemetryOptionsto have the internal Core logic forward metrics to an OpenTelemetry endpoint. - DotNetMetrics - Shows how to use
Temporalio.Extensions.DiagnosticSourceto forward Core metrics to a .NETMeterthat can then be used with OpenTelemetry.
Both of these samples use the same OpenTelemetry tracing approach but have different metrics approaches.