Prometheus metrics endpoint implementation