ASP.NET OTEL Metrics 19,75519,755
Dashboard to show ASP.NET (.NET Core/5/6/7) metrics produced by opentelemetry-dotnet tools for Prometheus.
References:
- https://opentelemetry.io
- https://opentelemetry.io/docs/instrumentation/net
- https://github.com/open-telemetry/opentelemetry-dotnet
Example of ASP.NET configuration:
builder.Services.AddOpenTelemetry()
.WithMetrics(b => b
.AddAspNetCoreInstrumentation()
.AddHttpClientInstrumentation()
.AddRuntimeInstrumentation()
.AddProcessInstrumentation()
.AddPrometheusExporter());
Reference .NET integration with OTEL for this dashboard might be found here: https://github.com/nazarii-piontko/sample-dotnet-otel
Used Metrics 1515
process_cpu_time_seconds_total
process_memory_usage_bytes
process_threads
process_runtime_dotnet_gc_committed_memory_size_bytes
process_runtime_dotnet_gc_objects_size_bytes
process_runtime_dotnet_gc_allocations_size_bytes_total
process_runtime_dotnet_gc_heap_size_bytes
process_runtime_dotnet_gc_heap_fragmentation_size_bytes
process_runtime_dotnet_gc_collections_count_total
process_runtime_dotnet_exceptions_count_total
process_runtime_dotnet_thread_pool_threads_count
process_runtime_dotnet_thread_pool_queue_length
http_server_duration_milliseconds_bucket
http_server_duration_milliseconds_count
http_client_duration_milliseconds_bucket