mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 15:24:52 +09:00
Add platform speed and weight metrics
clusterio_statistics_exporter_platform_speed clusterio_statistics_exporter_platform_weight
This commit is contained in:
1 parent
9464541d61
commit
8e22de9d2d
3 files changed
+41
-3
No files matched your search
@@ -49,7 +49,9 @@ function statistics_exporter.export()
|
||||
for _, platform in pairs(force.platforms) do
|
||||
stats.platforms[platform.name] = {
|
||||
force = force.name,
|
||||
surface = platform.surface.name
|
||||
surface = platform.surface.name,
|
||||
speed = platform.speed,
|
||||
weight = platform.weight,
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user