Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7017

PrometheusReportingTask does not report nested process group status

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • Extensions
    • None

    Description

      The clear() command added in NIFI-6715 causes the registry to be reset on every call to createNiFiMetrics. In the case of nested process groups this method is a recursive call, so the registry keeps getting cleared except for the last visited process group.

      The clear() should only be done when createNiFiMetrics is called on the root process group, in order to clean up the registry before adding all the components' metrics.

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              mattyb149 Matt Burgess
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 20m
                  20m