79 Commits

Author SHA1 Message Date
Phillip Webb
befdbaaaa9 Polish 2017-12-15 14:57:25 -08:00
Stephane Nicoll
b7435016fb Improve Couchbase health indicator
This commit improve the couchbase health indicator to list the available
nodes. Doing so improves the reliability of the indicator as accessing
the bucket forces a remote call and better detect the cases where the
broker is down.

Closes gh-7369
2017-12-15 18:58:53 +01:00
Stephane Nicoll
27922ae325 Polish 2017-12-14 17:06:46 +01:00
Stephane Nicoll
a33c3eec3f Polish "Add InfluxDb health indicator"
Closes gh-11159
2017-12-14 15:16:00 +01:00
Eddú Meléndez
cdbdc1cb7f Add InfluxDb health indicator
See gh-11159
2017-12-14 15:15:08 +01:00
Stephane Nicoll
41720ca93d Improve extension of Neo4jHealthIndicator
This commit makes it easier to extend `Neo4jHealthIndicator` for cases
where a custom cypher needs to be executed.

Closes gh-11120
2017-12-14 10:01:57 +01:00
Phillip Webb
3273859fde Polish 2017-12-13 14:32:55 -08:00
Phillip Webb
5ca608330c Merge branch '1.5.x' 2017-12-13 13:07:18 -08:00
Johnny Lim
de72f2ae32 Polish
Closes gh-11327
2017-12-13 09:38:20 +01:00
Andy Wilkinson
04068ee792 Tolerate custom response status in WebMvcTags
Closes gh-11263
2017-12-12 13:20:07 +00:00
Stephane Nicoll
23218add90 Polish 2017-12-12 11:57:30 +01:00
Brian Clozel
97c91eee94 Merge pull request #11316 from dkublik:adding-MetricsClientHttpRequestInterceptor-only-once
* pr/11316:
  Polish
  Avoid duplicate Metrics HTTP interceptor registration
2017-12-12 11:23:08 +01:00
Brian Clozel
c82f1016c1 Polish 2017-12-12 11:22:36 +01:00
dawid.kublik@vimn.com
77d4448c0e Avoid duplicate Metrics HTTP interceptor registration
Closes gh-11315
2017-12-12 11:21:20 +01:00
Stephane Nicoll
4eda29a42e Merge branch '1.5.x' 2017-12-12 08:50:13 +01:00
Stephane Nicoll
a43dcfec6c Polish "Update documentation references to /status endpoint"
Closes gh-11213
2017-11-30 11:42:06 +01:00
Vedran Pavic
e88c266285 Update documentation references to /status endpoint
See gh-11213
2017-11-30 11:20:29 +01:00
Stephane Nicoll
b6609ff392 Polish "Fix NullPointer when requesting a session that does not exist"
Closes gh-11202
2017-11-30 10:05:30 +01:00
petar.tahchiev
35c6dc4e3b Fix NullPointer when requesting a session that does not exist
See gh-11202
2017-11-30 09:56:43 +01:00
Phillip Webb
2c959b8e2a Polish health indicators
Align reactive and non-reactive web extensions and update `showDetails`
so that it only applies to web exposure.

See gh-11113
See gh-11192
2017-11-28 21:19:53 -08:00
Madhura Bhave
9e95483645 Add cloudfoundry health extensions
Fixes gh-11192
2017-11-28 18:49:17 -08:00
Jon Schneider
2e0a915281 Upgrade to micrometer 1.0.0-rc.5
See gh-11071
2017-11-28 16:58:53 -08:00
Phillip Webb
960083bd33 Polish 2017-11-28 16:21:09 -08:00
Stephane Nicoll
c4387e1e8a Polish "Add CouchbaseHealthIndicatorTests"
Closes gh-11161
2017-11-27 10:30:31 +01:00
Eddú Meléndez
2e9ca06688 Add CouchbaseHealthIndicatorTests
See gh-11161
2017-11-27 10:29:25 +01:00
Eddú Meléndez
5c216c2029 Clean LdapHealthIndicatorTests
Closes gh-11158
2017-11-27 10:27:29 +01:00
Andy Wilkinson
72b14b8add Merge branch '1.5.x' 2017-11-23 13:15:41 +00:00
Phillip Webb
07f71e889e Move /application to /actuator
Change the endpoint default path from `/application` to `/actuator`.

Fixes gh-10970
2017-11-22 23:18:22 -08:00
Phillip Webb
31025d9f6c Drop status endpoint
Drop the status endpoint and merge functionality back into the health
endpoint. The `management.endpoint.health.show-details` property can
be used to change if full details, or just the status is displayed.

Fixes gh-11113
2017-11-22 22:01:58 -08:00
Andy Wilkinson
4d1a98b380 Improve exception message that reports clashing endpoint operations
Closes gh-10942
2017-11-20 14:52:27 +00:00
Andy Wilkinson
41c297063b Record metrics for request handled by ParameterizableViewController
Closes gh-10335
2017-11-20 13:20:35 +00:00
Andy Wilkinson
331c7a1c56 Make handler Object available to WebMvcTagsProvider.httpRequestTags
Closes gh-11088
2017-11-20 13:18:48 +00:00
dreis2211
23da409b31 Remove duplicate words
Closes gh-11073
2017-11-18 09:17:30 +01:00
Johnny Lim
1783a072ad Remove explicit constructor super() calls
Closes gh-11068
2017-11-17 16:44:16 -08:00
Andy Wilkinson
4de208bc94 Provide reference documentation for Actuator web endpoints
Closes gh-8042
2017-11-17 11:27:16 +00:00
Johnny Lim
e8563c54dd Polish
Closes gh-11050
2017-11-17 09:56:16 +01:00
Johnny Lim
cbb483735d Polish
Closes gh-10948
2017-11-16 10:36:20 +01:00
Phillip Webb
9411d17649 Fix malformed javadoc 2017-11-15 17:07:16 -08:00
Phillip Webb
fd5c43cdc9 Separate endpoint concerns
Update endpoint code to provide cleaner separation of concerns.
Specifically, the top level endpoint package is no longer aware of
the fact that JMX and HTTP are ultimately used to expose endpoints.
Caching concerns have also been abstracted behind a general purpose
`OperationMethodInvokerAdvisor` interface.

Configuration properties have been refined to further enforce
separation. The `management.endpoint.<name>` prefix provides
configuration for a  single endpoint (including enable and cache
time-to-live). These  properties are now technology agnostic (they
don't include `web` or `jmx` sub properties).

The `management.endpoints.<technology>` prefix provide exposure specific
configuration. For example, `management.endpoints.web.path-mapping`
allow endpoint URLs to be changed.

Endpoint enabled/disabled logic has been simplified so that endpoints
can't be disabled per exposure technology. Instead a filter based
approach is used to allow refinement of what endpoints are exposed over
a given technology.

Fixes gh-10176
2017-11-15 14:41:38 -08:00
Andy Wilkinson
cf485ce144 Merge branch '1.5.x' 2017-11-15 19:43:32 +00:00
Andy Wilkinson
1a094598b8 Add an endpoint for retrieving information about scheduled tasks
Closes gh-8831
2017-11-15 13:28:38 +00:00
Andy Wilkinson
806cf32549 Drop redundant web extension for sessions endpoint
Changes made in f1cfad67 mean that the web-specific extension is no
longer required as the infrastructure now automatically produces a
bad request (400) response when a required query parameter is absent.

See gh-10372
2017-11-12 11:19:14 +00:00
Andy Wilkinson
c7cac927f7 Bring spring-boot-actuator's README up to date
Closes gh-10686
2017-11-12 11:00:48 +00:00
Andy Wilkinson
2723892be3 Consistently include context id in endpoint responses
Closes gh-10980
2017-11-11 20:48:18 +00:00
Andy Wilkinson
07462be090 Polish 2017-11-11 16:29:12 +00:00
Phillip Webb
06b1b453a6 Limit when SystemEnvironment mapping is used
Update `SpringConfigurationPropertySource` so that the
`SystemEnvironmentPropertyMapper` is only used for the "actual" system
environment property source. This allows SystemEnvironmentProperySource
class to be used for other purposes (for example, Spring Cloud uses it
to as an override source providing decryption).

Only property sources named `systemEnvironment` or ending with
`-systemEnvironment` now have the `SystemEnvironmentPropertyMapper`
applied. The `TestPropertyValues` has been retrofitted to name the
source it adds appropriately.

Fixes gh-10840
2017-11-06 13:12:25 -08:00
Andy Wilkinson
723222aa95 Allow configuredLevel to be null when configuring a logger
Null value is used to indicate that the configured level should be
cleared.

Closes gh-10934
2017-11-06 12:27:39 +00:00
Andy Wilkinson
60afbdc868 Polish 2017-11-06 11:44:53 +00:00
Phillip Webb
cf17e5708b Polish Micrometer 1.0.0-rc.3 upgrade
Polish Micrometer 1.0.0-rc.3 upgrade changes.

Closes gh-10906
2017-11-03 23:47:51 -07:00
Jon Schneider
65e6876025 Upgrade to Micrometer 1.0.0-rc.3
Upgrade to Micrometer 1.0.0-rc.3 and refactor existing
auto-configuration to align with updated APIs.

Note that Spring MVC instrumentation has now changed from an interceptor
to a Filter.

See gh-10906
2017-11-03 23:37:25 -07:00