Why is Prometheus returning “HTTP status 503 Service Unavailable” when scraping my .NET Core microservice `/health_metrics` endpoint?
I’m facing an issue with Prometheus while trying to scrape metrics from my .NET Core microservice. I’ve got my service running in Docker, and I can access the /health_metrics
endpoint just fine through my browser at http://192.168.161.74:2011/health_metrics
. It displays metrics without any issue.