FUNCTION::JSON_ADD_A(3stap)

✨ NAME ✨

function::json_add_array_string_metric β€” bestie, this one adds a string metric to an array πŸŽ€ (yes, that's literally the whole job and it does it flawlessly)

So you're deep in the JSON Tapset section of the 3stap manual and you found this lil icon πŸ’…


🌸 SYNOPSIS 🌸

json_add_array_string_metric:long(array_name:string,metric_name:string,metric_description:string)

Look at that signature. Gorgeous. Returns a long, takes three strings, no drama, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • array_name β€” the name of the array that your string metric is getting added to. Like, which array are we decorating today? πŸ‘‘
  • metric_name β€” the name of the string metric itself. Give it a cute name, it deserves one.
  • metric_description β€” a description for the metric. And here's the tea β˜•: an empty string can be used if you're not feeling descriptive. No pressure, bestie.

πŸ’– DESCRIPTION πŸ’–

This function adds a string metric to an array, and it sets up everything needed along the way. Like, not just the one thing β€” everything. It handles the whole vibe check for you so you don't have to 🧚✨


🌈 SEE ALSO 🌈


SystemTap Tapset Reference, Version β€” September 2026 πŸ“ and yeah, this whole page is FUNCTION::JSON_ADD_A(3stap) fr fr. That's the sign-off bestie, go add some string metrics, you ate πŸ’…πŸ’–

πŸ“¦ where this page comes from