x70b1 / telegraf-psi

A Telegraf plugin to collect Pressure Stall Information stats.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

telegraf-psi

Actions Contributors License

A Telegraf plugin to collect Pressure Stall Information stats.

Configuration

[[inputs.exec]]
  command = "sh /opt/telegraf/telegraf-psi.sh"
  data_format = "influx"

  interval = "10s"

Output

# 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

About

A Telegraf plugin to collect Pressure Stall Information stats.

License:The Unlicense


Languages

Language:Shell 100.0%