-
Notifications
You must be signed in to change notification settings - Fork 31
Quick Demo
Aleks Volochnev edited this page Feb 21, 2021
·
15 revisions
If you want to try the datasource, please follow the easy steps of this quick demo:
- docker
- docker-compose
- Download the repository using
git clone(simple archive download will work too)
git clone https://github.com/HadesArchitect/GrafanaCassandraDatasource.git
cd GrafanaCassandraDatasource
- Launch the project
docker-compose up -d
- Wait for Cassandra to start, it may take a bit
Check the status with the command docker-compose exec cassandra nodetool status | grep rack1. As soon as the output looks like UN 172.23.0.3 88.16 KiB ... (UN means UP and NORMAL), you are good to go
- Load sample data
docker-compose exec cassandra cqlsh -u cassandra -p cassandra -f ./test_data.cql
- Add the datasource
Open the link http://localhost:3000/datasources/new and select the Apache Cassandra datasource. In the new window, specify following details: host is cassandra:9042, others empty.
Save and test!
- Add the panel
To contact the developers, ask questions, or provide any feedback, please use Github discussions.