From eb597cd60f2c360e871b28cce854025f84b03b7a Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Wed, 28 Oct 2020 13:07:01 -0600 Subject: [PATCH] docs: Reference metrics envvars for each cluster --- docs/src/clusters.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/src/clusters.md b/docs/src/clusters.md index 2cb8749a37..6685e7a140 100644 --- a/docs/src/clusters.md +++ b/docs/src/clusters.md @@ -24,6 +24,10 @@ Explorers: - Devnet may be subject to ledger resets - Devnet typically runs a newer software version than Mainnet Beta - Gossip entrypoint for Devnet: `entrypoint.devnet.solana.com:8001` +- Metrics environment variable for Devnet: +```bash +export SOLANA_METRICS_CONFIG="host=https://metrics.solana.com:8086,db=devnet,u=scratch_writer,p=topsecret" +``` - RPC URL for Devnet: `https://devnet.solana.com` ##### Example `solana` command-line configuration @@ -65,6 +69,10 @@ The `--trusted-validator`s is operated by Solana - Testnet typically runs a newer software release than both Devnet and Mainnet Beta - Gossip entrypoint for Testnet: `entrypoint.testnet.solana.com:8001` +- Metrics environment variable for Testnet: +```bash +export SOLANA_METRICS_CONFIG="host=https://metrics.solana.com:8086,db=tds,u=testnet_write,p=c4fa841aa918bf8274e3e2a44d77568d9861b3ea" +``` - RPC URL for Testnet: `https://testnet.solana.com` ##### Example `solana` command-line configuration @@ -112,6 +120,10 @@ Currently smart contracts, rewards, and inflation are disabled. [Trust Wallet](wallet-guide/trust-wallet.md), the wallet will always be connecting to Mainnet Beta. - Gossip entrypoint for Mainnet Beta: `mainnet-beta.solana.com:8001` +- Metrics environment variable for Mainnet Beta: +```bash +export SOLANA_METRICS_CONFIG="host=https://metrics.solana.com:8086,db=mainnet-beta,u=mainnet-beta_write,p=password" +``` - RPC URL for Mainnet Beta: `https://api.mainnet-beta.solana.com` ##### Example `solana` command-line configuration