Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(papyrus_sync): update metrics tracking #4057

Merged
merged 3 commits into from
Feb 13, 2025

Conversation

AlonLStarkWare
Copy link
Contributor

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

@AlonLStarkWare AlonLStarkWare force-pushed the alonl/papyrus_sync_metrics branch from 5182771 to 075dba1 Compare February 10, 2025 15:53
@AlonLStarkWare AlonLStarkWare force-pushed the alonl/papyrus_sync_metrics branch from 075dba1 to b293f88 Compare February 11, 2025 09:58
@AlonLStarkWare AlonLStarkWare changed the title draft - define papyrus metrics in metric_definitions refactor(papyrus_sync): update metrics tracking Feb 11, 2025
@AlonLStarkWare AlonLStarkWare force-pushed the alonl/papyrus_sync_metrics branch from b293f88 to 335500b Compare February 11, 2025 12:25
Copy link
Contributor

@ShahakShama ShahakShama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 12 of 13 files at r1, 8 of 8 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @eitanm-starkware and @noamsp-starkware)


crates/starknet_sequencer_metrics/src/metric_definitions.rs line 92 at r2 (raw file):

    },
    MetricScope::PapyrusSync => {
        { PAPYRUS_HEADER_MARKER, "papyrus_header_marker", "The first block number for which the node does not have a header" },

PAPYRUS/papyrus -> SYNC/apollo_sync
Also, while you're at it, change STATE_SYNC above to SYNC


crates/starknet_sequencer_metrics/src/metric_definitions.rs line 92 at r2 (raw file):

    },
    MetricScope::PapyrusSync => {
        { PAPYRUS_HEADER_MARKER, "papyrus_header_marker", "The first block number for which the node does not have a header" },

In every description, change "the node" into sync

@AlonLStarkWare AlonLStarkWare force-pushed the alonl/papyrus_sync_metrics branch from 335500b to 0d0e00a Compare February 12, 2025 09:24
Copy link
Contributor Author

@AlonLStarkWare AlonLStarkWare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 3 of 13 files reviewed, 2 unresolved discussions (waiting on @eitanm-starkware, @noamsp-starkware, and @ShahakShama)


crates/starknet_sequencer_metrics/src/metric_definitions.rs line 92 at r2 (raw file):

Previously, ShahakShama wrote…

PAPYRUS/papyrus -> SYNC/apollo_sync
Also, while you're at it, change STATE_SYNC above to SYNC

Done.


crates/starknet_sequencer_metrics/src/metric_definitions.rs line 92 at r2 (raw file):

Previously, ShahakShama wrote…

In every description, change "the node" into sync

Done.

Copy link

Benchmark movements:
tree_computation_flow performance improved 😺
tree_computation_flow time: [34.898 ms 34.970 ms 35.043 ms]
change: [-4.0844% -2.6460% -1.3804%] (p = 0.00 < 0.05)
Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
1 (1.00%) low mild
1 (1.00%) high mild

@AlonLStarkWare AlonLStarkWare force-pushed the alonl/papyrus_sync_metrics branch 2 times, most recently from 29aed94 to 4c64bfb Compare February 12, 2025 14:14
@AlonLStarkWare AlonLStarkWare force-pushed the alonl/papyrus_sync_metrics branch from 4c64bfb to fdc669a Compare February 12, 2025 15:17
Copy link
Contributor

@ShahakShama ShahakShama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 7 files at r3, 1 of 4 files at r4, 5 of 5 files at r5, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @eitanm-starkware and @noamsp-starkware)

@AlonLStarkWare AlonLStarkWare added this pull request to the merge queue Feb 13, 2025
Merged via the queue into main with commit 42e6e3a Feb 13, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants