Extract data from the ThousandEyes REST API and visualize it on your customized Grafana Dashboard. Deploy Grafana, InfluxDBv2 and the Python connector script within a few minutes.
Supported Functions
Prepare: Create Label (optional), clone git-repo, change settings in config.py
Run: Start containers, copy and insert testId into Grafana
Dashboard-Template Screenshots
git clone https://github.com/flopach/thousandeyes-grafana-dashboard.git
Change your desired settings in the docker/py_connector/config.py file.
Start all containers from the docker/ directory. This may take some minutes.
docker-compose up
More useful commands:
docker-compose up -d
docker-compose down
docker-compose build
Simply open docker/py_connector/config.py
in any text-editor to set your desired configuration.
Example: When you've created a ThousandEyes page-load test (see below), you will receive data from 4 views:
Login to Grafana dashboard and configure your dashboard modules by inserting the ThousandEyes testId. Additionally, use the query editor from the InfluxDB UI as a help to create and copy the Flux language syntax snippet.
Login Grafana - http://localhost:3000
Login InfluxDB - http://localhost:8086
If you are not familiar with Docker compose, go ahead to check the documentation. Basically, 4 containers will be spun up:
py_connector
folder)- InfluxDB Setup Error
When you have already started docker-compose and are re-starting the containers, this error is normal:
influxdb_setup_1 | Error: instance at "http://influxdb:8086" has already been setup
influxdb_setup_1 | See 'influx setup -h' for help
influxdb_setup_1 exited with code 1
- Changing the settings in config.py
When you have already started docker-compose once and would like to change the settings, you need to re-build the py_connector container:
docker-compose build
1.0 (Sep 2021) - Initial version
1.0.1 (Dec 2021) - Bugfix: You can now add only one test type which is tagged. config.py Update.
This project is licensed under the Cisco Samplel Code License 1.1 - see the LICENSE.md file for details
Extract data from the ThousandEyes REST API and visualize it on your customized Grafana Dashboard. Deploy Grafana, InfluxDBv2 and the Python connector script within a few minutes.
Supported Functions
Prepare: Create Label (optional), clone git-repo, change settings in config.py
Run: Start containers, copy and insert testId into Grafana
Extract data from the ThousandEyes REST API and visualize it on your customized Grafana Dashboard. Deploy Grafana, InfluxDBv2 and the Python connector script within a few minutes.
Supported Functions
Prepare: Create Label (optional), clone git-repo, change settings in config.py
Run: Start containers, copy and insert testId into Grafana
Owner
Contributors
Categories
Products
ThousandEyesProgramming Languages
PythonLicense
Code Exchange Community
Get help, share code, and collaborate with other developers in the Code Exchange community.View Community