Skip to main content
The Winter Boot Actuator is a built-in observability layer that exposes operational information about your running application through HTTP endpoints. Without writing any controller code you can inspect registered beans, active configuration properties, environment variables, scheduled tasks, request mappings, and the health of your application’s dependencies. The Actuator is designed for microservice environments where monitoring agents, load balancers, and orchestration platforms need a reliable, machine-readable way to query application state.

Configuration

All Actuator endpoints are disabled by default. Enable them individually — or globally — in application.yml. Each endpoint can also be mounted at a custom path.
application.yml
Setting management.endpoints.enabled: false (or omitting it entirely) disables all endpoints regardless of individual endpoint settings. You must set it to true before any endpoint becomes accessible.

Available Endpoints

Querying an Endpoint

Once an endpoint is enabled and the application is running, query it with a standard HTTP request:

Custom Health Checks with HealthIndicator

The /health endpoint aggregates the status reported by every bean that implements HealthIndicator and is annotated with #[HealthInformer]. This makes it straightforward to add health checks for databases, message brokers, external APIs, or any other dependency. Implement the health(): Health method and return one of the Health factory methods for the appropriate state:
DatabaseHealthIndicator.php
You can register as many #[HealthInformer] beans as you need. The /health endpoint combines all of their statuses: if any single indicator reports DOWN, the overall status is DOWN.

Custom Application Info with InfoContributor

The /info endpoint is populated by beans that implement InfoContributor and are annotated with #[InfoInformer]. Use it to surface metadata such as the application name, version, build timestamp, or Git revision. Implement the contribute(InfoBuilder $info): void method and call $info->withDetail(key, value) for each piece of information you want to expose. The method is chainable.
ApplicationInfoContributor.php
Querying the info endpoint returns a JSON object that merges all contributors: