The Reporting task was removed from NiFi 2.x.x in #708.
However, /nifi-api/flow/metrics/prometheus needs authentication- which might be a blocker :( Relevant Slack thread
The steps required for the migration/configuration of the metrics endpoint (auth, authz) and how to connect e.g. Prometheus, should be documented.