Rename prom HTTP endpoint
This commit is contained in:
parent
ee8d13573f
commit
855222fa28
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user