NAME
tapset::json - systemtap json tapset DESCRIPTION The JSON tapset provides probes, functions, and macros to generate a JSON metadata and data file. The JSON metadata file is located in /proc/systemtap/MODULE/metadata.json. The JSON data file is located in /proc/systemtap/MODULE/data.json. The JSON data file is updated with current data every time the file is read. jsonsetprefix Set the metric prefix. See function::jsonsetprefix(3stap) for details. jsonaddnumericmetric Add a numeric metric See function::jsonaddnumericmetric(3stap) for details. jsonaddstringmetric Add a string metric See function::jsonaddstringmetric(3stap) for details. jsonaddarray Add an array See function::jsonaddarray(3stap) for details. jsonaddarraynumericmetric Add a numeric metric to an array See function::jsonaddarraynumericmetric(3stap) for details. jsonaddarraystringmetric Add a string metric to an array See function::jsonaddarraystringmetric(3stap) for details. jsondata Fires whenever JSON data is wanted by a reader. See probe::jsondata(3stap) for details. @jsonoutputdatastart Start the json output. See macro::jsonoutputdatastart(3stap) for details. @jsonoutputstringvalue Output a string value. See macro::jsonoutputstringvalue(3stap) for details. @jsonoutputnumericvalue Output a numeric value. See macro::jsonoutputnumericvalue(3stap) for details. @jsonoutputarraystringvalue Output a string value for metric in an array. See macro::jsonoutputarraystringvalue(3stap) for details. @jsonoutputarraynumericvalue Output a numeric value for metric in an array. See macro::jsonoutputarraynumericvalue(3stap) for details. @jsonoutputdataend End the json output. See macro::jsonoutputdataend(3stap) for details. SEE ALSO function::jsonsetprefix(3stap), function::jsonaddnumericmetric(3stap), function::jsonaddstringmetric(3stap), function::jsonaddarray(3stap), function::jsonaddarraynumericmetric(3stap), function::jsonaddarraystringmetric(3stap), probe::jsondata(3stap), macro::jsonoutputdatastart(3stap), macro::jsonoutputstringvalue(3stap), macro::jsonoutputnumericvalue(3stap), macro::jsonoutputarraystringvalue(3stap), macro::jsonoutputarraynumericvalue(3stap), macro::jsonoutputdataend(3stap), stap(1), stapprobes(3stap) SystemTap Tapset Reference June 2018 TAPSET::JSON(3stap)