Repository navigation
apollo_network_benchmark: moved metric declarations to crate - #12724
Closed
sirandreww-starkware wants to merge 1 commit into
Conversation
This was referenced Feb 19, 2026
This was referenced Feb 19, 2026
Contributor
Author
This was referenced Feb 19, 2026
sirandreww-starkware
marked this pull request as ready for review
February 19, 2026 07:27
sirandreww-starkware
force-pushed
the
02-18-apollo_network_benchmark_moved_metric_declerations_to_crate
branch
from
February 19, 2026 08:04
f32a6eb to
9fd8303
Compare
guy-starkware
approved these changes
Feb 19, 2026
guy-starkware
left a comment
Contributor
There was a problem hiding this comment.
@guy-starkware reviewed 3 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on sirandreww-starkware).
sirandreww-starkware
force-pushed
the
02-18-apollo_network_benchmark_moved_metric_declerations_to_crate
branch
from
March 16, 2026 15:13
9fd8303 to
80cca2e
Compare
sirandreww-starkware
force-pushed
the
02-18-apollo_network_benchmark_renamed_node_binary
branch
from
March 22, 2026 17:09
1e9e611 to
b2b0bd8
Compare
sirandreww-starkware
force-pushed
the
02-18-apollo_network_benchmark_moved_metric_declerations_to_crate
branch
from
March 22, 2026 17:09
80cca2e to
9bb267b
Compare
sirandreww-starkware
force-pushed
the
02-18-apollo_network_benchmark_renamed_node_binary
branch
from
March 30, 2026 11:08
b2b0bd8 to
8d3bd45
Compare
sirandreww-starkware
force-pushed
the
02-18-apollo_network_benchmark_moved_metric_declerations_to_crate
branch
from
March 30, 2026 11:08
9bb267b to
3c1df25
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Note
Low Risk
Pure refactor that relocates metric declarations without changing metric names or runtime logic; risk is limited to potential import/path or linkage issues.
Overview
Moves the
define_metrics!declarations for allapollo_network_benchmarkgauges/counters/histograms from theapollo_network_benchmark_nodebinary into a new sharedapollo_network_benchmark::metricsmodule, and exposes it vialib.rs.Updates the node binary’s
metrics.rstopub use apollo_network_benchmark::metrics::*and drops now-unneeded imports/constants, while keeping the existing registration and helper functions intact.Written by Cursor Bugbot for commit 3c1df25. This will update automatically on new commits. Configure here.