Skip to content

Instantly share code, notes, and snippets.

@b1a9id

b1a9id/IndexController.java Secret

Created May 14, 2021
Embed
What would you like to do?
micrometer-prometheusのIndexController.java
@RestController
@RequestMapping("/")
public class IndexController {
@GetMapping
public IndexResponse index() {
return new IndexResponse("Hello World!!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment