Andy Wilkinson
deeb961c6e
Merge branch '2.0.x'
2018-11-23 15:23:14 +00:00
Andy Wilkinson
1f39b5dd7a
Align MeterRegistryConfigurer's javadoc with its implementation
...
Closes gh-15017
2018-11-23 15:22:09 +00:00
Phillip Webb
dbf09de203
Merge branch '2.0.x'
2018-11-15 13:29:09 -08:00
Phillip Webb
e87664f295
Add JettyAccessLogCustomizer
...
Add a `JettyAccessLogCustomizer` to customize management access logs
when the management server is running on a different port.
Closes gh-15041
2018-11-15 13:28:51 -08:00
Phillip Webb
c64a007e12
Format POM file
2018-11-15 13:22:50 -08:00
Brian Clozel
8e86bcafc1
Improve actuator endpoint mapping debug logging
...
Closes gh-14292
2018-11-14 14:36:52 +01:00
dreis2211
3b4b0641d9
Polish some Map operations
...
Closes gh-15153
2018-11-12 09:08:25 +01:00
Johnny Lim
fd5aa3ebf1
Polish
...
See gh-15134
2018-11-11 11:03:13 +01:00
Stephane Nicoll
2c3b455b8b
Merge branch '2.0.x'
2018-11-11 10:58:44 +01:00
Johnny Lim
8470d649bc
Polish
...
See gh-15134
2018-11-11 10:58:31 +01:00
Stephane Nicoll
f42a653604
Merge branch '2.0.x'
2018-11-03 16:38:16 +01:00
Stephane Nicoll
f5ba9952db
Make UndertowAccessLogCustomizer conditional on class
...
Closes gh-15065
2018-11-03 16:35:03 +01:00
Phillip Webb
f3fa20b2d1
Polish
2018-10-29 14:25:45 -07:00
Andy Wilkinson
290e8886c9
Polish "Handle StepRegistry connect/read timeout deprecation"
...
Closes gh-14886
2018-10-29 21:11:11 +00:00
artsiom
fe63342f52
Handle StepRegistry connect/read timeout deprecation
...
See gh-14886
2018-10-29 20:56:25 +00:00
Andy Wilkinson
de674db454
Merge branch '2.0.x'
2018-10-29 12:03:47 +00:00
dreis2211
62ca9e47b8
Use MeterRegistry.isClosed() for tests
...
Closes gh-14975
2018-10-29 11:57:16 +00:00
dreis2211
fb03139c59
Fix MetricsAutoConfigurationTests
...
Closes gh-14972
2018-10-26 16:54:11 -07:00
Phillip Webb
c393f6262e
Merge branch '2.0.x'
2018-10-26 16:36:02 -07:00
Phillip Webb
33c7a74bee
Update copyright year for changed files
2018-10-26 16:35:28 -07:00
Vedran Pavic
6e967fe860
Upgrade to Hazelcast 3.11
...
Closes gh-14949
2018-10-25 15:57:59 -07:00
dreis2211
4857b45ea5
Replace lambdas with method reference or call
...
Closes gh-14937
2018-10-24 10:12:36 +02:00
Andy Wilkinson
4d9714a0cb
Start building against Micrometer snapshots for 1.1.0
...
See gh-14890
2018-10-19 17:50:07 +01:00
Andy Wilkinson
cefc7842d6
Merge branch '2.0.x'
2018-10-18 15:38:17 +01:00
Andy Wilkinson
9b8ead825c
Polish
2018-10-18 15:38:06 +01:00
Andy Wilkinson
3177584588
Back off auto-config of Log4J2Metrics when context is backed by SLF4J
...
Closes gh-14883
2018-10-18 10:31:10 +01:00
Johnny Lim
c8c3f59e93
Polish
...
Closes gh-14884
2018-10-18 09:36:27 +02:00
Stephane Nicoll
474da80b4d
Revert "Restructure of security packages"
...
See gh-14412
2018-10-17 12:22:51 +02:00
Stephane Nicoll
fd0e8815b1
Polish
2018-10-16 18:00:55 +02:00
Stephane Nicoll
5f2517f889
Auto-configure AppOptics metrics
...
Closes gh-14819
2018-10-16 17:35:23 +02:00
Stephane Nicoll
134682a7de
Add error metadata for properties removed recently
2018-10-16 15:55:07 +02:00
Andy Wilkinson
bd0a41d82d
Merge branch '2.0.x'
2018-10-16 13:31:35 +01:00
Andy Wilkinson
d4cad5e916
Polish "Servlet path not explicitly required for EndpointRequest"
...
Closes gh-14503
2018-10-16 13:01:49 +01:00
Madhura Bhave
0fd873f0f9
Servlet path not explicitly required for EndpointRequest
2018-10-16 11:58:07 +01:00
Andy Wilkinson
98d95268e1
Align with changes to CouchbaseReactiveHealthIndicator
...
Closes gh-14799
2018-10-16 11:14:36 +01:00
Johnny Lim
7f9671fd14
Polish
...
Closes gh-14843
2018-10-16 11:38:51 +02:00
Hanope
c3f3240e2c
Fix typos
...
closes gh-14844
2018-10-16 01:04:28 -07:00
Phillip Webb
29707bf75a
Complete restructure of security packages
...
Complete the restructuring of the security auto-configuration
packages by removing the direct import of web configuration from
the main security auto-configuration.
Closes gh-14412
2018-10-16 01:01:11 -07:00
Madhura Bhave
f835f82582
Preliminary restructure of security packages
...
Restructure the security auto-configuration packages to better reflect
the part of the system that the configuration applies to.
See gh-14412
2018-10-16 01:01:10 -07:00
Phillip Webb
d558a1a762
Merge branch '2.0.x'
2018-10-15 22:01:25 -07:00
Phillip Webb
8ecb659a35
Deprecate SecurityPrerequisite
...
Deprecate `SecurityPrerequisite` interface since we don't support it
in Spring Boot 2.
Closes gh-14846
2018-10-15 21:00:53 -07:00
Phillip Webb
6b37d87497
Allow multiple endpoint PathMapper beans
...
Update `WebEndpointDiscoverer` and related classes to that multiple
`PathMapper` beans can be registered. Mappers are now tried in order
until one returns a non-null value.
Closes gh-14841
2018-10-15 18:25:42 -07:00
Phillip Webb
f0f999a27d
Merge branch '2.0.x'
2018-10-15 14:47:11 -07:00
Phillip Webb
5d219bcd19
Polish
2018-10-15 14:45:49 -07:00
Phillip Webb
734e9e4b74
Merge branch '2.0.x'
2018-10-15 14:22:44 -07:00
Phillip Webb
b25e222136
Retain original case when mapping endpoint paths
...
Update `MappingWebEndpointPathMapper` to keep the original case rather
than using a lower-case version.
Closes gh-14773
2018-10-15 14:20:16 -07:00
Stephane Nicoll
e901a0bd0e
Merge branch '2.0.x'
2018-10-15 23:18:26 +02:00
Stephane Nicoll
935d621a42
Fix mapping of Wavefront base properties
...
Closes gh-14839
2018-10-15 23:18:12 +02:00
Stephane Nicoll
94b2092218
Add base test for StepRegistryPropertiesConfigAdapter
2018-10-15 23:05:54 +02:00
Andy Wilkinson
1e2d5a1382
Auto-configure Micrometer's HumioMeterRegistry
...
Closes gh-14804
2018-10-15 18:10:35 +01:00
Stephane Nicoll
edf4045c3b
Add missing tests for Kairos config adapter
...
Closes gh-14821
2018-10-15 17:55:07 +02:00
Andy Wilkinson
e53e8bf79f
Merge branch '2.0.x'
2018-10-15 15:29:10 +01:00
Andy Wilkinson
0fedf8d2af
Keep Liquibase-specific DataSource open for use by LiquibaseEndpoint
...
Closes gh-13832
2018-10-15 15:26:26 +01:00
Andy Wilkinson
a4eb636913
Merge branch '2.0.x'
2018-10-15 13:58:17 +01:00
Andy Wilkinson
6d98851fb5
Use Couchbase's DiagnosticsReport to determine its health
...
Previously, Couchbase's health was determined by retrieving the bucket info
from the cluster info. This retrieval could take over one minute in some
cases even when Couchbase is health. This latency is too large for a health
check.
The Couchbase team have recommended the of a Cluster#diagnostics instead.
This provides a much lower latency view of the cluster's health. This
commit updates CouchbaseHealthIndicator to use Cluster#diagnostics while
retaining support, in a deprecated form, for the old info-based mechanism
should anyone want to opt back into that in 2.0.x.
Closes gh-14685
2018-10-15 13:44:42 +01:00
Stephane Nicoll
89349c6eb9
Auto-configure KairosDB metrics
...
Closes gh-14821
2018-10-15 14:13:10 +02:00
Stephane Nicoll
1a0d53dec0
Replace ReflectionTestUtils usage by hasFieldOrPropertyWithValue
...
Closes gh-14696
2018-10-15 08:25:10 +02:00
Phillip Webb
18319ac276
Remove deprecated Endpoint ID methods
...
See gh-14773
2018-10-14 13:55:13 -07:00
Phillip Webb
1bf97e9b5e
Merge branch '2.0.x'
2018-10-14 13:53:28 -07:00
Phillip Webb
a00ee15e16
Use lowercase default endpoint paths
...
Update `MappingWebEndpointPathMapper` to use the lowercase version of
the endpoint ID when no explicit path mapping has been set. An endpoint
with the ID 'myEndpoint' will now be mapped to the path 'myendpoint'.
See gh-14773
2018-10-14 13:45:05 -07:00
Phillip Webb
df5dfbf4be
Support mixed case endpoint includes/excludes
...
Update `ExposeExcludePropertyEndpointFilter` so that mixed case
endpoint IDs are supported. Prior to this commit it was not easy for
an endpoint to be missed by the filter due to the formatting of the
property value.
See gh-14773
2018-10-14 13:45:05 -07:00
Phillip Webb
674a909bab
Support mixed case endpoint IDs with enabled
...
Update `OnEnabledEndpointCondition` so that mixed case endpoint IDs
are supported. Prior to this commit an
`InvalidConfigurationPropertyNameException` would be thrown when trying
to enabled or disable an endpoint with a camel case ID.
See gh-14773
2018-10-14 13:45:05 -07:00
Phillip Webb
138d85477d
Support mixed case endpoint IDs with time-to-live
...
Update the endpoint time-to-live binding logic so that mixed case
endpoint IDs are supported. Prior to this commit an
`InvalidConfigurationPropertyNameException` would be thrown when using
a camel case endpoint ID.
See gh-14773
2018-10-14 13:45:04 -07:00
Phillip Webb
3105a38884
Introduce EndpointID to enforce naming rules
...
Add an `EndpointID` class to enforce the naming rules that we support
for actuator endpoints. We now ensure that all endpoint names contain
only letters and numbers and must begin with a lower-case letter.
Existing public classes and interfaces have been changes so that String
based `endpointId` methods are deprecated and strongly typed versions
are preferred instead. A few public classes that we're not expecting
to be used directly have been changed without deprecated methods being
introduced.
See gh-14773
2018-10-14 13:45:04 -07:00
Phillip Webb
c5786c218d
Polish
2018-10-14 11:24:10 -07:00
Andy Wilkinson
7ad94299d6
Stop relying on server customizer ordering for Tomcat metrics binding
...
Closes gh-14784
2018-10-13 11:52:51 +01:00
Andy Wilkinson
2b11ee4389
Auto-configure binding of Micrometer's JettyServerThreadPoolMetrics
...
Closes gh-14591
2018-10-13 11:52:51 +01:00
Madhura Bhave
6df9555d6a
Update micrometer tests following upstream changes
2018-10-12 18:58:11 -07:00
Stephane Nicoll
0ff1b25f52
Polish "Improve Micrometer histogram properties support"
...
Closes gh-14139
2018-10-12 14:23:21 +02:00
Alexander Abramov
c1c79ab1c2
Improve Micrometer histogram properties support
...
This commit adds configuration properties for Micrometer histogram
settings: "minimumExpectedValue" and "maximumExpectedValue".
See gh-14139
2018-10-12 14:23:21 +02:00
Andy Wilkinson
19232ad87a
Merge branch '2.0.x'
2018-10-12 11:25:17 +01:00
Andy Wilkinson
861587ec78
Allow @ConditionalOnEnabledEndpoint to be used on any component
...
Closes gh-14787
2018-10-12 11:24:33 +01:00
Andy Wilkinson
5e3b5ae14f
Polish
...
See gh-14780 and gh-14467
2018-10-11 17:25:54 +01:00
Andy Wilkinson
5f0d7dd6c7
Merge branch '2.0.x'
2018-10-11 17:20:35 +01:00
Andy Wilkinson
2a2908e74e
Order MeterFilters and MeterRegistryCustomizers
...
Closes gh-14780
2018-10-11 17:15:47 +01:00
Phillip Webb
60719bd982
Upgrade to Dropwizard Metrics 4.0.3
...
Closes gh-14428
2018-10-10 10:00:45 -07:00
Andy Wilkinson
2216b78f1e
Merge branch '2.0.x'
2018-10-08 15:53:09 +01:00
Andy Wilkinson
d3b3c8c64e
Honour management.metrics.web.server.auto-time-requests with WebFlux
...
Closes gh-13895
2018-10-08 15:52:50 +01:00
Stephane Nicoll
7da3396555
Merge branch '2.0.x'
2018-10-08 10:45:49 +02:00
dreis2211
55ec016bac
Remove unused fields in tests
...
Closes gh-14707
2018-10-08 10:40:04 +02:00
Phillip Webb
20ecf73cd1
Polish "Add Prometheus push gateway support"
...
Rework Prometheus push gateway support so that the central class can
be used outside of auto-configuration. The shutdown flags have also
been replaced with a single "shutdown-operation" property since it's
unlikely that both "push" and "delete" will be required.
It's also possible now to supply a `TaskScheduler` to the manager.
See gh-14353
2018-10-05 18:12:41 -07:00
David J. M. Karlsen
4e71981f77
Add Prometheus push gateway support
...
Add support for Prometheus push gateway so that short lived processes
(for example batch jobs) can still submit metrics to Prometheus.
Closes gh-14353
2018-10-05 18:12:19 -07:00
Stephane Nicoll
35752a54d2
Adapt to latest change in Micrometer 1.1
2018-10-05 23:42:16 +02:00
Phillip Webb
01b8667dd7
Update copyright year for changed files
2018-10-05 13:40:07 -07:00
Andy Wilkinson
72e2313fe8
Polish "Auto-configure Micrometer's Jersey 2 server instrumentation"
...
Closes gh-12482
2018-10-05 16:40:57 +01:00
Michael Weirauch
dd126faf5a
Auto-configure Micrometer's Jersey 2 server instrumentation
...
See gh-12482
Co-authored-by: Michael J. Simons <michael@simons.ac>
2018-10-05 16:07:10 +01:00
Stephane Nicoll
bdd8e53124
Improve filtering of actuator auto-configurations
...
This commit splits auto-configurations that require different
environments so that they can be filtered early.
Closes gh-12260
2018-10-05 14:57:17 +02:00
Stephane Nicoll
91b4dc2f69
Polish "Add reactive health indicator for Couchbase"
...
Closes gh-13926
2018-10-05 13:57:31 +02:00
Mikalai Lushchytski
20ff0d97e4
Add reactive health indicator for Couchbase
...
See gh-13926
2018-10-05 13:57:17 +02:00
Andy Wilkinson
c9da881322
Polish "Drop support for "all" from management.metrics.distribution.sla"
...
Closes gh-14684
2018-10-05 09:25:10 +01:00
artsiom
ccb964e886
Drop support for "all" from management.metrics.distribution.sla
...
See gh-14684
2018-10-05 09:22:43 +01:00
Andy Wilkinson
ef7c2bc6ea
Merge branch '2.0.x'
2018-10-05 08:37:45 +01:00
Andy Wilkinson
e7f100d5d7
Improve test coverage of PropertiesMeterFilter
...
Closes gh-14689
2018-10-05 08:37:19 +01:00
Stephane Nicoll
5d0e812afe
Merge branch '2.0.x'
2018-10-04 15:53:26 +02:00
Stephane Nicoll
1b10d3fcbf
Fix missing metadata for nested POJO
...
This commit fixes missing descriptions and default values when
applicable for `management.server.ssl`, `server.compression`,
`server.http2`, `server.servlet.jsp`, `server.servlet.session` and
`server.ssl`.
Those nested namespace are managed by a POJO that is declared outside
of the module of the target @ConfigurationProperties type using it. As
a result, the annotation processor has no access to the source model and
can't extract the description and the default value, if any.
This commit migrates the misleading field-level Javadoc to manual meta
data for the time being.
Closes gh-14669
2018-10-04 15:49:04 +02:00
Phillip Webb
d76bba5e6f
Migrate from ExpectedException rule to AssertJ
...
Replace ExpectedException JUnit rules with AssertJ exception
assertions.
Closes gh-14336
2018-10-02 10:55:28 -07:00
Johnny Lim
1e756db966
Use Commons Logging for OnlyOnceLoggingDenyMeterFilter
...
Closes gh-14637
2018-09-30 17:47:18 -04:00
Johnny Lim
698bbd6a9e
Polish
...
Closes gh-14597
2018-09-26 11:45:21 -04:00
Hanope
e5ed5ebf8b
Fix "Query Parameters" section name
...
Closes gh-14600
2018-09-25 14:24:34 -04:00
Stephane Nicoll
5765ed00e8
Polish
2018-09-24 10:53:22 +02:00