mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
cmd/stateth: proper geth dashboard with current block number
This commit is contained in:
parent
7f1841f1f9
commit
3897582c42
3 changed files with 87 additions and 1885 deletions
1962
cmd/stateth/json.go
1962
cmd/stateth/json.go
File diff suppressed because it is too large
Load diff
|
|
@ -39,8 +39,8 @@ var (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
influxdbAdminUser = "admin" // admin username for InfluxDB
|
influxdbAdminUser = "test" // admin username for InfluxDB
|
||||||
influxdbAdminPass = "admin" // admin password for InfluxDB
|
influxdbAdminPass = "test" // admin password for InfluxDB
|
||||||
grafanaUser = "admin" // default Grafana username - should not be changed here without first updating the docker image
|
grafanaUser = "admin" // default Grafana username - should not be changed here without first updating the docker image
|
||||||
grafanaPass = "admin" // default Grafana password - should not be changed here without first udpating the docker image
|
grafanaPass = "admin" // default Grafana password - should not be changed here without first udpating the docker image
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -543,7 +543,7 @@ var (
|
||||||
MetricsInfluxDBEndpointFlag = cli.StringFlag{
|
MetricsInfluxDBEndpointFlag = cli.StringFlag{
|
||||||
Name: "metrics.influxdb.endpoint",
|
Name: "metrics.influxdb.endpoint",
|
||||||
Usage: "Metrics InfluxDB endpoint",
|
Usage: "Metrics InfluxDB endpoint",
|
||||||
Value: "http://127.0.0.1:8086",
|
Value: "http://localhost:8086",
|
||||||
}
|
}
|
||||||
MetricsInfluxDBDatabaseFlag = cli.StringFlag{
|
MetricsInfluxDBDatabaseFlag = cli.StringFlag{
|
||||||
Name: "metrics.influxdb.database",
|
Name: "metrics.influxdb.database",
|
||||||
|
|
@ -553,12 +553,12 @@ var (
|
||||||
MetricsInfluxDBUsernameFlag = cli.StringFlag{
|
MetricsInfluxDBUsernameFlag = cli.StringFlag{
|
||||||
Name: "metrics.influxdb.username",
|
Name: "metrics.influxdb.username",
|
||||||
Usage: "Metrics InfluxDB username",
|
Usage: "Metrics InfluxDB username",
|
||||||
Value: "",
|
Value: "test",
|
||||||
}
|
}
|
||||||
MetricsInfluxDBPasswordFlag = cli.StringFlag{
|
MetricsInfluxDBPasswordFlag = cli.StringFlag{
|
||||||
Name: "metrics.influxdb.password",
|
Name: "metrics.influxdb.password",
|
||||||
Usage: "Metrics InfluxDB password",
|
Usage: "Metrics InfluxDB password",
|
||||||
Value: "",
|
Value: "test",
|
||||||
}
|
}
|
||||||
// The `host` tag is part of every measurement sent to InfluxDB. Queries on tags are faster in InfluxDB.
|
// The `host` tag is part of every measurement sent to InfluxDB. Queries on tags are faster in InfluxDB.
|
||||||
// It is used so that we can group all nodes and average a measurement across all of them, but also so
|
// It is used so that we can group all nodes and average a measurement across all of them, but also so
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue