8000 Metrics for precommit · Issue #5243 · cometbft/cometbft · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Metrics for precommit #5243
Closed
Closed
@technicallyty

Description

@technicallyty

unable to locate any metrics in cometbft related to precommits. in the hub, we need to know:

  • The time between receiving a quorum of precommits and moving to the next block
  • The count and stake percentage of votes which were accepted after we had received a quorum of precommits

this currently exists for prevote: we have quorum_prevote_delay, but nothing for precommits.(

QuorumPrevoteDelay: prometheus.NewGaugeFrom(stdprometheus.GaugeOpts{
Namespace: namespace,
Subsystem: MetricsSubsystem,
Name: "quorum_prevote_delay",
Help: "Interval in seconds between the proposal timestamp and the timestamp of the earliest prevote that achieved a quorum.",
}, append(labels, "proposer_address")).With(labelsAndValues...),
).

important:

  • How much stake and how many votes we accumulated during the timeout commit
  • How long it took to get certain percentages of the votes that came in during timeout commit

extra:

  • How long it took each node to get 2/3 stake precommits
  • How long the timeout commit phase is lasting on each node
  • How long it took to get certain percentages of the votes that came in during timeout commit

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0