MACRO::JSON_OUTPUT_S(3stap)

πŸ’– MACRO::JSON_OUTPUT_S β€” the JSON Tapset glow-up ✨

okay bestie, pull up a chair because this one is a whole manual page and we're gonna read it together like it's a group chat 🫢


🌸 NAME 🌸

macro::json_output_string_value β€” it outputs a string value. that's it, that's the job, and it does it beautifully πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

@json_output_string_value(name,value)

look at her. two args. no drama. iconic. πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • name β€” the name of the string metric. like, which string metric are we talking about? that one. this is her name tag 🏷️
  • value β€” the string value you want to output. the actual content. the main character of the string metric situation πŸ’–

✨ DESCRIPTION ✨

so json_output_string_value is a macro, right? and she is designed to be called from the json_data probe in your script β€” yes, yours, bestie, you're the author here 🫢 β€” so that you can output a metric's string value. that's the whole point of her existence and honestly? she's serving.

🚨 important lore drop: this metric should have been added with json_add_string_metric. like, do that part first. she's not out here doing the adding for you, she's doing the outputting. order matters, no cap 🧚

πŸ’œ SEE ALSO πŸ’œ


and that's the page!! this lil beauty comes from the SystemTap Tapset Reference, Ver β€” and the date on her birth certificate says September 2026 πŸ“…βœ¨

stay slay, call your probes responsibly, and remember: add first, output second πŸ’–πŸ¦‹πŸ’…

πŸ“¦ where this page comes from