Skip to content

Commit

Permalink
La til logging av prometheus-kall
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Kroken committed Oct 4, 2023
1 parent 09ac017 commit 9d3f7f9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class PrometheusWebApi(

@GetMapping("/actuator/prometheus", produces = [MediaType.APPLICATION_JSON_VALUE])
fun getPrometheusData(): ResponseEntity<String> {
log.info("Prometheus hentet data")
return ResponseEntity.ok(registry.mapToJson())
}
}

0 comments on commit 9d3f7f9

Please sign in to comment.