stable
Clone or download
Part of story #35093 execute custom code as artifact post action There was only git using FFIWASMCaller, but now there is also tracker_cce. To differentiate both in prometheus metrics, we add a label telling who has call `caller_name`. *Testing:* After have performed some artifact update/creation, your metrics should contains line like that: tuleap_wasm_response_total{platform="tuleap",type="ValidResponse",caller_name="tracker_cce_plugin"} 1 tuleap_wasm_memory_usage_bytes_bucket{platform="tuleap",caller_name="tracker_cce_plugin",le="1114112"} 1 tuleap_wasm_module_duration_seconds_bucket{platform="tuleap",caller_name="tracker_cce_plugin",le="0.003"} 1 tuleap_wasm_full_duration_seconds_bucket{platform="tuleap",le="0.09"} 1 Change-Id: I81435a9d2b8d45c5a62be257005043367e4a3f80
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/include/gitPlugin.php | +1 | −1 | Go to diff View file |
M | plugins/tracker_cce/include/tracker_ccePlugin.php | +1 | −1 | Go to diff View file |
M | src/common/WebAssembly/FFIWASMCaller.php | +24 | −14 | Go to diff View file |