downgrade individual per-program-timing to trace to reduce writes to influx (#22471)

(cherry picked from commit 6614727be8)

Co-authored-by: Tao Zhu <tao@solana.com>
This commit is contained in:
mergify[bot]
2022-01-13 02:37:47 +00:00
committed by GitHub
parent 676c43b9d2
commit 4ee6bc9a93

View File

@ -232,7 +232,7 @@ impl ReplaySlotStats {
); );
for (pubkey, time) in per_pubkey_timings.iter().take(5) { for (pubkey, time) in per_pubkey_timings.iter().take(5) {
datapoint_info!( datapoint_trace!(
"per_program_timings", "per_program_timings",
("slot", slot as i64, i64), ("slot", slot as i64, i64),
("pubkey", pubkey.to_string(), String), ("pubkey", pubkey.to_string(), String),
@ -255,7 +255,7 @@ impl ReplaySlotStats {
("accumulated_units", total_units, i64), ("accumulated_units", total_units, i64),
("count", total_count, i64), ("count", total_count, i64),
("errored_units", total_errored_units, i64), ("errored_units", total_errored_units, i64),
("count", total_errored_count, i64) ("errored_count", total_errored_count, i64)
); );
} }
} }