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

Add few more metrics data points #19624

Merged
merged 5 commits into from
Sep 15, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
restore changes to sigverify_stage in fav of #19674
  • Loading branch information
tao-stones committed Sep 14, 2021
commit 0122c6219e0e52c5e527381263c14f2b45bbdd09
5 changes: 2 additions & 3 deletions core/src/sigverify_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use crate::sigverify;
use crossbeam_channel::{SendError, Sender as CrossbeamSender};
use solana_measure::measure::Measure;
use solana_metrics::datapoint_info;
use solana_metrics::datapoint_debug;
use solana_perf::packet::Packets;
use solana_perf::perf_libs;
use solana_sdk::timing;
Expand Down Expand Up @@ -97,12 +97,11 @@ impl SigVerifyStage {
(len as f32 / verify_batch_time.as_s())
);

datapoint_info!(
datapoint_debug!(
"sigverify_stage-total_verify_time",
("num_batches", batch_len, i64),
("num_packets", len, i64),
("verify_time_ms", verify_batch_time.as_ms(), i64),
("verify_time_us", verify_batch_time.as_us(), i64),
("recv_time", recv_time, i64),
);

Expand Down