Monitor consumer lag using cp-kafka community edition

Hi! I am trying to enable consumer lag monitoring with cp-kafka using JMX metrics. I have the Prometheus exporter set up and working on all nodes. It exports all the metrics that we’ve been previously gathering. It does not export the consumer lag though.

The metric gets exported on a local setup as soon as I replace cp-kafka with cp-server. Is it expected behavior, or am I missing something?

I followed the steps given here and it works on cp-server: