Skip to content

Commit

Permalink
Added timestamp to website metrics json file
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarengathomas committed Jan 3, 2025
1 parent b6c80d1 commit 7bc4acf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/presentation/cli/CollectMetrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ const execute = async (): Promise<void> => {
const totalTransactions = parseInt(stats.total_transactions)
const content = JSON.stringify({
'btc-transactions': totalTransactions.toString(),
'latest-keystone': blockNumber.toString()
'latest-keystone': blockNumber.toString(),
timestamp: new Date().getTime()
})

console.info('Hemi Connector | Creating metrics file')
Expand Down

0 comments on commit 7bc4acf

Please sign in to comment.