Metrics collected by the Splunk Distribution of OpenTelemetry .NET 🔗
The Splunk Distribution of OpenTelemetry .NET can collect runtime and trace metrics. To learn about the different metric types, see Metric types.
Configure metrics collection 🔗
Metric collection is activated by default. To configure metric settings, see Instrumentation settings.
.NET runtime metrics 🔗
The Splunk Distribution of OpenTelemetry .NET can collect the following runtime metrics:
Metric |
Type |
Description |
---|---|---|
|
Cumulative counter |
Number of garbage collections since the process started. |
|
Gauge |
Heap size, as observed during the last garbage collection. Only available for .NET 6 or higher. |
|
Gauge |
Heap fragmentation, as observed during the last garbage collection. Only available for .NET 7 or higher. |
|
Gauge |
Count of bytes currently in use by live objects in the GC heap. |
|
Cumulative counter |
Count of bytes allocated on the managed GC heap since the process started. Only available for .NET 6 or higher. |
|
Gauge |
Amount of committed virtual memory for the managed GC heap, as observed during the last garbage collection. Only available for .NET 6 and higher. |
|
Cumulative counter |
The total amount of time paused in GC since the process start. Only available for .NET 7 and higher. |
|
Cumulative counter |
Contentions count when trying to acquire a monitor lock since the process started. |
|
Gauge |
Number of thread pool threads, as observed during the last measurement. Only available for .NET 6 or higher. |
|
Cumulative counter |
Number of work items processed by the thread pool since the process started. Only available for .NET 6 or higher. |
|
Gauge |
Number of work items currently queued for processing by the thread pool. Only available for .NET 6 or higher. |
|
Cumulative counter |
Bytes of intermediate language that have been compiled since the process started. Only available for .NET 6 or higher. |
|
Cumulative counter |
Number of times the JIT compiler compiled a method since the process started. Only available for .NET 6 or higher. |
|
Cumulative counter |
Amount of time the compiler spent compiling methods since the process started. Only available for .NET 6 or higher. |
|
Gauge |
Number of timer instances currently active. Only available for .NET 6 or higher. |
|
Gauge |
Number of .NET assemblies that are currently loaded. |
|
Cumulative counter |
Count of exceptions thrown in managed code since the observation started. |
Process metrics 🔗
The Splunk Distribution of OpenTelemetry .NET can collect the following process metrics:
Metric |
Type |
Description |
---|---|---|
|
Gauge |
The amount of physical memory allocated for this process. |
|
Gauge |
The amount of committed virtual memory for this process. |
|
Cumulative counter |
Total CPU seconds broken down by different states, such as user and system. |
|
Gauge |
Total CPU seconds broken down by different states, such as user and system. |
|
Gauge |
Process threads count. |
Instrumentation metrics 🔗
The Splunk Distribution of OpenTelemetry .NET can collect the following instrumentation metrics:
ASP.NET 🔗
Metric |
Type |
Description |
---|---|---|
|
Cumulative counters (histogram) |
Duration of HTTP server requests. |
ASP.NET Core 🔗
Metric |
Type |
Description |
---|---|---|
|
Cumulative counters (histogram) |
Duration of HTTP server requests. |
|
Gauge |
Number of active HTTP server requests. Supported only on .NET8+. |
|
Gauge |
Number of connections that are currently active on the server. Supported only on .NET8+. |
|
Cumulative counters (histogram) |
The duration of connections on the server. Supported only on .NET8+. |
|
Cumulative counters |
Number of connections rejected by the server. Connections are rejected when the currently active count exceeds the value configured with MaxConcurrentConnections. Supported only on .NET8+. |
|
Gauge |
Number of connections that are currently queued and are waiting to start. Supported only on .NET8+. |
|
Gauge |
Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start. Supported only on .NET8+. |
|
Gauge |
Number of HTTP connections that are currently upgraded (WebSockets). The number only tracks HTTP/1.1 connections. Supported only on .NET8+. |
|
Cumulative counters (histogram) |
The duration of TLS handshakes on the server. Supported only on .NET8+. |
|
Gauge |
Number of TLS handshakes that are currently in progress on the server. Supported only on .NET8+. |
|
Cumulative counters (histogram) |
The duration of connections on the server. Supported only on .NET8+. |
|
Gauge |
Number of connections that are currently active on the server. Supported only on .NET8+. |
|
Cumulative counters |
Number of requests that were attempted to be matched to an endpoint. Supported only on .NET8+. |
|
Cumulative counters |
Number of exceptions caught by exception handling middleware. Supported only on .NET8+. |
|
Gauge |
Number of HTTP requests that are currently active on the server that hold a rate limiting lease. Supported only on .NET8+. |
|
Cumulative counters (histogram) |
The duration of rate limiting leases held by HTTP requests on the server. Supported only on .NET8+. |
|
Gauge |
Number of HTTP requests that are currently queued, waiting to acquire a rate limiting lease. Supported only on .NET8+. |
|
Cumulative counters (histogram) |
The duration of HTTP requests in a queue, waiting to acquire a rate limiting lease. Supported only on .NET8+. |
|
Cumulative counters |
Number of requests that tried to acquire a rate limiting lease. Requests could be rejected by global or endpoint rate limiting policies. Or the request could be canceled while waiting for the lease. Supported only on .NET8+. |
HTTP Client 🔗
Metric |
Type |
Description |
---|---|---|
|
Cumulative counters (histogram) |
Duration of HTTP client requests. |
|
Gauge |
Number of outbound HTTP requests that are currently active on the client. Supported only on .NET8+. |
|
Gauge |
Number of outbound HTTP connections that are currently active or idle on the client. Supported only on .NET8+. |
|
Cumulative counters (histogram) |
The duration of successfully established outbound HTTP connections. Supported only on .NET8+. |
|
Cumulative counters (histogram) |
The amount of time requests spent on a queue waiting for an available connection. Supported only on .NET8+. |
|
Cumulative counters (histogram) |
Measures the time taken to perform a DNS lookup. Supported only on .NET8+. |
NServiceBus 🔗
Metric |
Type |
Description |
---|---|---|
|
Cumulative counter |
Number of messages successfully processed by the endpoint. |
|
Cumulative counter |
Number of messages retrieved from the queue by the endpoint. |
|
Cumulative counter |
Number of messages unsuccessfully processed by the endpoint. |