Last active
January 23, 2021 02:20
-
-
Save limadelrey/cc90ebfb60def2c6becfe8c845eaf137 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MetricsRouter { | |
/** | |
* Set metrics routes | |
* | |
* @param router Router | |
*/ | |
public static void setRouter(Router router) { | |
router.route("/metrics").handler(PrometheusScrapingHandler.create()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment