Skip to content

Commit c918bba

Browse files
committed
working
1 parent 3ac7264 commit c918bba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cranker/src/metrics.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use crate::CrankerError;
99

1010
pub fn emit_error(message: String) {
1111
error!(message);
12-
datapoint_info!("sdi-test-error", ("message", message, String),);
12+
datapoint_info!("sdi-error", ("message", message, String),);
1313
}
1414

1515
pub async fn emit_heartbeat(rpc_client: Arc<RpcClient>, tick: u64) -> Result<(), CrankerError> {
@@ -19,7 +19,7 @@ pub async fn emit_heartbeat(rpc_client: Arc<RpcClient>, tick: u64) -> Result<(),
1919
(current_slot as f64 % DEFAULT_SLOTS_PER_EPOCH as f64) / DEFAULT_SLOTS_PER_EPOCH as f64;
2020

2121
datapoint_info!(
22-
"sdi-test-tick",
22+
"sdi-tick",
2323
("tick", tick, i64),
2424
("current-epoch", current_epoch, i64),
2525
("current-slot", current_slot, i64),
@@ -36,7 +36,7 @@ pub fn emit_crank(
3636
claimed_receipts: u64,
3737
) {
3838
datapoint_info!(
39-
"sdi-test-crank",
39+
"sdi-crank",
4040
("total-deposit-receipts", deposit_receipts, i64),
4141
("future-deposits", future_deposits, i64),
4242
("not-yet-expired-receipts", not_yet_expired_receipts, i64),
@@ -58,7 +58,7 @@ pub fn emit_deposit_receipt(deposit_receipt: &DepositReceipt) {
5858

5959
let account_string = format!("{:?}", deposit_receipt);
6060
datapoint_info!(
61-
"sdi-test-deposit-receipt",
61+
"sdi-deposit-receipt",
6262
("base", base, String),
6363
("cool-down-seconds", cool_down_seconds, i64),
6464
("deposit-time", deposit_time, i64),

0 commit comments

Comments
 (0)