2019-06-13 08:28:31 -07:00
|
|
|
# |source| this file to enable metrics in the current shell
|
2019-05-06 16:44:06 -07:00
|
|
|
|
2019-06-11 13:22:47 -07:00
|
|
|
export SOLANA_METRICS_CONFIG="host=http://localhost:8086,db=testnet,u=write,p=write"
|
2019-05-06 16:44:06 -07:00
|
|
|
|
|
|
|
# shellcheck source=scripts/configure-metrics.sh
|
2019-06-13 08:28:31 -07:00
|
|
|
source "$(cd "$(dirname "${BASH_SOURCE[0]}")"/../.. || exit 1; pwd)"/scripts/configure-metrics.sh
|
2019-05-06 16:44:06 -07:00
|
|
|
|
|
|
|
echo Local metrics enabled
|