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
a62d5123cd
commit
beb509ffce
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 (
|
||||
influxdbAdminUser = "admin" // admin username for InfluxDB
|
||||
influxdbAdminPass = "admin" // admin password for InfluxDB
|
||||
influxdbAdminUser = "test" // admin username for InfluxDB
|
||||
influxdbAdminPass = "test" // admin password for InfluxDB
|
||||
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
|
||||
)
|
||||
|
|
|
|||
|
|
@ -543,7 +543,7 @@ var (
|
|||
MetricsInfluxDBEndpointFlag = cli.StringFlag{
|
||||
Name: "metrics.influxdb.endpoint",
|
||||
Usage: "Metrics InfluxDB endpoint",
|
||||
Value: "http://127.0.0.1:8086",
|
||||
Value: "http://localhost:8086",
|
||||
}
|
||||
MetricsInfluxDBDatabaseFlag = cli.StringFlag{
|
||||
Name: "metrics.influxdb.database",
|
||||
|
|
@ -553,12 +553,12 @@ var (
|
|||
MetricsInfluxDBUsernameFlag = cli.StringFlag{
|
||||
Name: "metrics.influxdb.username",
|
||||
Usage: "Metrics InfluxDB username",
|
||||
Value: "",
|
||||
Value: "test",
|
||||
}
|
||||
MetricsInfluxDBPasswordFlag = cli.StringFlag{
|
||||
Name: "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.
|
||||
// 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