Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14428

Formalize the names of the metrics included in the metric registry.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.11
    • None
    • IO discovery metric names were changed to start with the metric registry name.
    • Docs Required, Release Notes Required

    Description

      It's needed to refactor metric names to obey the global rule - all of them must start with name of the registry they belongs to. And add corresponding assertion.

      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 will be 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

      Attachments

        Issue Links

          Activity

            People

              PetrovMikhail Mikhail Petrov
              PetrovMikhail Mikhail Petrov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3.5h
                  3.5h