Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x70b1/telegraf-psi
A Telegraf plugin to collect Pressure Stall Information stats.
https://github.com/x70b1/telegraf-psi
influxdb kernel monitoring psi telegraf
Last synced: about 1 month ago
JSON representation
A Telegraf plugin to collect Pressure Stall Information stats.
- Host: GitHub
- URL: https://github.com/x70b1/telegraf-psi
- Owner: x70b1
- License: unlicense
- Created: 2022-02-07T21:53:59.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T14:54:53.000Z (3 months ago)
- Last Synced: 2024-10-14T21:47:42.096Z (3 months ago)
- Topics: influxdb, kernel, monitoring, psi, telegraf
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telegraf-psi
[![Actions](https://github.com/x70b1/telegraf-psi/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/x70b1/telegraf-psi/actions)
[![Contributors](https://img.shields.io/github/contributors/x70b1/telegraf-psi.svg)](https://github.com/x70b1/telegraf-psi/graphs/contributors)
[![License](https://img.shields.io/github/license/x70b1/telegraf-psi.svg)](https://github.com/x70b1/telegraf-psi/blob/master/LICENSE)A [Telegraf](https://github.com/influxdata/telegraf) plugin to collect [Pressure Stall Information](https://www.kernel.org/doc/html/latest/accounting/psi.html) stats.
## Configuration
```ini
[[inputs.exec]]
command = "sh /opt/telegraf/telegraf-psi.sh"
data_format = "influx"interval = "10s"
```## Output
```sh
# sh /opt/telegraf/telegraf-psi.sh
pressure,resource=cpu,share=some avg10=0.22,avg60=0.32,avg300=0.34,total=43903342529
pressure,resource=memory,share=some avg10=0.00,avg60=0.00,avg300=0.00,total=2493
pressure,resource=memory,share=full avg10=0.00,avg60=0.00,avg300=0.00,total=11
pressure,resource=io,share=some avg10=0.00,avg60=0.00,avg300=0.00,total=3610026058
pressure,resource=io,share=full avg10=0.00,avg60=0.00,avg300=0.00,total=316119428
```