@@ -645,40 +645,38 @@ LedgerManagerImpl::publishSorobanMetrics()
645
645
auto contractDataEntrySizeBytes =
646
646
mSorobanNetworkConfig ->maxContractDataEntrySizeBytes ();
647
647
648
- registry.NewCounter ({" soroban" , " config" , " contract-max-size-bytes" })
648
+ registry.NewCounter ({" soroban" , " config" , " contract-max-rw-key-byte" })
649
+ .set_count (contractDataKeySizeBytes);
650
+ registry.NewCounter ({" soroban" , " config" , " contract-max-rw-data-byte" })
651
+ .set_count (contractDataEntrySizeBytes);
652
+ registry.NewCounter ({" soroban" , " config" , " contract-max-rw-code-byte" })
649
653
.set_count (contractMaxSizeBytes);
650
- registry.NewCounter ({" soroban" , " config" , " ledger-max-instructions" })
651
- .set_count (ledgerMaxInstructions);
652
- registry.NewCounter ({" soroban" , " config" , " tx-max-instructions" })
654
+ registry.NewCounter ({" soroban" , " config" , " tx-max-cpu-insn" })
653
655
.set_count (txMaxInstructions);
654
- registry.NewCounter ({" soroban" , " config" , " tx-memory-limit " })
656
+ registry.NewCounter ({" soroban" , " config" , " tx-max-mem-byte " })
655
657
.set_count (txMemoryLimit);
656
- registry.NewCounter ({" soroban" , " config" , " ledger-max-read-ledger-entries" })
657
- .set_count (ledgerMaxReadLedgerEntries);
658
- registry.NewCounter ({" soroban" , " config" , " ledger-max-read-bytes" })
659
- .set_count (ledgerMaxReadBytes);
660
- registry
661
- .NewCounter ({" soroban" , " config" , " ledger-max-write-ledger-entries" })
662
- .set_count (ledgerMaxWriteLedgerEntries);
663
- registry.NewCounter ({" soroban" , " config" , " ledger-max-write-bytes" })
664
- .set_count (ledgerMaxWriteBytes);
665
- registry.NewCounter ({" soroban" , " config" , " tx-max-read-ledger-entries" })
658
+ registry.NewCounter ({" soroban" , " config" , " tx-max-read-entry" })
666
659
.set_count (txMaxReadLedgerEntries);
667
- registry.NewCounter ({" soroban" , " config" , " tx-max-read-bytes " })
660
+ registry.NewCounter ({" soroban" , " config" , " tx-max-read-ledger-byte " })
668
661
.set_count (txMaxReadBytes);
669
- registry.NewCounter ({" soroban" , " config" , " tx-max-write-ledger-entries " })
662
+ registry.NewCounter ({" soroban" , " config" , " tx-max-write-entry " })
670
663
.set_count (txMaxWriteLedgerEntries);
671
- registry.NewCounter ({" soroban" , " config" , " tx-max-write-bytes " })
664
+ registry.NewCounter ({" soroban" , " config" , " tx-max-write-ledger-byte " })
672
665
.set_count (txMaxWriteBytes);
673
- registry.NewCounter ({" soroban" , " config" , " bucket-list-target-size-bytes" })
674
- .set_count (bucketListTargetSizeBytes);
675
- registry
676
- .NewCounter ({" soroban" , " config" , " tx-max-contract-events-size-bytes" })
666
+ registry.NewCounter ({" soroban" , " config" , " tx-max-emit-event-byte" })
677
667
.set_count (txMaxContractEventsSizeBytes);
678
- registry.NewCounter ({" soroban" , " config" , " contract-data-key-size-bytes" })
679
- .set_count (contractDataKeySizeBytes);
680
- registry.NewCounter ({" soroban" , " config" , " contract-data-entry-size-bytes" })
681
- .set_count (contractDataEntrySizeBytes);
668
+ registry.NewCounter ({" soroban" , " config" , " ledger-max-cpu-insn" })
669
+ .set_count (ledgerMaxInstructions);
670
+ registry.NewCounter ({" soroban" , " config" , " ledger-max-read-entry" })
671
+ .set_count (ledgerMaxReadLedgerEntries);
672
+ registry.NewCounter ({" soroban" , " config" , " ledger-max-read-ledger-byte" })
673
+ .set_count (ledgerMaxReadBytes);
674
+ registry.NewCounter ({" soroban" , " config" , " ledger-max-write-entry" })
675
+ .set_count (ledgerMaxWriteLedgerEntries);
676
+ registry.NewCounter ({" soroban" , " config" , " ledger-max-write-ledger-byte" })
677
+ .set_count (ledgerMaxWriteBytes);
678
+ registry.NewCounter ({" soroban" , " config" , " bucket-list-target-size-byte" })
679
+ .set_count (bucketListTargetSizeBytes);
682
680
683
681
// then publish the actual ledger usage
684
682
mSorobanLedgerMetrics .publishAndResetMetrics ();
0 commit comments