Prometheus Metrics Controller
@RestController
@RequestMapping(value = "${metrics.prometheus.endpoint:/metrics}" )
Created by napster on 18.10.17. - Copied from Quarterdeck on 20.05.2018
Used to expose the prometheus metrics. Some code copied from prometheus' own MetricsServlet
Functions
Link copied to clipboard
@GetMapping(produces = TextFormat.CONTENT_TYPE_004 )