Skip to content

Commit 839b9e2

Browse files
authored
chore(monitor/indexer): add routescan id hash to logs (#1831)
Adds routescan cross transaction id hash to support linking from grafana to routescan. issue: none
1 parent dc75ed5 commit 839b9e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

monitor/xmonitor/indexer/indexer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ func (i *indexer) instrumentMsg(ctx context.Context, link *MsgLink) error {
403403
"latency", s.Latency,
404404
"msg_tx", msg.TxHash,
405405
"receipt_tx", receipt.TxHash,
406+
"id_hash", msg.Hash(),
406407
)
407408

408409
return nil

0 commit comments

Comments
 (0)