Project

General

Profile

« Previous | Next » 

Revision 56208

working with metrics for prometheus

View differences:

PrometheusEndpoint.java
23 23
	@Autowired
24 24
	private PrometheusMeterRegistry registry;
25 25

  
26
	@RequestMapping(method = RequestMethod.GET)
26
	@RequestMapping(method = RequestMethod.GET, produces = "text/plain;charset=UTF-8")
27 27
	@ResponseBody
28 28
	public String getStudents() {
29 29
		log.info("/prometheus [GET]");

Also available in: Unified diff