Rename prom HTTP endpoint

This commit is contained in:
Paul Hauner 2019-05-26 15:59:52 +10:00
parent ee8d13573f
commit 855222fa28
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

@ -56,7 +56,7 @@ pub fn create_iron_http_server<T: BeaconChainTypes + 'static>(
let mut router = Router::new();
router.get("/", index_handler, "index");
router.get("/prometheus/", prom_handler, "prometheus");
router.get("/metrics", prom_handler, "metrics");
Iron::new(router)
}