• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

iotaledger / iota / 17450599605
63%

Build:
DEFAULT BRANCH: develop
Ran 04 Sep 2025 04:04AM UTC
Jobs 1
Files 1417
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Sep 2025 01:23PM UTC coverage: 65.831% (-0.02%) from 65.853%
17450599605

push

github

web-flow
upstream(iota-indexer): latency metrics for objects version (#8456)

# Description of change

This PR includes an upstream path based on this
[PR](https://github.com/MystenLabs/sui/pull/19750).

Add missing metrics and logs for latency on objects version and objects
version chunks. Also standardized some of the function names (object
versions -> objects version).

## Links to any relevant issues

fixes #8435 

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [ ] Patch-specific tests (correctness, functionality coverage)

Ran indexer by processing testnet checkpoints:

```shell
cargo r -p iota-indexer -- --db-url=postgres://postgres:postgrespw@localhost/iota_indexer --rpc-client-url=http://access-0-wg.r.testnet.iota.cafe:9001 --fullnode-sync-worker --reset-db
```
Also checked if new added metrics were present:
(`indexer_checkpoint_db_commit_latency_objects_version`,
`indexer_checkpoint_db_commit_latency_objects_version_chunks`)

```shell
curl http://localhost:9184/metrics | grep "objects_version"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 90262  100 90262    0     0  41.1M      0 --:--:-- --:--:-- --:--:-- 43.0M
# HELP indexer_checkpoint_db_commit_latency_objects_version Time spent committing objects version
# TYPE indexer_checkpoint_db_commit_latency_objects_version histogram
indexer_checkpoint_db_commit_latency_objects_version_bucket{le="0.001"} 0
indexer_checkpoint_db_commit_latency_objects_version_bucket{le="0.002"} 0
indexer_checkpoint_db_commit_latency_objects_version_bucket{le="0.005"} 1
indexer_checkpoint_db_commit_latency_objects_version_bucket{le="0.01"} 35
indexer_checkpoint_db_commit_latency_objects_version_bucket{le="0.02"} 97
indexer_checkpoint_db_commit_latency_objects_version_bucket{le="0.05"} 134
indexer_checkpoint_db_commit_latency_objects_version_bucket... (continued)

0 of 25 new or added lines in 2 files covered. (0.0%)

93 existing lines in 17 files now uncovered.

228647 of 347322 relevant lines covered (65.83%)

2267323.8 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
12
0.0
0.0% crates/iota-indexer/src/metrics.rs
13
0.0
0.0% crates/iota-indexer/src/store/pg_indexer_store.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.18
-1.47% crates/iota-cluster-test/src/test_case/native_transfer_test.rs
1
99.42
-0.08% crates/iota-core/src/execution_cache/unit_tests/writeback_cache_tests.rs
1
74.83
0.0% crates/iota-types/src/crypto.rs
1
72.43
-0.1% crates/test-cluster/src/lib.rs
2
82.05
-0.09% crates/iota-core/src/authority.rs
2
89.35
-0.69% crates/iota-core/src/connection_monitor.rs
2
0.0
0.0% crates/iota-indexer/src/store/pg_indexer_store.rs
2
89.14
-0.28% crates/iota-network/src/state_sync/mod.rs
3
88.69
-1.79% crates/iota-surfer/src/surfer_state.rs
4
82.03
-2.34% crates/iota-surfer/src/surf_strategy.rs
4
65.0
-1.54% crates/iota-types/src/messages_consensus.rs
5
94.12
-0.23% crates/starfish/core/src/authority_service.rs
5
98.1
-1.58% crates/transaction-fuzzer/src/account_universe/transfer_gen.rs
11
91.36
-1.27% crates/iota-core/src/consensus_adapter.rs
13
91.09
-0.74% consensus/core/src/synchronizer.rs
13
59.69
-1.67% crates/iota-core/src/authority/authority_store_pruner.rs
23
74.11
-3.42% consensus/core/src/authority_service.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 17450599605.1 04 Sep 2025 04:04AM UTC 1419
65.82
GitHub Action Run
Source Files on build 17450599605
  • Tree
  • List 1417
  • Changed 27
  • Source Changed 2
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17450599605
  • 874172ff on github
  • Prev Build on develop (#17420368135)
  • Next Build on develop (#17481078579)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc