epik-stats

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2021 License: Apache-2.0, MIT Imports: 7 Imported by: 0

README

epik-stats

epik-stats is a small tool to push chain information into influxdb

Setup

Influx configuration can be configured through env variables.

INFLUX_ADDR="http://localhost:8086"
INFLUX_USER=""
INFLUX_PASS=""

Usage

epik-stats will be default look in ~/.epik to connect to a running daemon and resume collecting stats from last record block height.

For other usage see ./epik-stats --help

go build -o epik-stats *.go 
. env.stats && ./epik-stats

Development

Start grafana and influxdb containers and import the dashboard to grafana. The url of the imported dashboard will be returned.

If the script doesn't work, you can manually setup the datasource and import the dashboard.

docker-compose up -d
./setup.bash

The default username and password for grafana are both admin.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL