Class SocketsMetrics
Represents metrics reported by the System.Net.Sockets event counters.
Inheritance
System.Object
SocketsMetrics
Namespace: Yarp.Telemetry.Consumption
Assembly: Yarp.Telemetry.Consumption.dll
Syntax
public sealed class SocketsMetrics : object
Constructors
| Improve this Doc View SourceSocketsMetrics()
Declaration
public SocketsMetrics()
Properties
| Improve this Doc View SourceBytesReceived
Number of bytes received since telemetry was enabled.
Declaration
public long BytesReceived { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
BytesSent
Number of bytes sent since telemetry was enabled.
Declaration
public long BytesSent { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
DatagramsReceived
Number of datagrams received since telemetry was enabled.
Declaration
public long DatagramsReceived { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
DatagramsSent
Number of datagrams sent since telemetry was enabled.
Declaration
public long DatagramsSent { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
IncomingConnectionsEstablished
Number of incoming (Accept) Socket connections established since telemetry was enabled.
Declaration
public long IncomingConnectionsEstablished { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
OutgoingConnectionsEstablished
Number of outgoing (Connect) Socket connections established since telemetry was enabled.
Declaration
public long OutgoingConnectionsEstablished { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Timestamp
Timestamp of when this SocketsMetrics instance was created.
Declaration
public DateTime Timestamp { get; }
Property Value
Type | Description |
---|---|
DateTime |