MACRO::JSON_OUTPUT_N(3stap)

πŸ¦‹ MACRO::JSON_OUTPUT_N(3stap) β€” the JSON Tapset one πŸ¦‹

okay bestie, sit down, we're learning about macro::json_output_numeric_value from the JSON Tapset and honestly? it's giving short-but-iconic πŸ’…


✨ NAME ✨

macro::json_output_numeric_value β€” literally just: output a numeric value. that's the whole job. no cap. πŸŽ€


✨ SYNOPSIS ✨

@json_output_numeric_value(name,value)

look at her. two little args. living her best life. 🌸


✨ ARGUMENTS ✨

  • name β€” the name of the numeric metric, like the little label that says who this number belongs to 🏷️
  • value β€” the numeric value you wanna output. the actual digits. the moment. the main character number πŸ‘‘

✨ DESCRIPTION ✨

so here's the vibe 🫢 β€” the json_output_numeric_value macro is designed to be called from the 'json_data' probe in the user's script, and its whole purpose is to output a metric's numeric value. that's it, that's the assignment, and she ate πŸ’…

lowkey important though: this metric should have been added with json_add_numeric_metric first. you can't just show up to the group chat without being added, bestie. get her registered first, then output her. 😭

✨ SEE ALSO ✨


and that's the whole page, periodt ✨ stay slay, keep your metrics registered, and remember: numbers are only iconic when they're in the right probe πŸ’–

SystemTap Tapset Reference, Ver β€” September 2026 πŸ¦‹ mwah, ily, go write some tapsets πŸŽ€

πŸ“¦ where this page comes from