Skip to content
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

network: add near_dropped_message_by_type_and_reason_count metric #6678

Merged
merged 5 commits into from
Apr 27, 2022

Conversation

mina86
Copy link
Contributor

@mina86 mina86 commented Apr 23, 2022

Add near_dropped_message_by_type_and_reason_count Prometheus metric
and delete near_drop_message_unknown_account,
near_<msg-type>_dropped and near_dropped_messages_count metrics.
The new metric includes all and more information than the previous
metrics provided and does so in a more consistent format.

This not only improves the metrics but also makes the code simpler by
eliminating peer_messages hash map.

@mina86 mina86 requested a review from a team as a code owner April 23, 2022 15:18
@mina86 mina86 requested a review from mm-near April 23, 2022 15:18
Add near_dropped_message_by_type_and_reason_count Prometheus metric
and delete `near_drop_message_unknown_account`,
`near_<msg-type>_dropped` and `near_dropped_messages_count` metrics.
The new metric includes all and more information than the previous
metrics provided and does so in a more consistent format.

This not only improves the metrics but also makes the code simpler by
eliminating `peer_messages` hash map.
@near-bulldozer near-bulldozer bot merged commit 5756b35 into near:master Apr 27, 2022
@mina86 mina86 deleted the m branch April 27, 2022 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants