tapset::json(3stap)

tapset::json3stap

Systemtap json tapset

Overview

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.

json_set_prefix

Set the metric prefix.

json_add_numeric_metric

Add a numeric metric

json_add_string_metric

Add a string metric

json_add_array

Add an array

json_add_array_numeric_metric

Add a numeric metric to an array

json_add_array_string_metric

Add a string metric to an array

json_data

Fires whenever JSON data is wanted by a reader.

See probe::json_data(3stap)
for details.

@json_output_data_start

Start the json output.

@json_output_string_value

Output a string value.

@json_output_numeric_value

Output a numeric value.

@json_output_array_string_value

Output a string value for metric in an array.

@json_output_array_numeric_value

Output a numeric value for metric in an array.

@json_output_data_end

End the json output.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.