-
Notifications
You must be signed in to change notification settings - Fork 394
metrics: normalize naming scheme #8016
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
src/disco/metrics/metrics.xml
Outdated
| - Dup = Duplicate | ||
| - Frag = Fragment | ||
| - Txn = Transaction | ||
| - Pkt = Packet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather just remove abbreviations for "dup", "frag", "txn", and "packet"
8518d89 to
eb90e5e
Compare
src/disco/metrics/metrics.xml
Outdated
|
|
||
| Abbreviations are both plural and singular depending on context, and do | ||
| not need to be made plural. For example TxnRx means "transactions | ||
| received" and should not be changed to TxnsRx. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The metric should just be called transactions_received
src/disco/metrics/metrics.xml
Outdated
| <counter name="InitialTokenLen" enum="QuicInitialTokenLen" summary="Number of Initial packets grouped by token length" /> | ||
| <counter name="TxnRx" enum="TpuRecvType" summary="Transactions received via TPU" /> | ||
|
|
||
| <counter name="TxnOverruns" summary="Transactions overrun before reassembly" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an inconsistency, sometimes the last is a verb (overran) sometimes a noun (overruns)
eb90e5e to
e505a2f
Compare
No description provided.