How to Build Customized metrics in PMM2.

Thanks for the inputs steffen,
this solution worked for me.