Commit Graph

24 Commits (558daef31a7901da53a33162302b7a93a096aa2e)

Author SHA1 Message Date
Andy Wilkinson d1cf308bd2 Polish 7 years ago
Johnny Lim 5e35a34cba Polish
Closes gh-10308
7 years ago
Vedran Pavic b6b2fd4ce8 Make Audit events Web endpoint `after` parameter required
Closes gh-10322
7 years ago
Phillip Webb e59d70ea03 Change micrometer properties to use adapters
Update configuration property classes used with micrometer so that
they no longer directly implement `Config` interfaces. Properties
are now adapted to Config implementations independently.

See gh-9970
7 years ago
Phillip Webb 86926bf0e5 Upgrade to Micrometer 1.0.0-rc.1
Closes gh-10300
7 years ago
Phillip Webb 324a00fd6d Polish 7 years ago
Phillip Webb 21b645fba8 Add missing ObjectProvider for missing beans
Update `MetricsAutoConfiguration` to use an `ObjectProvider` to guard
against missing beans.

See gh-9970
7 years ago
Andy Wilkinson 3942ba2e68 Consistently use the spring.metrics configuration property prefix
See gh-9970
7 years ago
Stephane Nicoll 5efcbad751 Polish 7 years ago
Stephane Nicoll ddde3c5695 Add error metadata for the Micrometer migration
See gh-9970
7 years ago
Andy Wilkinson 962b3df9c6 Add and polish package-info.java for actuator
Closes gh-10298
7 years ago
Jon Schneider c2958c27ab Replace Boot's own metrics with support for Micrometer
Closes gh-9970
7 years ago
Stephane Nicoll 033939e3c0 Add error metadata for Security-related keys 7 years ago
Johnny Lim bd2d08bcd0 Polish
Closes gh-10282
7 years ago
Stephane Nicoll 5e7dbe8f4a Move configuration of LogFileWebEndpoint
See gh-10263
7 years ago
Stephane Nicoll d7f3008122 Move configuration of EnvironmentEndpoint
See gh-10263
7 years ago
Stephane Nicoll bb622292ba Move configuration of ConfigurationPropertiesReportEndpoint
See gh-10263
7 years ago
Stephane Nicoll 0d62b0cb3c Move configuration of TraceEndpoint
See gh-10263
7 years ago
Stephane Nicoll 82fd18cee3 Polish 7 years ago
Stephane Nicoll 40e6f004da Enable info and status endpoints by default
Closes gh-10161
7 years ago
Stephane Nicoll 222ed44bd4 Replace enabledByDefault to DefaultEnablement
This commit introduces a DefaultEnablement enum that replaces the
"enabledByDefault" boolean flag of Endpoint. This allows to better
control what indicates the default enablement of an endpoint.

With DefaultEnablement#ENABLED, the endpoint is enabled unless an
endpoint specific property says otherwise. With DefaultEnabled#DISABLED,
the endpoint is disabled unless an endpoint specific property says
otherwise. DefaultEnablement#NEUTRAL provides a dedicated option to
indicate that we should resort to the default settings in absence of
a specific property.

See gh-10161
7 years ago
Andy Wilkinson 3882552b43 Polish 7 years ago
Phillip Webb 46dfe38b60 Rework security request matchers
Update the security request matchers so that a bean is no longer needed
when the matcher is used. Matchers can now be build by starting from
the `EndpointRequest` or `StaticResourceRequest` classes. For example:

http.authorizeRequests()
  .requestMatchers(EndpointRequest.to("status", "info")).permitAll()
  .requestMatchers(EndpointRequest.toAnyEndpoint()).hasRole("ACTUATOR")
  .requestMatchers(StaticResourceRequest.toCommonLocations()).permitAll()

Closes gh-7958
7 years ago
Phillip Webb 2e51b48cd9 Refactor actuator package locations
Restructure actuator packages to improve structure. The following
changes have been made:

 - Separate actuator and actuator auto-configuration into different
   modules.
 - Move endpoint code into `spring-boot-actuator`.
 - Move `Endpoint` implementations from a single package into
   technology specific packages.
 - Move `HealthIndicator` implementations from a single package into
   technology specific packages.
 - As much as possible attempt to mirror the `spring-boot` package
   structure and class naming in `spring-boot-actuator` and
   `spring-boot-actuator-autoconfigure`.
 - Move `DataSourceBuilder` and DataSource meta-data support from
   `spring-boot-actuator` to `spring-boot`.

Fixes gh-10261
7 years ago