---
name: "function::cve_record_metric"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::cve_record_metric"
---

# function::cve\_record\_metric(3stap)

Set the value of key

## NAME

function::cve\_record\_metric - Set the value of key

## SYNOPSIS

```
    cve_record_metric(key:string,value:long)
```

## ARGUMENTS

*key*

The metric

*value*

The new value

## DESCRIPTION

This function sets the value of the metric key. The metrics can be accessed in /proc/systemtap/MODULE\_NAME/\_\_prometheus

## SEE ALSO0

[*tapset::livepatch*(3stap)](/tapset::livepatch/3stap.md)
