Loading CHANGELOG.md +3 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,9 @@ All notable changes to this project are documented below. The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org). ## [Unreleased] ### Changed - Better formatting for graphed values in devconsole status view. ### Fixed - Correct cursor usage in group listings using only open/closed group state filter. - Remap original Google IDs to "next generation player IDs". Loading server/status_handler.go +5 −4 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package server import ( "context" "math" "runtime" "github.com/heroiclabs/nakama/v3/console" Loading Loading @@ -55,10 +56,10 @@ func (s *LocalStatusHandler) GetStatus(ctx context.Context) ([]*console.StatusLi PresenceCount: int32(s.tracker.Count()), MatchCount: int32(s.matchRegistry.Count()), GoroutineCount: int32(runtime.NumGoroutine()), AvgLatencyMs: s.metrics.SnapshotLatencyMs(), AvgRateSec: s.metrics.SnapshotRateSec(), AvgInputKbs: s.metrics.SnapshotRecvKbSec(), AvgOutputKbs: s.metrics.SnapshotSentKbSec(), AvgLatencyMs: math.Floor(s.metrics.SnapshotLatencyMs()*100) / 100, AvgRateSec: math.Floor(s.metrics.SnapshotRateSec()*100) / 100, AvgInputKbs: math.Floor(s.metrics.SnapshotRecvKbSec()*100) / 100, AvgOutputKbs: math.Floor(s.metrics.SnapshotSentKbSec()*100) / 100, }, }, nil } Loading
CHANGELOG.md +3 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,9 @@ All notable changes to this project are documented below. The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org). ## [Unreleased] ### Changed - Better formatting for graphed values in devconsole status view. ### Fixed - Correct cursor usage in group listings using only open/closed group state filter. - Remap original Google IDs to "next generation player IDs". Loading
server/status_handler.go +5 −4 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package server import ( "context" "math" "runtime" "github.com/heroiclabs/nakama/v3/console" Loading Loading @@ -55,10 +56,10 @@ func (s *LocalStatusHandler) GetStatus(ctx context.Context) ([]*console.StatusLi PresenceCount: int32(s.tracker.Count()), MatchCount: int32(s.matchRegistry.Count()), GoroutineCount: int32(runtime.NumGoroutine()), AvgLatencyMs: s.metrics.SnapshotLatencyMs(), AvgRateSec: s.metrics.SnapshotRateSec(), AvgInputKbs: s.metrics.SnapshotRecvKbSec(), AvgOutputKbs: s.metrics.SnapshotSentKbSec(), AvgLatencyMs: math.Floor(s.metrics.SnapshotLatencyMs()*100) / 100, AvgRateSec: math.Floor(s.metrics.SnapshotRateSec()*100) / 100, AvgInputKbs: math.Floor(s.metrics.SnapshotRecvKbSec()*100) / 100, AvgOutputKbs: math.Floor(s.metrics.SnapshotSentKbSec()*100) / 100, }, }, nil }