Class NetSecurityMetrics
Represents metrics reported by the System.Net.Security event counters.
Inheritance
Namespace: Yarp.Telemetry.Consumption
Assembly: Yarp.Telemetry.Consumption.dll
Syntax
public sealed class NetSecurityMetrics : object
Constructors
| Improve this Doc View SourceNetSecurityMetrics()
Declaration
public NetSecurityMetrics()
Properties
| Improve this Doc View SourceCurrentTlsHandshakes
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 |
FailedTlsHandshakes
Number of TLS handshakes that failed since telemetry was enabled.
Declaration
public long FailedTlsHandshakes { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Timestamp
Timestamp of when this NetSecurityMetrics instance was created.
Declaration
public DateTime Timestamp { get; }
Property Value
Type | Description |
---|---|
DateTime |
Tls10HandshakeDuration
Average duration of all TLS 1.0 handshakes completed in the last metrics interval.
Declaration
public TimeSpan Tls10HandshakeDuration { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
Tls10SessionsOpen
Number of currently open TLS 1.0 sessions.
Declaration
public long Tls10SessionsOpen { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Tls11HandshakeDuration
Average duration of all TLS 1.1 handshakes completed in the last metrics interval.
Declaration
public TimeSpan Tls11HandshakeDuration { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
Tls11SessionsOpen
Number of currently open TLS 1.1 sessions.
Declaration
public long Tls11SessionsOpen { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Tls12HandshakeDuration
Average duration of all TLS 1.2 handshakes completed in the last metrics interval.
Declaration
public TimeSpan Tls12HandshakeDuration { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
Tls12SessionsOpen
Number of currently open TLS 1.2 sessions.
Declaration
public long Tls12SessionsOpen { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Tls13HandshakeDuration
Average duration of all TLS 1.3 handshakes completed in the last metrics interval.
Declaration
public TimeSpan Tls13HandshakeDuration { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
Tls13SessionsOpen
Number of currently open TLS 1.3 sessions.
Declaration
public long Tls13SessionsOpen { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
TlsHandshakeDuration
Average duration of all TLS handshakes completed in the last metrics interval.
Declaration
public TimeSpan TlsHandshakeDuration { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
TlsHandshakeRate
Number of TLS handshakes completed in the last metrics interval.
Declaration
public long TlsHandshakeRate { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
TlsSessionsOpen
Number of currently open TLS sessions.
Declaration
public long TlsSessionsOpen { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
TotalTlsHandshakes
Number of TLS handshakes completed since telemetry was enabled.
Declaration
public long TotalTlsHandshakes { get; }
Property Value
Type | Description |
---|---|
System.Int64 |