solana/metrics/scripts/enable.sh

11 lines
310 B
Bash
Raw Normal View History

#!/usr/bin/env bash
SOLANA_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/../.. || exit 1; pwd)"
2019-05-10 08:33:58 -07:00
export SOLANA_METRICS_CONFIG="host=http://localhost:8086,db=testnet,u=admin,p=admin"
# shellcheck source=scripts/configure-metrics.sh
source "$SOLANA_ROOT"/scripts/configure-metrics.sh
echo Local metrics enabled