Prometheus endpoint is not consuming metrics from target

I have an on-prem host that has a shell script that generates metrics for Prometheus to consume. My remote prometheus server can get metrics at /metrics endpoint PFA. But Prometheus UI is not seeing the metrics from the target.
I do see the target recognized by Prometheus under Status> Target Health.