Skip to content

Simple script to upload vdbench results into Influxdb for Grafana visualisation

License

Notifications You must be signed in to change notification settings

xocoru/vdbench2influxdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vdbench2influxdb

Simple script to upload vdbench results into Influxdb for Grafana visualisation

  1. Install InfluxDB and create database for metrics upload:
# influx 
Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring.
Connected to http://localhost:8086 version 1.1.1
InfluxDB shell version: 1.1.1
> create database G200;
  1. Install Grafana and define influxdb datasource.
  2. Run vdbench with any options that you like.
  3. Pick flatfile.html from vdbench output directory.
  4. Run php vdbench2influxdb.php flatfile.html sometag Use tag if you like to group data on Grafana graphs.
  5. Create or import Grafana dashboard. (For example grafana.json, don't forgot change datasource)
  6. Enjoy

Grafana Demo Screen

PS: Sorry i am not a programmer at all ... so this PHP script could be mind blow. but it works.

About

Simple script to upload vdbench results into Influxdb for Grafana visualisation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages