-
Notifications
You must be signed in to change notification settings - Fork 52
feat(apollo_monitoring_endpoint): add getting mempool snapshot from the monitoring #5088
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
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
e8afdb8
to
df68ca3
Compare
89ff773
to
4d97923
Compare
df68ca3
to
7d7e403
Compare
b247906
to
9c25709
Compare
9c25709
to
4c3230a
Compare
7d7e403
to
320a985
Compare
4c3230a
to
c72b0b4
Compare
c72b0b4
to
57d4e32
Compare
57d4e32
to
4fe1c7a
Compare
1a9ed8b
to
e4c2aca
Compare
f125330
to
a17174c
Compare
e4c2aca
to
cea46eb
Compare
a17174c
to
ee502a0
Compare
cea46eb
to
8e60985
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 4 files at r3, 1 of 3 files at r4, 2 of 2 files at r5, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @lev-starkware)
crates/starknet_monitoring_endpoint/src/monitoring_endpoint.rs
line 136 at r5 (raw file):
// Returns Mempool snapshot async fn mempool_snapshot(
Please insrument this function and also error log the error returned from the mempool client.
crates/starknet_sequencer_node/src/components.rs
line 184 at r5 (raw file):
let monitoring_endpoint = match config.components.monitoring_endpoint.execution_mode { ActiveComponentExecutionMode::Enabled => { let mempool_client = if mempool.is_some() {
Does this mean it will work only if the monitoring server and the mempool are in the same pod?
Benchmark movements: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @alonh5)
crates/starknet_monitoring_endpoint/src/monitoring_endpoint.rs
line 136 at r5 (raw file):
Previously, alonh5 (Alon Haramati) wrote…
Please insrument this function and also error log the error returned from the mempool client.
Done.
crates/starknet_sequencer_node/src/components.rs
line 184 at r5 (raw file):
Previously, alonh5 (Alon Haramati) wrote…
Does this mean it will work only if the monitoring server and the mempool are in the same pod?
We have a monitoring endpoint in every pod. So we could always obtain the mempool dump.
ee502a0
to
6f77522
Compare
8e60985
to
c699f9b
Compare
c699f9b
to
b8abc79
Compare
Benchmark movements: |
b8abc79
to
165e454
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 9 of 9 files at r6, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @lev-starkware)
165e454
to
4abeceb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r8, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @lev-starkware)
No description provided.