Table of Contents

Class NetworkMetricsSnapshot

Namespace
Moongate.Server.Metrics.Data
Assembly
Moongate.Server.Metrics.dll

Immutable snapshot of network parser/runtime metrics.

public sealed class NetworkMetricsSnapshot
Inheritance
NetworkMetricsSnapshot
Inherited Members

Constructors

NetworkMetricsSnapshot(int, long, int, int, int, int)

public NetworkMetricsSnapshot(int activeSessionCount, long totalReceivedBytes, int totalParsedPackets, int totalParserErrors, int inboundQueueDepth, int totalUnknownOpcodeDrops)

Parameters

activeSessionCount int
totalReceivedBytes long
totalParsedPackets int
totalParserErrors int
inboundQueueDepth int
totalUnknownOpcodeDrops int

Properties

ActiveSessionCount

[Metric("sessions.active")]
public int ActiveSessionCount { get; }

Property Value

int

InboundQueueDepth

[Metric("network.inbound.queue.depth")]
public int InboundQueueDepth { get; }

Property Value

int

TotalParsedPackets

[Metric("network.inbound.packets.total", Aliases = new string[] { "packets.parsed.total" })]
public int TotalParsedPackets { get; }

Property Value

int

TotalParserErrors

[Metric("parser.errors.total")]
public int TotalParserErrors { get; }

Property Value

int

TotalReceivedBytes

[Metric("bytes.received.total")]
public long TotalReceivedBytes { get; }

Property Value

long

TotalUnknownOpcodeDrops

[Metric("network.inbound.unknown_opcode.total")]
public int TotalUnknownOpcodeDrops { get; }

Property Value

int