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

IGNITE-14428 Formalizes the names of the metrics included in the metric registry. #8937

Merged
merged 7 commits into from Apr 13, 2021

Conversation

petrov-mg
Copy link
Contributor

@petrov-mg petrov-mg commented Mar 26, 2021

Current PR constraints name of the metrics that can be registered through MetricRegistry#register(Metric) - it must start with the name of metric registry it's registered into.

The purpose of this change is to make all metrics that belongs to one MetricRegistry have the name that obeys mentioned above rule regardless how they were registered. It helps to use a consistent approach to work with all metrics.

The following metric names was changed to obey this rule:

JoinedNodes -> io.discovery.JoinedNodes
LeftNodes -> io.discovery.LeftNodes
FailedNodes -> io.discovery.FailedNodes
PendingMessagesRegistered -> io.discovery.PendingMessagesRegistered
CommunicationErrors -> io.discovery.CommunicationErrors
CurrentTopologyVersion -> io.discovery.CurrentTopologyVersion

Thank you for submitting the pull request to the Apache Ignite.

In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:

The Contribution Checklist

  • There is a single JIRA ticket related to the pull request.
  • The web-link to the pull request is attached to the JIRA ticket.
  • The JIRA ticket has the Patch Available state.
  • The pull request body describes changes that have been made.
    The description explains WHAT and WHY was made instead of HOW.
  • The pull request title is treated as the final commit message.
    The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
  • A reviewer has been mentioned through the JIRA comments
    (see the Maintainers list)
  • The pull request has been checked by the Teamcity Bot and
    the green visa attached to the JIRA ticket (see TC.Bot: Check PR)

Notes

If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.

Copy link
Contributor

@NSAmelchev NSAmelchev left a comment

Choose a reason for hiding this comment

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

@ololo3000 , LGTM

@nizhikov , Hi. Could you take a look too, please?

@petrov-mg
Copy link
Contributor Author

@nizhikov Could you confirm please that you are willing to take a look when you will have spare time?

@nizhikov
Copy link
Contributor

@ololo3000 I left couple of minor comments. Please, fix them prior merge. Thanks for reaching out.

@petrov-mg
Copy link
Contributor Author

@nizhikov I have updated PR as we discussed.

@nizhikov
Copy link
Contributor

LGTM.
@agura Can you, please, take a look?

@nizhikov nizhikov merged commit 1ce1a19 into apache:master Apr 13, 2021
xintrian pushed a commit to xintrian/ignite that referenced this pull request May 27, 2022
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.

None yet

3 participants