Skip to content

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 <yacov.manevich@avalabs.org>
@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
…labs#3488)

Signed-off-by: Yacov Manevich <yacov.manevich@avalabs.org>
yacovm added a commit to yacovm/avalanchego that referenced this pull request Oct 25, 2024
…labs#3488)

Signed-off-by: Yacov Manevich <yacov.manevich@avalabs.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants