blob: e45471ed20795b8316f5f165b3403d764f66b74c (
plain) (
blame) 
 | 1 2 3 4 5 6 7 8 9 10 11  | <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>function::json_set_prefix</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="up" href="json.stp.html" title="Chapter 33. JSON Tapset"><link rel="prev" href="API-json-add-string-metric.html" title="function::json_add_string_metric"><link rel="next" href="API-json-output-array-numeric-value.html" title="macro::json_output_array_numeric_value"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">function::json_set_prefix</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-json-add-string-metric.html">Prev</a> </td><th width="60%" align="center">Chapter 33. JSON Tapset</th><td width="20%" align="right"> <a accesskey="n" href="API-json-output-array-numeric-value.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-json-set-prefix"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>function::json_set_prefix — Set the metric prefix. </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> json_set_prefix:long(prefix:string) </pre></div><div class="refsect1"><a name="id2623"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>prefix</code></em></span></dt><dd><p> The prefix name to be used. </p></dd></dl></div></div><div class="refsect1"><a name="id2624"></a><h2>Description</h2><p> This function sets the <span class="quote">“<span class="quote">prefix</span>”</span>, which is the name of the base of the metric hierarchy. Calling this function is optional, by default the name of the systemtap module is used. </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-json-add-string-metric.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="json.stp.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-json-output-array-numeric-value.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">function::json_add_string_metric</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">macro::json_output_array_numeric_value</span></td></tr></table></div></body></html> 
 |