FUNCTION::JSON\_SET\_P(3stap) JSON Tapset FUNCTION::JSON\_SET\_P(3stap)

# [NAME](#NAME)

function::json\_set\_prefix - Set the metric prefix.

# [SYNOPSIS](#SYNOPSIS)

```


    json_set_prefix:long(prefix:string)
```

# [ARGUMENTS](#ARGUMENTS)

*prefix*

The prefix name to be used.

# [DESCRIPTION](#DESCRIPTION)

This function sets the “prefix”, 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.

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::json*(3stap)](/man/enterprise-packages/systemtap/tapset::json.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::json_set_prefix(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
