Hey guys,

In NiFi 1.x I have used the PrometheusReportingTask and the Metrics reporting 
strategy was set to "Root Process Group”.

On 2.x I can fetch the data from the REST API endpoint 
/nifi-api/flow/metrics/prometheus, but I can’t figure out how to restrict it to 
only the Root Process Group like before.
Without any restrictions I get the metrics for every single component, which is 
too much to handle (50-60k metrics).

Has anyone an idea on how I can replicate the old behavior?

Kind regards,
Christian Wahl

Reply via email to