- Create a process group A
- Add a process B inside A
- Setup the prometheus report sink
- Look at http://localhost:9092
- Some metrics on the process B have the process group A as parent, other have the root process group.
Look at file PrometheusMetricsUtil.java, the problem is between lines 441 and 462 variable parentPGId is used instead of parentId. 4 metrics are ok: TOTAL_BYTES_READ, TOTAL_BYTES_WRITTEN, AMOUNT_THREADS_TOTAL_ACTIVE and AMOUNT_THREADS_TOTAL_TERMINATED while the others 12 are wrong.