mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-16 20:39:10 +00:00
Rename prom HTTP endpoint
This commit is contained in:
@@ -56,7 +56,7 @@ pub fn create_iron_http_server<T: BeaconChainTypes + 'static>(
|
|||||||
|
|
||||||
let mut router = Router::new();
|
let mut router = Router::new();
|
||||||
router.get("/", index_handler, "index");
|
router.get("/", index_handler, "index");
|
||||||
router.get("/prometheus/", prom_handler, "prometheus");
|
router.get("/metrics", prom_handler, "metrics");
|
||||||
Iron::new(router)
|
Iron::new(router)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user