[functions] Added default metrics for Prometheus (#5885)

Currently functions do not report the default Prometheus metrics
like the broker does, or any JMX metrics that normally get
reported by kafka clients.

This add the default Prometheus exports used by the broker as
well as JMX exports that are reported by kafka clients when
using the kafka wrapper.

This change is a trivial rework / code cleanup without any test coverage.
1 file changed
tree: eb3d017f261cf4e506174077a406b44724b37638
  1. distribution/
  2. docker/
  3. tests/