FUNCTION::JSON_ADD_A(3stap)
π FUNCTION::JSON_ADD_A(3stap) π
okay bestie, welcome to the JSON Tapset section of the 3stap manuals β¨ this one's short and sweet and honestly? iconic.
πΈ NAME πΈ
function::json_add_array_numeric_metric β bestie, it adds a numeric metric to an array. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
json_add_array_numeric_metric:long(array_name:string,metric_name:string,metric_description:string,metric_units:string)
π¦ ARGUMENTS π¦
array_nameβ the name of the array you're adding that numeric metric to πmetric_nameβ the name of the numeric metric. literally what it's called π·οΈmetric_descriptionβ a description of the metric. and get this, you can pass an empty string if you're not feeling descriptive, no pressure π«Άmetric_description... no wait, it'smetric_unitsβ the metric's units. also fine to leave as an empty string if units aren't your thing π
(yes the original calls it "Metic units", typo and all, we love her anyway π)
π DESCRIPTION π
This function adds a numeric metric to an array, and it sets up everything needed while it's at it. like, the whole setup. handled. main character energy fr fr π
π SEE ALSO π
that's the whole page, bestie β short queen behavior, no cap β¨
this was the SystemTap Tapset Reference, version September 2026 π love u, go add some metrics to some arrays, mwah ππ¦
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms