Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

[V0.12] Provisions to direct metrics output from a specific testnet to cloud influxdb #3515

Merged
merged 2 commits into from
Mar 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ci/testnet-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ EOF
exit 0
fi

if [[ -n $TESTNET_DB_HOST ]]; then
SOLANA_METRICS_PARTIAL_CONFIG="host=$TESTNET_DB_HOST,$SOLANA_METRICS_PARTIAL_CONFIG"
fi

export SOLANA_METRICS_CONFIG="db=$TESTNET,$SOLANA_METRICS_PARTIAL_CONFIG"
echo "SOLANA_METRICS_CONFIG: $SOLANA_METRICS_CONFIG"
source scripts/configure-metrics.sh
Expand Down Expand Up @@ -102,6 +106,7 @@ steps:
env:
TESTNET: "$TESTNET"
TESTNET_OP: "$TESTNET_OP"
TESTNET_DB_HOST: "$TESTNET_DB_HOST"
EOF
) | buildkite-agent pipeline upload
exit 0
Expand Down