Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IrisMetrics ¶ added in v0.3.0
type IrisMetrics struct { Candidates metrics.Gauge // Total power of all validators. ValidatorsPower metrics.Gauge // Number of validators who did not sign. MissingValidators metrics.Gauge // Total power of the missing validators. MissingValidatorsPower metrics.Gauge // Number of validators who tried to double sign. ByzantineValidators metrics.Gauge // Total power of the byzantine validators. ByzantineValidatorsPower metrics.Gauge //average block interval in last 100 blocks (in seconds) AvgBlockIntervalSeconds metrics.Gauge //Voting Power of the validator VotingPower metrics.Gauge //ratio of Voting Power of the validator to total voting power VotingPowerRatio metrics.Gauge // ratio of signed blocks in last 100 blocks UpTime metrics.Gauge // missed precommited since monitor up MissedPrecommits metrics.Gauge // given address Address types.Address SignedCount int MissedCount int // contains filtered or unexported fields }
func NewIrisMetrics ¶ added in v0.3.0
func NewIrisMetrics() IrisMetrics
type Metrics ¶
type Metrics struct { TmMetrics consensus.Metrics IrisMetrics IrisMetrics }
func PrometheusMetrics ¶
func PrometheusMetrics() *Metrics
PrometheusMetrics returns Metrics build using Prometheus client library.
func (*Metrics) RecordMetrics ¶
func (*Metrics) SetAddress ¶ added in v0.3.3
Click to show internal directories.
Click to hide internal directories.