Commit Graph

21228 Commits (2ce6458cd491dbccb9b094da970739559315f423)

Author SHA1 Message Date
Phillip Webb f3f8610539 Polish 1 year ago
Moritz Halbritter 3664df61eb Polish API of SpanExporters and SpanProcessors 1 year ago
Stephane Nicoll fe65806582 Merge branch '3.1.x' 1 year ago
Sébastien Deleuze db8dee5aac Refine SpringApplication.Augmented.with Kotlin extension
This commit allows to specify multiple Kotlin classes.

See gh-35784
1 year ago
Moritz Halbritter 27add2bbe3 Rework @AutoConfigureObservability and tracing auto-configurations
@ConditionalOnEnabledTracing is now applied to the minimal amount of
beans. The beans which are annotated with it are beans that will lead
to span sending to backends.

This leaves the majority of the Micrometer Tracing, Brave and
OpenTelemetry infrastructure untouched in tests.

Closes gh-35354
1 year ago
Andy Wilkinson fb4b26a842 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 1652c27b3c Apply additional sources once when using SpringApplication.from()
Previously, when using SpringApplication.from() any additional
sources configured using with() would be applied to every
SpringApplication that was created within the scope of the call to
run(). This caused problems with Spring Cloud's bootstrap context
where the additional sources would be applied to both the user's
application and to the boostrap context's application.

This commit updates the hook that's used to apply the additional
sources so that it's only applied once. This results in the
additional sources only being added to the first SpringApplication
that is run.

Closes gh-35873
1 year ago
Moritz Halbritter c25b084391 Polish 1 year ago
Moritz Halbritter 929283f4dc Support overriding OTel SpanExporters
See gh-35596
1 year ago
Moritz Halbritter d51559956f Support overriding default OTel SpanProcessor
Also makes it easier to set the MeterProvider used in the default
SpanProcessor.

Closes gh-35560
1 year ago
Phillip Webb 0439b630d1 Merge branch '3.1.x'
Closes gh-35923
1 year ago
Phillip Webb c192fb85b2 Merge branch '3.0.x' into 3.1.x
Closes gh-35922
1 year ago
Phillip Webb 4c8b93b37d Merge branch '2.7.x' into 3.0.x
Closes gh-35920
1 year ago
Phillip Webb 137f4ee451 Support reporting of custom Log4J2 log levels from the LoggersEndpoint
Support custom Log4J2 log levels by changing `LoggerConfiguration` so
that it can now report levels using a `LevelConfiguration` object
rather than the limited `LogLevel` enum.

The `Log4J2LoggingSystem` class now uses `LevelConfiguration.ofCustom`
for custom logging levels, rather than throwing an exception.

The `LoggersEndpoint` has also been updated so that it can return the
custom logger name.

Fixes gh-35227
1 year ago
Andy Wilkinson c033484815 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 3d9a308053 Merge branch '3.0.x' into 3.1.x
Closes gh-35913
1 year ago
Andy Wilkinson eeea065595 Merge branch '2.7.x' into 3.0.x
Closes gh-35912
1 year ago
Andy Wilkinson e779fb0bc4 Validate constructor bound config props that implement Validator
Closes gh-33669
1 year ago
Andy Wilkinson 91fdae45b6 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 61752184f2 Merge branch '3.0.x' into 3.1.x
Closes gh-35911
1 year ago
Andy Wilkinson 7bb3caf914 Merge branch '2.7.x' into 3.0.x
Closes gh-35910
1 year ago
Andy Wilkinson ee606db34a Update Data REST starter description to mention Spring MVC
Closes gh-35678
1 year ago
Andy Wilkinson 740815da03 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 251b5f2d0f Merge branch '3.0.x' into 3.1.x
Closes gh-35909
1 year ago
Andy Wilkinson a5981a4dac Merge branch '2.7.x' into 3.0.x
Closes gh-35908
1 year ago
Andy Wilkinson 9feb84e234 Add DynmicPropertySource to ordered list of property sources
Closes gh-32901
1 year ago
Moritz Halbritter 6e86f5c444 Register uncategorized ObservationHandlers after categorized ones
Closes gh-34399
1 year ago
Moritz Halbritter 5bad242bfb Merge branch '3.1.x' 1 year ago
Moritz Halbritter be471c58fe Merge branch '3.0.x' into 3.1.x
Closes gh-35907
1 year ago
Moritz Halbritter 8cd8d21720 Add support for multiple tracing propagation formats
See gh-35611
1 year ago
Andy Wilkinson 2c06f274dc Merge branch '3.1.x' 1 year ago
Andy Wilkinson cb36df47c8 Merge branch '3.0.x' into 3.1.x
Closes gh-35905
1 year ago
Andy Wilkinson 6def7252d6 Merge branch '2.7.x' into 3.0.x
Closes gh-35904
1 year ago
Andy Wilkinson 088006ff60 Use ephemeral port for Hazelcast
When Hazelcast is started on a fixed port and that port is already in
use, it does not fail to start which makes the problem hard to
detect. A symptom of the problem is that clients will not be able to
connect and will either retry indefinitely or will timeout depending
on their configuration.

This commit updates the Hazelcast client tests to start the Hazelcast
instance on an ephemeral port and to customize the client
configuration with the instance's address before use. This should
allow the client tests to work reliably in an environment where
Hazelcast's default port is already in use.

Closes gh-35903
1 year ago
Moritz Halbritter efcc65bc5b Apply filter order to ServerHttpObservationFilter
Closes gh-35067
1 year ago
Moritz Halbritter 140c37ceba Enable virtual threads on Jetty
Closes gh-35703
1 year ago
Moritz Halbritter 3e4a9f5204 Add property to limit maximum connections for Jetty
Closes gh-35899
1 year ago
Moritz Halbritter f81787e65d Enable virtual threads on Tomcat
Closes gh-35704
1 year ago
Moritz Halbritter 6e604ad65c Implement @ConditionalOnVirtualThreads
Closes gh-35892
1 year ago
Moritz Halbritter fb64f6744e Add 21 to JavaVersion
See gh-35892
1 year ago
Andy Wilkinson 0ce2b054d2 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 9b88128e3b Merge branch '3.0.x' into 3.1.x 1 year ago
Andy Wilkinson 4694e20628 Merge branch '2.7.x' into 3.0.x 1 year ago
Andy Wilkinson 7d07c0d09c Polish configuration related to predictive test selection
Most notably, this commit splits the tests that use Spring REST Docs
out into a separate task for which predictive test selection is
disabled. This allows it to be cached and use Gradle's built-in
up-to-date checking, thereby avoiding the generation of new snippets
and the need to then run the asciidoctor and asciidoctorPdf tasks.

It also updates spring-boot-smoke-test-junit-vintage to disable
predictive test selection so that we can continue to assert that
the some tests were executed.

See gh-35869
1 year ago
Stephane Nicoll 67fc2f9346 Merge branch '3.1.x' 1 year ago
Stephane Nicoll f299a2473e Upgrade to Reactor Bom 2022.0.8
Closes gh-35747
1 year ago
Stephane Nicoll 61bae46deb Upgrade to Micrometer Tracing 1.1.2
Closes gh-35746
1 year ago
Stephane Nicoll b17c948d61 Upgrade to Micrometer 1.11.1
Closes gh-35745
1 year ago
Stephane Nicoll 4f3761c852 Upgrade to Logback 1.4.8
Closes gh-35885
1 year ago
Stephane Nicoll 9e642c9843 Upgrade to Hazelcast 5.2.4
Closes gh-35884
1 year ago
Stephane Nicoll 1093d172a4 Upgrade to Couchbase Client 3.4.7
Closes gh-35883
1 year ago
Stephane Nicoll d3ff04fa4b Upgrade to Reactor Bom 2022.0.8
Closes gh-35736
1 year ago
Stephane Nicoll 1900910008 Upgrade to Micrometer Tracing 1.0.7
Closes gh-35735
1 year ago
Stephane Nicoll 2d43f345de Upgrade to Micrometer 1.10.8
Closes gh-35734
1 year ago
Stephane Nicoll 7cf41e9e0a Upgrade to Logback 1.4.8
Closes gh-35881
1 year ago
Stephane Nicoll 10b66975dd Upgrade to Glassfish JAXB 4.0.3
Closes gh-35880
1 year ago
Stephane Nicoll 2dbfe54762 Upgrade to Couchbase Client 3.4.7
Closes gh-35879
1 year ago
Stephane Nicoll f2a44d7f06 Upgrade to Reactor Bom 2020.0.33
Closes gh-35726
1 year ago
Stephane Nicoll 7576117dd9 Upgrade to Micrometer 1.9.12
Closes gh-35725
1 year ago
Scott Frederick 4950e2a6b7 Merge branch '3.1.x' 1 year ago
Scott Frederick 7e6452edee Fix Redis URL property userinfo parsing
Fixes gh-35850
1 year ago
Andy Wilkinson b3e2f9a212 Merge branch '3.0.x' into 3.1.x
Closes gh-35868
1 year ago
Andy Wilkinson ac8ea1d841 Upgrade to Neo4j Java Driver 5.9.0
Closes gh-35867
1 year ago
Andy Wilkinson 21a54ec66d Merge branch '3.1.x' 1 year ago
Andy Wilkinson e12ae5add5 Merge branch '3.0.x' into 3.1.x
Closes gh-35865
1 year ago
Andy Wilkinson bdbbbc6470 Merge branch '2.7.x' into 3.0.x
Closes gh-35864
1 year ago
Andy Wilkinson 984dc1d58f Allow package-private main classes to be used with Devtools
Fixes gh-35858
1 year ago
Moritz Halbritter c73315b4a3 Add property to prevent observations starting with a prefix
For example, setting management.observations.enable.denied.prefix=false
will prevent all observations starting with 'denied.prefix'

Closes gh-34802
1 year ago
Moritz Halbritter 7b90fbb0b2 Add property to specify the order of ServerHttpObservationFilter
The property is named 'management.observations.http.server.filter.order'

Closes gh-35067
1 year ago
Andy Wilkinson 1955139b72 Start building against Spring Integration 6.1.1 snapshots
See gh-35859
1 year ago
Moritz Halbritter 491e12ab5e Add property to disable Spring Security observations
Setting 'management.observations.spring-security.enabled' installs an
ObservationPredicate, which prevents all observations starting with
'spring.security.' to be created.

Closes gh-34802
1 year ago
Moritz Halbritter 6eede829d2 Merge branch '3.1.x' 1 year ago
Sungchan Cho 96d5f8641c Fix typo in Docker Compose documentation
See gh-35818
1 year ago
Moritz Halbritter 5b06224af5 Add property for common key/values on observations
- Deprecates 'management.metrics.tags.*'

Closes gh-33241
1 year ago
Moritz Halbritter 214f06083b Auto-configure OtlpHttpSpanExporter only if property is set
- Remove the default value of 'management.otlp.tracing.endpoint'

Closes gh-35596
1 year ago
Stephane Nicoll cd018aff9c Merge branch '3.1.x' 1 year ago
Stephane Nicoll 71856687d7 Upgrade to Undertow 2.3.7.Final
Closes gh-35849
1 year ago
Stephane Nicoll c6bb958ce3 Upgrade to UnboundID LDAPSDK 6.0.9
Closes gh-35848
1 year ago
Stephane Nicoll 815fe626f8 Upgrade to Testcontainers 1.18.3
Closes gh-35847
1 year ago
Stephane Nicoll 9048686080 Upgrade to SQLite JDBC 3.41.2.2
Closes gh-35846
1 year ago
Stephane Nicoll bba8569c25 Upgrade to R2DBC Proxy 1.1.1.RELEASE
Closes gh-35845
1 year ago
Stephane Nicoll 009b4bbcd9 Upgrade to R2DBC MySQL 1.0.2
Closes gh-35844
1 year ago
Stephane Nicoll e51402ef59 Upgrade to R2DBC MSSQL 1.0.1.RELEASE
Closes gh-35843
1 year ago
Stephane Nicoll 10fbaea743 Upgrade to Netty 4.1.93.Final
Closes gh-35842
1 year ago
Stephane Nicoll dac5023c52 Upgrade to Lombok 1.18.28
Closes gh-35841
1 year ago
Stephane Nicoll 99aeb4eef6 Upgrade to Kafka 3.4.1
Closes gh-35840
1 year ago
Stephane Nicoll f3efc963b1 Upgrade to Json-smart 2.4.11
Closes gh-35839
1 year ago
Stephane Nicoll 63994f86bc Upgrade to Jersey 3.1.2
Closes gh-35838
1 year ago
Stephane Nicoll 4cdd2a86a2 Upgrade to JBoss Logging 3.5.1.Final
Closes gh-35837
1 year ago
Stephane Nicoll 68d82df065 Upgrade to Jaybird 5.0.2.java11
Closes gh-35836
1 year ago
Stephane Nicoll 2c013129c8 Upgrade to Jakarta Mail 2.1.2
Closes gh-35835
1 year ago
Stephane Nicoll 1468a63658 Upgrade to Jakarta Json 2.1.2
Closes gh-35834
1 year ago
Stephane Nicoll 3052bfed94 Upgrade to Jackson Bom 2.15.2
Closes gh-35833
1 year ago
Stephane Nicoll a8e924ca7e Upgrade to Infinispan 14.0.10.Final
Closes gh-35832
1 year ago
Stephane Nicoll 033b0b180b Upgrade to HSQLDB 2.7.2
Closes gh-35831
1 year ago
Stephane Nicoll cfdb61b50c Upgrade to Hibernate 6.2.4.Final
Closes gh-35830
1 year ago
Stephane Nicoll eae3453dfd Upgrade to Glassfish JAXB 4.0.3
Closes gh-35829
1 year ago
Stephane Nicoll 574094ec93 Upgrade to Git Commit ID Maven Plugin 5.0.1
Closes gh-35828
1 year ago
Stephane Nicoll 3d2c8d6941 Upgrade to Dropwizard Metrics 4.2.19
Closes gh-35827
1 year ago
Stephane Nicoll 633b7ba96f Upgrade to Byte Buddy 1.14.5
Closes gh-35826
1 year ago