Skip to content

Commit c732672

Browse files
committed
fix: track players with right time
1 parent f90a208 commit c732672

File tree

1 file changed

+1
-0
lines changed
  • serverhost-runtime/src/main/kotlin/app/simplecloud/droplet/serverhost/runtime/runner

1 file changed

+1
-0
lines changed

serverhost-runtime/src/main/kotlin/app/simplecloud/droplet/serverhost/runtime/runner/MetricsTracker.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ class MetricsTracker(
6060
return metric {
6161
metricType = "SERVER_USAGE_PLAYERS"
6262
metricValue = server.playerCount
63+
time = ProtobufTimestamp.fromLocalDateTime(LocalDateTime.now())
6364
meta.addAll(createMeta(server))
6465
}
6566
}

0 commit comments

Comments
 (0)