linera-io/linera-protocol

Improve metric help messages

Open

#1,553 建立於 2024年1月24日

在 GitHub 查看
 (2 留言) (0 反應) (1 負責人)Rust (32,149 star) (2,354 fork)batch import
documentationgood first issue

描述

Motivation

When metric counters are created, they need a name string and a description string. The description is used as a help message, and should describe the metric in plain English. However, there are many metrics that use very similar strings for the names and the descriptions, which make the help message practically useless.

Here is an example: https://github.com/linera-io/linera-protocol/blob/589ddefa8cbafc731952bcab0b5c5c3150949111/linera-chain/src/chain.rs#L68-L69

Proposal

Go through all created metrics and ensure they have helpful and clear descriptions.

貢獻者指南