Skip to content

vechain/thorflux

Repository files navigation

thor X influxDB

Description

This is a simple tool to send VeChain Thor data to an influxDB instance.

Quick Start

  1. Local Run
make start
  1. Debug Mode
  • Comment out the thorflux service in ./compose.yaml, then:
docker compose up
go run . --thor-url=https://mainnet.vechain.org --influx-token=admin-token --thor-block=1024
  1. Debug mode along with a dynamic local Thor port (like hayabusa-e2e tests)
  • Extension of 2. Run the desired test in your e2e project and get the Thor port (i.e., 65253), then:
make debug-with-local-thor-port PORT=65253
  1. Cleanup
  • This will bring down the Docker containers, delete the volumes folder, kill go run processes following the format of this project and delete the thorflux log file
make clean

Building Grafana Dashboards

In an aim to align dashboards across public and private repositories in the foundation please use the 'Dashboard Template' as the starting point for any new dashboards. This introduces a standardised way to configure the InfluxDB data source.

For foundation members please see this (Note: this will be unavailable to external collaborators)

About

VeChain Thor data stored in InfluxDB

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 8