@Pratiksha_Nagoshe the APM Server log message does not line up with v7.15.0. Just guessing, but maybe you're actually running v7.5.0? That version does not have support for metrics, and I think lines up with the log message you have supplied.
Can you please check which version you're running, and provide the complete apm-server.log
, with any sensitive data redacted?