Versions in this module Expand all Collapse all v0 v0.19.9 Oct 25, 2021 Changes in this version + const XNameSpace + func CombineMonitorsRes(res ...string) string + func DefaultPrometheusConfig() *prometheusConfig + func ParsePort(inputStr string) uint64 + type OrderMetric struct + CanceledNum metrics.Gauge + ExpiredNum metrics.Gauge + FullFilledNum metrics.Gauge + PartialFilledNum metrics.Gauge + PendingNum metrics.Gauge + func DefaultOrderMetrics(config *prometheusConfig) *OrderMetric + func NewOrderMetrics(labelsAndValues ...string) *OrderMetric + func NopOrderMetrics() *OrderMetric + type PortMetrics struct + ConnectingNums metrics.Gauge + func GetPortMetrics() *PortMetrics + func NewPortMetrics(labelsAndValues ...string) *PortMetrics + func NopPortMetrics() *PortMetrics + func (portMetrics *PortMetrics) SetConnectingNums(connectingMap map[uint64]int) + type PortMonitor struct + func GetPortMonitor() *PortMonitor + func NewPortMonitor(ports []string) *PortMonitor + func (pm *PortMonitor) GetConnectingMap() map[uint64]int + func (pm *PortMonitor) GetResultString() string + func (pm *PortMonitor) Run() error + type StreamMetrics struct + CacheSize metrics.Gauge + func DefaultStreamMetrics(config *prometheusConfig) *StreamMetrics + func NewStreamMetrics(labelsAndValues ...string) *StreamMetrics + func NopStreamMetrics() *StreamMetrics + type TendermintMonitor struct + func GetTendermintMonitor() *TendermintMonitor + func NewTendermintMonitor(portInput string) *TendermintMonitor + func (tm *TendermintMonitor) GetResultString() string + func (tm *TendermintMonitor) Run(height int64) error