this depends on a few things. The prometheus endpoint is only exposed for custom microservice developed using the Microservice SDK Java which uses Spring Boot & Spring Actuator.
So for any non-custom microservices or non-java microservices this endpoint must be enabled by the microservice owner/developer manually or using a prometheus client/lib.
Here is an article where I described that in detail and gave an example for python microservices & one using the SDK.