|
@ -223,14 +223,14 @@ func PrometheusMetrics(namespace string, labelsAndValues ...string) *Metrics { |
|
|
Name: "quorum_prevote_message_delay", |
|
|
Name: "quorum_prevote_message_delay", |
|
|
Help: "Difference in seconds between the proposal timestamp and the timestamp " + |
|
|
Help: "Difference in seconds between the proposal timestamp and the timestamp " + |
|
|
"of the latest prevote that achieved a quorum in the prevote step.", |
|
|
"of the latest prevote that achieved a quorum in the prevote step.", |
|
|
}, labels).With(labelsAndValues...), |
|
|
|
|
|
|
|
|
}, append(labels, "proposer_address")).With(labelsAndValues...), |
|
|
FullPrevoteMessageDelay: prometheus.NewGaugeFrom(stdprometheus.GaugeOpts{ |
|
|
FullPrevoteMessageDelay: prometheus.NewGaugeFrom(stdprometheus.GaugeOpts{ |
|
|
Namespace: namespace, |
|
|
Namespace: namespace, |
|
|
Subsystem: MetricsSubsystem, |
|
|
Subsystem: MetricsSubsystem, |
|
|
Name: "full_prevote_message_delay", |
|
|
Name: "full_prevote_message_delay", |
|
|
Help: "Difference in seconds between the proposal timestamp and the timestamp " + |
|
|
Help: "Difference in seconds between the proposal timestamp and the timestamp " + |
|
|
"of the latest prevote that achieved 100% of the voting power in the prevote step.", |
|
|
"of the latest prevote that achieved 100% of the voting power in the prevote step.", |
|
|
}, labels).With(labelsAndValues...), |
|
|
|
|
|
|
|
|
}, append(labels, "proposer_address")).With(labelsAndValues...), |
|
|
ProposalTimestampDifference: prometheus.NewHistogramFrom(stdprometheus.HistogramOpts{ |
|
|
ProposalTimestampDifference: prometheus.NewHistogramFrom(stdprometheus.HistogramOpts{ |
|
|
Namespace: namespace, |
|
|
Namespace: namespace, |
|
|
Subsystem: MetricsSubsystem, |
|
|
Subsystem: MetricsSubsystem, |
|
|