C# Class GTAServer.Logging.PrometheusMetrics

Show file Open project: oldnapalm/GTACoOp

Public Properties

Property Type Description
ActiveConnections Gauge
ReceivedBytes Gauge
SentBytes Gauge

Public Methods

Method Description
HandleConnection ( GameServer gameServer, NetIncomingMessage msg, string str ) : void
PrometheusMetrics ( ) : Lidgren.Network
Tick ( GameServer gameServer ) : void

Method Details

HandleConnection() public method

public HandleConnection ( GameServer gameServer, NetIncomingMessage msg, string str ) : void
gameServer GameServer
msg NetIncomingMessage
str string
return void

PrometheusMetrics() public method

public PrometheusMetrics ( ) : Lidgren.Network
return Lidgren.Network

Tick() public method

public Tick ( GameServer gameServer ) : void
gameServer GameServer
return void

Property Details

ActiveConnections public property

public Gauge ActiveConnections
return Gauge

ReceivedBytes public property

public Gauge ReceivedBytes
return Gauge

SentBytes public property

public Gauge SentBytes
return Gauge