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

Add Filtering Parameters to Flow Metrics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.16.0
    • Core Framework
    • None

    Description

      The NiFi REST API includes support for generating metrics using Prometheus as the specified Producer. The current implementation gathers metrics in multiple registries, including Process Groups, Connections, Bulletins, and Java Virtual Machine status.

      On installations with a large number of components, the metrics resource can generate a very large amount of information, resulting in timeouts when requesting clients have low timeout settings. In some cases, returning all metrics may not be necessary. Adding optional filter parameters to the REST API would support returning a smaller amount of information, providing better support for NiFi installations with a large number of components. Potential filtering parameters could include limiting the selected registry or metrics component type.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 2h
                  2h