Skip to content

Instantly share code, notes, and snippets.

@girisagar46
Created December 30, 2020 17:05
Show Gist options
  • Save girisagar46/8a79f2433a238ab60dad71aec5235c12 to your computer and use it in GitHub Desktop.
Save girisagar46/8a79f2433a238ab60dad71aec5235c12 to your computer and use it in GitHub Desktop.
import java.io.IOException;
public class Main {
public static void main(String[] args) {
Actuator actuator = new Actuator(MetricService.getRegistry());
try {
actuator.start();
} catch (IOException ioException) {
actuator.stop();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment