Table of Contents

Struct ServerBandwidthSample

Namespace
FishMMO.Database.Data
Assembly
FishMMO-DB.dll

One minute a server process writes about itself: the difference in its transport's counters over an interval that ended in BucketStartUtc. Measured values only.

public struct ServerBandwidthSample
Inherited Members

Fields

AppRecvBytes

Application bytes received.

public long AppRecvBytes

Field Value

long

AppSentBytes

Application bytes sent.

public long AppSentBytes

Field Value

long

BucketStartUtc

The minute, by the database clock. See ServerBandwidthMinuteEntity.BucketStart.

public DateTime BucketStartUtc

Field Value

DateTime

ConnectionsRefused

Connections refused before a session in the interval.

public long ConnectionsRefused

Field Value

long

HandshakeFailures

Handshakes that failed in the interval.

public long HandshakeFailures

Field Value

long

IntervalMs

The counted interval, milliseconds. Positive.

public long IntervalMs

Field Value

long

SessionsActive

Sessions open when sampled (a gauge).

public long SessionsActive

Field Value

long

SessionsOpened

Sessions accepted in the interval.

public long SessionsOpened

Field Value

long

UdpRecvBytes

UDP payload bytes received.

public long UdpRecvBytes

Field Value

long

UdpRecvDatagrams

UDP datagrams received.

public long UdpRecvDatagrams

Field Value

long

UdpSentBytes

UDP payload bytes sent.

public long UdpSentBytes

Field Value

long

UdpSentDatagrams

UDP datagrams sent.

public long UdpSentDatagrams

Field Value

long

Methods

Invalid()

Why this sample cannot be written, or null when it can. Every counter must be non-negative and the interval positive: a negative would mean the process could not see the value, and storing it would put "unknown" in a column that sums.

public string? Invalid()

Returns

string