Files
RangerMetrics/addons/capture/fnc_running_scripts.sqf
IndigoFox dc822c4c93 MAJOR rework
- improves a lot on the Go side including better config and logging libraries (including log rotation), better internal package distribution, and new a3go functionality to make data transfer more performant
- SQF side preprocessing of capture data is now minimal - arrays in hashmap format are sent directly to the extension and parsed there to minimize game impact
- CBA custom events are implemented in a better fashion
- README update
- license change
- with performance improvements, the deep customization of integrated metric gathering is removed in return to a single refreshRateMs, defining the interval at which core metrics are captured
- peeled back the list of core metrics to the core information used in troubleshooting and benchmarking
2023-10-10 00:44:50 -07:00

18 lines
437 B
Plaintext

#include "script_component.hpp"
[
["bucket", "server_performance"],
["measurement", "running_scripts"],
["tags", GVARMAIN(standardTags)],
["fields", [
["spawn", diag_activeScripts select 0],
["execVM", diag_activeScripts select 1],
["exec", diag_activeScripts select 2],
["execFSM", diag_activeScripts select 3],
["pfh",
if (GVARMAIN(cbaLoaded)) then {
count CBA_common_perFrameHandlerArray
} else {0}
]
]]
];