Created
November 23, 2018 19:48
-
-
Save Riduidel/d840566861b7ad33bf7c4a8eac8fe2b8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Launcher extends io.vertx.core.Launcher { | |
| public static void main(String[] args) { | |
| new Launcher().dispatch(args); | |
| } | |
| @Override | |
| public void beforeStartingVertx(VertxOptions options) { | |
| super.beforeStartingVertx(options); | |
| options.setMetricsOptions(new MicrometerMetricsOptions() | |
| .setPrometheusOptions(new VertxPrometheusOptions().setEnabled(true)).setEnabled(true)); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment