Skip to main content

Module config

Module config 

Source

Structs§

DynamicPeerValidationConfig
DynamicPeerValidationConfig controls what sui-node, sui-bridge, and hashi-server binaries (each functioning as a node in a Sui-anchored network) we’ll accept metrics from. Peer membership is determined dynamically via Sui gRPC calls to a full node — sui validator set and bridge committee are always resolved from on-chain state, and hashi membership is resolved when hashi_object_id is set.
ProxyConfig
RemoteWriteConfig
StaticPeerValidationConfig
StaticPeerValidationConfig, unlike the DynamicPeerValidationConfig, is not determined dynamically from rpc calls. It instead searches a local directory for pub keys that we will add to an allow list.
StaticPubKey
StaticPubKey holds a human friendly name, ip and the key file for the pub key if you don’t have a valid public routable ip, use an ip from 169.254.0.0/16.

Functions§

load
load our config file from a path