- fix hemtt config to copy example

- add measurements table in Readme
- ENTITY COUNTS
  - re add side tags
  - use `side group _x` for units and players
  - fix players_connected and add headless_clients
- get `_allUserInfos = allUsers apply {getUserInfo _x} select {count _x > 0};` from main loop and use in entity counts and player performance
This commit is contained in:
2023-10-10 18:07:25 -07:00
parent 9ccb6fd3cd
commit 98829640f4
5 changed files with 78 additions and 21 deletions

View File

@@ -24,19 +24,22 @@ GVARMAIN(captureLoop) = [
]
];
// getUserInfo for all users
_allUserInfos = allUsers apply {getUserInfo _x} select {count _x > 0};
// entity_count returns an array of hashMap
{
GVARMAIN(extensionName) callExtension [
":INFLUX:WRITE:",
[_x]
];
} forEach (call EFUNC(capture,entity_count));
} forEach ([_allUserInfos] call EFUNC(capture,entity_count));
{
GVARMAIN(extensionName) callExtension [
":INFLUX:WRITE:",
[_x]
];
} forEach (call EFUNC(capture,player_performance));
} forEach ([_allUserInfos] call EFUNC(capture,player_performance));
["DEBUG", format[
"Processed primary data loop in %1 ms",