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: remove near_<msg-type>_{total,bytes} metrics #6661

Merged
merged 3 commits into from
Apr 21, 2022

Conversation

mina86
Copy link
Contributor

@mina86 mina86 commented Apr 21, 2022

Remove near_<msg-type>_total metrics. Data in those metrics are
available in a near_peer_message_received_by_type_total metric with
a type label which is easier to deal with.

Similarly, replace near_<msg-type>_bytes metrics with a single new
near_peer_message_received_by_type_bytes metric using type label.

The near_<msg-type>_dropped metric is left as is for now but will be
dealt with in another change.

Remove near_<msg-type>_total metrics.  Data in those metrics are
available in a near_peer_message_received_by_type_total{type} metric
which is easier to deal with since it’s a single metric with a label
for all types rather than multiple metrics.

Similarly, replace near_<msg-type>_bytes metrics with a new
near_peer_message_received_by_type_bytes metric.

The near_<msg-type>_dropped metric is left as is for now but will be
dealt with in another change.
@mina86 mina86 requested a review from a team as a code owner April 21, 2022 15:54
@mina86 mina86 requested a review from matklad April 21, 2022 15:54
@matklad matklad requested review from nikurt and removed request for matklad April 21, 2022 16:10
@near-bulldozer near-bulldozer bot merged commit 14e6f39 into near:master Apr 21, 2022
@mina86 mina86 deleted the mon branch April 21, 2022 16:54
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.

None yet

2 participants