Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new input Hugepages plugin #10763

Merged
merged 16 commits into from
Mar 16, 2022
Prev Previous commit
Next Next commit
README.md corrections (to satisfy linter)
  • Loading branch information
Pawel Zak authored and Pawel Zak committed Feb 25, 2022
commit 0700be24f6af89e92ba7bff97b74f09fd77439ca
20 changes: 10 additions & 10 deletions plugins/inputs/hugepages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The hugepages plugin gathers hugepages metrics including per NUMA node

### Configuration:
## Configuration

```toml
# Collects hugepages metrics from kernel and per NUMA node
Expand All @@ -13,22 +13,22 @@ The hugepages plugin gathers hugepages metrics including per NUMA node
# meminfo_path = "/proc/meminfo"
```

### Measurements & Fields:
## Measurements & Fields

- hugepages
- free (int, kB)
- nr (int, kB)
- HugePages_Total (int, kB)
- HugePages_Free (int, kB)
- free (int, kB)
- nr (int, kB)
- HugePages_Total (int, kB)
- HugePages_Free (int, kB)

### Tags:
## Tags

- hugepages has the following tags:
- node
- node

### Example Output:
## Example Output

```
```text
$ ./telegraf -config telegraf.conf -input-filter hugepages -test
> hugepages,host=maxpc,node=node0 free=0i,nr=0i 1467618621000000000
> hugepages,host=maxpc,name=meminfo HugePages_Free=0i,HugePages_Total=0i 1467618621000000000
Expand Down