[JBWS-3733]:Always add EndpointMetrics in EndpointService;Check if it's enabled directly with ServerConfigService