Improved REST endpoint metrics for Spring Boot Projects
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Maven Central


Add the following dependency to your spring-boot project.


Add security to your management endpoints or move management endpoints to a different non-public port.

  port: 7979

Maven Dependency


You need to have the base actuator dependency in place, too.


Spring Boot with Jersey vs SpringMVC

See the Jersey module provided and the example-application.

Important is to use at least the specified Jersey versions as defined in the POM. These will be included in spring boot 1.3+

Result on /metrics endpoint

  "": 10,
  "": 0.18076110580284566,
  "": 0.1518180485219247,
  "": 0.06792011610723951,
  "": 0.10512398137982051,
  "": 1173,
  "": 1233,
  "": 1282,
  "": 1282,
  "": 1282,
  "": 1282,
  "": 1170,
  "": 1161,
  "": 1114,
  "": 42,

Release to Maven Central

mvn clean release:prepare -Dresume=false

mvn release:perform


Copyright © 2015 Zalando SE

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.