---
name: "function::cve_count_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_count_metric"
---

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

Increment the count of key

## NAME

function::cve\_count\_metric - Increment the count of key

## SYNOPSIS

```
    cve_count_metric(key:string)
```

## ARGUMENTS

*key*

The metric

## DESCRIPTION

This function increments the count of the metric key by 1. The metrics can be accessed in /proc/systemtap/MODULE\_NAME/\_\_prometheus

## SEE ALSO0

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