Add an endpoint for retrieving information about scheduled tasks

Closes gh-8831
This commit is contained in:
Andy Wilkinson
2017-11-15 13:28:38 +00:00
parent 370453c765
commit 1a094598b8
7 changed files with 662 additions and 0 deletions

View File

@@ -1181,6 +1181,13 @@ content into your application; rather pick only the properties that you need.
endpoints.prometheus.web.enabled= # Expose the metrics endpoint as a Web endpoint.
endpoints.prometheus.web.path=prometheus # Path of the prometheus endpoint.
# SCHEDULED TASKS ENDPOINT ({sc-spring-boot-actuator}/scheduling/ScheduledTasksEndpoint.{sc-ext}[ScheduledTasksEndpoint])
endpoints.scheduledtasks.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.
endpoints.scheduledtasks.enabled= # Enable the scheduled tasks endpoint.
endpoints.scheduledtasks.jmx.enabled= # Expose the scheduled tasks endpoint as a JMX MBean.
endpoints.scheduledtasks.web.enabled= # Expose the scheduled tasks endpoint as a Web endpoint.
endpoints.scheduledtasks.web.path=sessions # Path of the scheduled tasks endpoint.
# SESSIONS ENDPOINT ({sc-spring-boot-actuator}/session/SessionsEndpoint.{sc-ext}[SessionsEndpoint])
endpoints.sessions.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.
endpoints.sessions.enabled= # Enable the sessions endpoint.

View File

@@ -105,6 +105,9 @@ The following technology-agnostic endpoints are available:
|`mappings`
|Displays a collated list of all `@RequestMapping` paths.
|`scheduledtasks`
|Displays the scheduled tasks in your application.
|`sessions`
|Allows retrieval and deletion of user sessions from a Spring Session-backed session
store. Not available when using Spring Session's support for reactive web applications.