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

Move RPC metrics registration after its client's initialization #3488

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

yacovm
Copy link
Contributor

@yacovm yacovm commented Oct 23, 2024

Why this should be merged

It makes no sense to have a metrics collector that uses RPC invocations to be registered before its remote RPC service has been initialized.

Changed the order of initialization accordingly.

How this works

Switched initialization order of gRPC Initialize invocation and the metrics registration.

How this was tested

CI

It makes no sense to have a metrics collector that uses RPC invocations to be registered
before its RPC client has been initialized.

Changed the order of initialization accordingly.

Signed-off-by: Yacov Manevich <[email protected]>
@StephenButtolph StephenButtolph added the cleanup Code quality improvement label Oct 23, 2024
@StephenButtolph StephenButtolph added this to the v1.11.13 milestone Oct 23, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Oct 23, 2024
Merged via the queue into ava-labs:master with commit e8f4c99 Oct 23, 2024
23 checks passed
yacovm added a commit to yacovm/avalanchego that referenced this pull request Oct 25, 2024
yacovm added a commit to yacovm/avalanchego that referenced this pull request Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement
Projects
Status: Done ✅
Development

Successfully merging this pull request may close these issues.

3 participants