Update init script to enable prometheus metrics
All checks were successful
Build / build (pull_request) Successful in 3m13s
E2E Tests / test-e2e (pull_request) Successful in 3m59s
Lint / Run golangci-lint (pull_request) Successful in 5m20s
Integration Tests / test-integration (pull_request) Successful in 2m10s
Unit Tests / test-unit (pull_request) Successful in 3m19s
SDK Tests / sdk_tests (pull_request) Successful in 11m21s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 9m46s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 15m7s
All checks were successful
Build / build (pull_request) Successful in 3m13s
E2E Tests / test-e2e (pull_request) Successful in 3m59s
Lint / Run golangci-lint (pull_request) Successful in 5m20s
Integration Tests / test-integration (pull_request) Successful in 2m10s
Unit Tests / test-unit (pull_request) Successful in 3m19s
SDK Tests / sdk_tests (pull_request) Successful in 11m21s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 9m46s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 15m7s
This commit is contained in:
parent
816e1623ac
commit
0a6105b97b
@ -66,6 +66,11 @@ if [ "$1" == "clean" ] || [ ! -d "$HOME/.laconicd/data/blockstore.db" ]; then
|
||||
sed -i 's/create_empty_blocks = true/create_empty_blocks = false/g' $HOME/.laconicd/config/config.toml
|
||||
fi
|
||||
|
||||
# Enable telemetry (prometheus metrics: http://localhost:1317/metrics?format=prometheus)
|
||||
sed -i 's/enabled = false/enabled = true/g' $HOME/.laconicd/config/app.toml
|
||||
sed -i 's/prometheus-retention-time = 0/prometheus-retention-time = 60/g' $HOME/.laconicd/config/app.toml
|
||||
sed -i 's/prometheus = false/prometheus = true/g' $HOME/.laconicd/config/config.toml
|
||||
|
||||
# Allocate genesis accounts (cosmos formatted addresses)
|
||||
laconicd genesis add-genesis-account $KEY 100000000000000000000000000photon --keyring-backend $KEYRING
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user