Class KestrelMetrics
Represents metrics reported by the Microsoft-AspNetCore-Server-Kestrel event counters.
Inheritance
System.Object
KestrelMetrics
Namespace: Yarp.Telemetry.Consumption
Assembly: Yarp.Telemetry.Consumption.dll
Syntax
public sealed class KestrelMetrics : object
Constructors
| Improve this Doc View SourceKestrelMetrics()
Declaration
public KestrelMetrics()
Properties
| Improve this Doc View SourceConnectionQueueLength
Number of connections on the queue.
Declaration
public long ConnectionQueueLength { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
ConnectionRate
Number of connections opened in the last metrics interval.
Declaration
public long ConnectionRate { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
CurrentConnections
Number of currently open connections.
Declaration
public long CurrentConnections { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
CurrentTlsHandshakes
Number of active TLS handshakes that have started but not yet completed or failed.
Declaration
public long CurrentTlsHandshakes { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
CurrentUpgradedRequests
Number of currently upgraded requests (number of webSocket connections).
Declaration
public long CurrentUpgradedRequests { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
FailedTlsHandshakes
Number of TLS handshakes that failed since telemetry was enabled.
Declaration
public long FailedTlsHandshakes { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
RequestQueueLength
Number of requests on the queue.
Declaration
public long RequestQueueLength { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Timestamp
Timestamp of when this KestrelMetrics instance was created.
Declaration
public DateTime Timestamp { get; }
Property Value
Type | Description |
---|---|
DateTime |
TlsHandshakeRate
Number of TLS handshakes started in the last metrics interval.
Declaration
public long TlsHandshakeRate { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
TotalConnections
Number of connections opened since telemetry was enabled.
Declaration
public long TotalConnections { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
TotalTlsHandshakes
Numer of TLS handshakes started since telemetry was enabled.
Declaration
public long TotalTlsHandshakes { get; }
Property Value
Type | Description |
---|---|
System.Int64 |