Moritz Halbritter
ed9169501e
Polish
2023-08-08 13:12:47 +02:00
Moritz Halbritter
02a7c22f40
Revert "Use virtual threads in JmsHealthIndicator if enabled"
...
This reverts commit 6fc585c5d2
.
2023-08-03 17:25:28 +02:00
Moritz Halbritter
a843aca821
Revert "Polish"
...
This reverts commit 25eb3c8c18
.
2023-08-03 17:25:15 +02:00
Moritz Halbritter
25eb3c8c18
Polish
2023-08-03 11:16:16 +02:00
Moritz Halbritter
6fc585c5d2
Use virtual threads in JmsHealthIndicator if enabled
...
Closes gh-36694
2023-08-03 10:32:42 +02:00
Moritz Halbritter
e677eb7759
Polish Polish R2dbcObservationAutoConfiguration
2023-08-02 12:14:03 +02:00
Moritz Halbritter
20d264150b
Polish R2dbcObservationAutoConfiguration
2023-08-02 11:41:30 +02:00
Scott Frederick
f2ad08c292
Add since version to deprecated config properties
...
See gh-36482
2023-08-01 16:13:22 -05:00
Moritz Halbritter
b0615dd311
Split OpenTelemetry auto-configuration
...
The OpenTelemetry bean is now configured in the
OpenTelemetryAutoConfiguration. This method also applies
SdkLoggerProvider and SdkMeterProvider.
Additionally, the OpenTelemetry Resource is now a bean. Resource
attributes can now be configured through properties
The resourceAttributes in OtlpProperties have been deprecated in favor
of the new one in OpenTelemetryProperties.
Closes gh-36544
Closes gh-36545
2023-07-27 08:53:09 +02:00
Moritz Halbritter
6050fff078
Auto-configure observability for R2DBC
...
The new ConnectionFactoryDecorator can be used to decorate the
ConnectionFactory built by the ConnectionFactoryBuilder.
The new R2dbcObservationAutoConfiguration configures a
ConnectionFactoryDecorator to attach a ObservationProxyExecutionListener
to ConnectionFactories. This enables Micrometer Observations for R2DBC
queries.
Closes gh-33768
2023-07-25 17:01:55 +02:00
Andy Wilkinson
df4c65e494
Merge branch '3.1.x'
...
Closes gh-36568
2023-07-25 15:18:02 +01:00
Andy Wilkinson
ee9574d399
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36567
2023-07-25 15:04:30 +01:00
Andy Wilkinson
e106828fc8
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36566
2023-07-25 14:59:44 +01:00
Andy Wilkinson
5c6a9122cb
Polish "Test Micrometer config to property exposure"
...
See gh-33743
2023-07-25 14:43:14 +01:00
Mirko Sobeck
19e70055a5
Test Micrometer config to property exposure
...
See gh-33743
2023-07-25 14:37:25 +01:00
Andy Wilkinson
2289b725d2
Merge branch '3.1.x'
...
Closes gh-36560
2023-07-25 13:08:01 +01:00
Andy Wilkinson
2766c4b648
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36559
2023-07-25 13:07:48 +01:00
Andy Wilkinson
d290d05f63
Add missing Stackdriver metric-type-prefix property
...
Closes gh-36499
2023-07-25 13:01:59 +01:00
Andy Wilkinson
0f110a5f5b
Merge branch '3.1.x'
...
Closes gh-36557
2023-07-25 12:54:46 +01:00
Andy Wilkinson
22fa904590
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36556
2023-07-25 12:54:34 +01:00
Andy Wilkinson
45624c0a78
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36555
2023-07-25 12:53:11 +01:00
Andy Wilkinson
aae8665db1
Add missing management.metrics.export.wavefront properties
...
Closes gh-36498
2023-07-25 12:35:58 +01:00
Andy Wilkinson
346ebbc6f8
Merge branch '3.1.x'
...
Closes gh-36554
2023-07-25 12:09:22 +01:00
Andy Wilkinson
5d1b2348e8
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36553
2023-07-25 12:08:43 +01:00
Andy Wilkinson
826bad5820
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36552
2023-07-25 12:08:19 +01:00
Andy Wilkinson
a6c19dae07
Add missing management.metrics.export.signalfx properties
...
Closes gh-36497
2023-07-25 11:35:57 +01:00
Andy Wilkinson
c9c36e7e42
Merge branch '3.1.x'
...
Closes gh-36527
2023-07-24 14:38:52 +01:00
Andy Wilkinson
54323d1a95
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36526
2023-07-24 14:35:14 +01:00
Andy Wilkinson
2db45e9ba3
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36525
2023-07-24 14:34:50 +01:00
Andy Wilkinson
a5d5908c27
Add missing management.metrics.export.atlas properties
...
Closes gh-36496
2023-07-24 14:34:11 +01:00
Andy Wilkinson
3affb3342e
Deprecate auto-configuration for InfluxDB
...
Closes gh-35190
2023-07-20 13:31:10 +01:00
Moritz Halbritter
54e99d68fa
Auto-configure ObservationRegistry on ScheduledTaskRegistrar
...
The TaskSchedulingAutoConfiguration.taskScheduler auto-configuration now
no longer backs off on SchedulingConfigurer beans.
Closes gh-36119
2023-07-20 09:43:12 +02:00
kitbolourchi
abebc396c0
Change B3 extraction format to single
...
See gh-36061
2023-07-19 08:14:01 +02:00
Stephane Nicoll
c726a13395
Polish "Add auto-configuration for ObservedAspect"
...
See gh-35191
2023-07-17 16:06:08 +02:00
Vedran Pavic
0dae89e837
Add auto-configuration for ObservedAspect
...
This adds support for auto-configuring `ObservedAspect` when AspectJ is
on the classpath, which enables the usage of `@Observed`.
See gh-35191
2023-07-17 16:05:48 +02:00
Stephane Nicoll
31db1d8125
Merge branch '3.1.x'
...
Closes gh-36430
2023-07-17 15:48:41 +02:00
Stephane Nicoll
7195d87e6c
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36429
2023-07-17 15:48:30 +02:00
Stephane Nicoll
750096b9c2
Polish "Allow custom ExemplarSampler to be used"
...
See gh-35619
2023-07-17 15:46:48 +02:00
Johnny Goncalves
94b17ecd26
Allow custom ExemplarSampler to be used
...
See gh-35619
2023-07-17 15:44:05 +02:00
Stephane Nicoll
df8b73d8f7
Merge branch '3.1.x'
...
Closes gh-36425
2023-07-17 15:09:23 +02:00
Stephane Nicoll
588129318c
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36423
2023-07-17 15:06:00 +02:00
Jonatan Ivanov
58cfdbfa2d
Add missing OTel Span attributes
...
OTel semantic conventions mandate certain resource attributes to present
on exported spans. This commits make sure that the attribute we add are
merged with the defaults, rather than replacing them.
See gh-36155
2023-07-17 15:00:51 +02:00
Jonatan Ivanov
8115f8f146
Add property for base time unit in OTLP registry
...
Micrometer added a new configuration option to its OTLP registry to
enable configuring the base time unit. These changes provide a
configuration property to support to it.
See gh-36393
2023-07-17 13:17:41 +02:00
Stephane Nicoll
783bfb62e2
Merge branch '3.1.x'
...
Closes gh-36420
2023-07-17 10:04:14 +02:00
Stephane Nicoll
d2912c6442
Update copyright year of changed files
...
See gh-36306
2023-07-17 09:40:57 +02:00
Christoph Dreis
8321887d6a
Fix typos
...
See gh-36306
2023-07-17 09:40:16 +02:00
Andy Wilkinson
b8c4fb6b9a
Upgrade to Liquibase 4.23.0
...
Closes gh-36377
2023-07-14 19:57:27 +01:00
Andy Wilkinson
8ed2ef5640
Merge branch '3.1.x'
...
Closes gh-36277
2023-07-07 12:07:25 +01:00
Andy Wilkinson
c4157bb515
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36276
2023-07-07 12:07:07 +01:00
Andy Wilkinson
cc80bb78fe
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36275
2023-07-07 12:06:51 +01:00
Andy Wilkinson
52f732920b
Support multiple health groups with an additional path with Jersey
...
This commit knowingly makes breaking API changes to
JerseyHealthEndpointAdditionalPathResourceFactory. We considered
other options but they all had the potential to be backwards
incompatible in one way or another. Faced with that situation we
concluded that the likelihood of anyone using the modified API
directly is small enough to warrant making the breaking changes.
If it becomes apparent that we have misjudged things we can revisit
the changes in the future.
Closes gh-36250
2023-07-07 11:21:56 +01:00
Johnny Lim
7c77e1bb85
Polish 'Log correlation IDs when Micrometer tracing is being used'
...
See gh-36158
2023-07-02 20:08:45 +01:00
Ahmed Ashour
298bfd96c2
Change WebServer log messages to use port or ports, not port(s)
...
See gh-36103
2023-06-30 16:28:21 +01:00
Moritz Halbritter
b4bc7cebbc
Revert "Add property to specify the order of ServerHttpObservationFilter"
...
This reverts commit 7b90fbb0b2
.
2023-06-30 14:01:27 +02:00
Moritz Halbritter
849f65a0de
Revert "Apply filter order to ServerHttpObservationFilter"
...
This reverts commit efcc65bc5b
.
2023-06-30 14:01:26 +02:00
Andy Wilkinson
b645eb32ac
Remove deprecated code that was to be removed in 3.2
...
Closes gh-36034
2023-06-23 18:14:22 +01:00
Andy Wilkinson
357c67a999
Merge branch '3.1.x'
2023-06-23 15:58:51 +01:00
Andy Wilkinson
3f7fe25cb9
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36044
2023-06-23 15:58:36 +01:00
Andy Wilkinson
2fae5de245
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36043
2023-06-23 15:50:02 +01:00
Andy Wilkinson
d2966e1cbf
Polish "Replace calls to verifyComplete() to avoid indefinite blocking"
...
See gh-35915
2023-06-23 12:38:12 +01:00
ThomazPassarelli
f9da30faf1
Replace calls to verifyComplete() to avoid indefinite blocking
...
See gh-35915
2023-06-23 12:16:26 +01:00
Jonatan Ivanov
c1b295fd71
Log correlation IDs when Micrometer tracing is being used
...
Add support for logging correlation IDs with Logback or Log4J2 whenever
Micrometer tracing is being used.
The `LoggingSystemProperties` class now accepts a defualt value resolver
which will be used whenever a value isn't in the environment. The
`AbstractLoggingSystem` provides a resolver that supports the
`logging.pattern.correlation` property and will return a value whenever
`LoggingSystem.EXPECT_CORRELATION_ID_PROPERTY` is set.
Using `LoggingSystem.EXPECT_CORRELATION_ID_PROPERTY` allows us to
provide a consistent width for the correlation ID, even when it's
missing from the MDC.
The exact correlation pattern returned will depend on the `LoggingSytem`
implementation. Currently Logback and Log4J2 are supported and both
make use of a custom converter which delegates to a new
`CorrelationIdFormatter` class.
Closes gh-33280
2023-06-22 00:28:45 -07:00
Phillip Webb
3a796aedea
Merge branch '3.1.x'
2023-06-22 00:28:01 -07:00
Phillip Webb
31f218c4e0
Merge branch '3.0.x' into 3.1.x
2023-06-22 00:27:51 -07:00
Phillip Webb
9db3c5a2f7
Polish
2023-06-22 00:24:39 -07:00
Moritz Halbritter
f7abf926a9
Merge branch '3.1.x'
2023-06-19 21:04:26 +02:00
Moritz Halbritter
cbbbecce37
Merge branch '3.0.x' into 3.1.x
2023-06-19 21:04:09 +02:00
Moritz Halbritter
975e2d110c
Polish CompositePropagationFactory
...
Remove shaded Guava import
2023-06-19 21:03:05 +02:00
Andy Wilkinson
ca5bd37e81
Upgrade to Spring Framework 6.1.0-M1
...
Closes gh-35977
Closes gh-35980
2023-06-19 18:12:16 +01:00
Phillip Webb
23eb7ec1f8
Merge branch '3.1.x'
2023-06-16 14:35:44 -07:00
Phillip Webb
5d6a507142
Merge branch '3.0.x' into 3.1.x
2023-06-16 14:35:23 -07:00
Phillip Webb
48e13af8c4
Merge branch '2.7.x' into 3.0.x
2023-06-16 14:34:54 -07:00
Phillip Webb
b8d2c279ee
Update copyright year of changed files
2023-06-16 14:32:43 -07:00
Phillip Webb
854b29b8fb
Polish
2023-06-16 14:32:14 -07:00
Phillip Webb
13f16da716
Merge branch '3.1.x'
2023-06-16 14:00:12 -07:00
Phillip Webb
baddf4c857
Merge branch '3.0.x' into 3.1.x
2023-06-16 13:54:01 -07:00
Phillip Webb
9b72cc41ab
Polish 'Add support for multiple tracing propagation formats'
...
See gh-35611
2023-06-16 13:43:46 -07:00
Moritz Halbritter
3664df61eb
Polish API of SpanExporters and SpanProcessors
2023-06-16 14:54:44 +02:00
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
2023-06-16 14:09:10 +02:00
Moritz Halbritter
c25b084391
Polish
2023-06-16 10:36:33 +02:00
Moritz Halbritter
929283f4dc
Support overriding OTel SpanExporters
...
See gh-35596
2023-06-16 10:24:45 +02:00
Moritz Halbritter
d51559956f
Support overriding default OTel SpanProcessor
...
Also makes it easier to set the MeterProvider used in the default
SpanProcessor.
Closes gh-35560
2023-06-16 09:54:27 +02:00
Moritz Halbritter
6e86f5c444
Register uncategorized ObservationHandlers after categorized ones
...
Closes gh-34399
2023-06-15 15:01:13 +02:00
Moritz Halbritter
5bad242bfb
Merge branch '3.1.x'
2023-06-15 13:50:17 +02:00
Moritz Halbritter
be471c58fe
Merge branch '3.0.x' into 3.1.x
...
Closes gh-35907
2023-06-15 13:49:57 +02:00
Moritz Halbritter
8cd8d21720
Add support for multiple tracing propagation formats
...
See gh-35611
2023-06-15 13:37:33 +02:00
Moritz Halbritter
efcc65bc5b
Apply filter order to ServerHttpObservationFilter
...
Closes gh-35067
2023-06-15 11:45:05 +02:00
Moritz Halbritter
140c37ceba
Enable virtual threads on Jetty
...
Closes gh-35703
2023-06-15 11:01:11 +02:00
Moritz Halbritter
f81787e65d
Enable virtual threads on Tomcat
...
Closes gh-35704
2023-06-15 08:30:09 +02:00
Andy Wilkinson
0ce2b054d2
Merge branch '3.1.x'
2023-06-14 18:20:07 +01:00
Andy Wilkinson
9b88128e3b
Merge branch '3.0.x' into 3.1.x
2023-06-14 18:19:53 +01:00
Andy Wilkinson
4694e20628
Merge branch '2.7.x' into 3.0.x
2023-06-14 18:19:43 +01:00
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
2023-06-14 18:15:04 +01:00
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
2023-06-13 14:04:33 +02:00
Moritz Halbritter
7b90fbb0b2
Add property to specify the order of ServerHttpObservationFilter
...
The property is named 'management.observations.http.server.filter.order'
Closes gh-35067
2023-06-13 12:14:58 +02:00
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
2023-06-13 11:18:05 +02:00
Moritz Halbritter
5b06224af5
Add property for common key/values on observations
...
- Deprecates 'management.metrics.tags.*'
Closes gh-33241
2023-06-13 09:56:42 +02:00
Moritz Halbritter
214f06083b
Auto-configure OtlpHttpSpanExporter only if property is set
...
- Remove the default value of 'management.otlp.tracing.endpoint'
Closes gh-35596
2023-06-13 08:14:22 +02:00
Moritz Halbritter
28a3cee5a2
Merge branch '3.0.x'
...
Closes gh-35766
2023-06-07 08:57:54 +02:00
Moritz Halbritter
85720a5d90
Merge branch '2.7.x' into 3.0.x
...
Closes gh-35765
2023-06-07 08:57:38 +02:00
Bernardo Bulgarelli
51afaa79a7
Add @AliasFor annotation to EndpointCloudFoundryExtension
...
See gh-35716
2023-06-07 08:45:57 +02:00
Moritz Halbritter
d841490f5f
Enable ZipkinProperties in ZipkinAutoConfiguration
...
Closes gh-35592
2023-05-23 09:22:39 +02:00
Stephane Nicoll
9643dbeed2
Merge branch '3.0.x'
...
Closes gh-35590
2023-05-22 16:31:55 +02:00
Christoph Dreis
b2b5728995
Remove unnecessary exclude from spring-restdocs-mockmvc
...
See gh-35568
2023-05-22 16:31:22 +02:00
Stephane Nicoll
7a9bb55fdf
Merge branch '3.0.x'
...
Closes gh-35589
2023-05-22 16:24:56 +02:00
Johnny Lim
1b5fc89b43
Polish
...
See gh-35576
2023-05-22 16:17:05 +02:00
Phillip Webb
0743da4987
Merge branch '3.0.x'
...
Closes gh-35546
2023-05-17 16:42:38 -07:00
Phillip Webb
4072588c29
Polish "Fix invalid Zipkin Reporter back-off behavior"
...
See gh-35455
2023-05-17 16:38:03 -07:00
ryosuke-hasebe
903e19854d
Fix invalid Zipkin Reporter back-off behavior
...
Update `ReporterConfiguration` so that `spanReporter` back off
if a `Reporter` bean is defined. Prior to this commit, only
`AsyncReporter` beans would be considered.
See gh-35455
2023-05-17 16:36:19 -07:00
Phillip Webb
08c3cccc92
Merge branch '3.0.x'
2023-05-15 22:20:39 -07:00
Phillip Webb
4e305cc209
Merge branch '2.7.x' into 3.0.x
2023-05-15 22:20:32 -07:00
Phillip Webb
a75cd014fc
Merge branch '2.6.x' into 2.7.x
2023-05-15 22:20:23 -07:00
Phillip Webb
95d1cb9884
Merge branch '2.5.x' into 2.6.x
2023-05-15 22:20:11 -07:00
Phillip Webb
8316a96515
Polish
2023-05-15 22:19:06 -07:00
Phillip Webb
25b0a4a67b
Merge branch '2.5.x' into 2.6.x
...
Fixes gh-35438
2023-05-15 22:12:57 -07:00
Andy Wilkinson
086b1e5f58
Stop WebFilterChainPostProcessor from causing eager init
...
Fixes gh-35437
2023-05-15 22:12:32 -07:00
Phillip Webb
ef1401fcc9
Fix formatting
2023-05-12 14:20:40 -07:00
Phillip Webb
27c8da66f1
Merge branch '2.5.x' into 2.6.x
...
Closes gh-35412
2023-05-12 13:27:46 -07:00
Madhura Bhave
307f3c3399
Use endpoint mappings in CloudFoundry integration
...
Closes gh-35411
2023-05-12 13:23:13 -07:00
Phillip Webb
e3ed87d165
Merge branch '3.0.x'
2023-05-12 13:21:52 -07:00
Phillip Webb
92e420a098
Merge branch '2.7.x' into 3.0.x
2023-05-12 13:14:12 -07:00
Johnny Lim
ff9fd1abeb
Polish
...
See gh-35185
2023-05-10 08:31:36 +02:00
Stephane Nicoll
ae0efba523
Merge branch '3.0.x'
...
See gh-35312
2023-05-05 12:09:03 +02:00
Stephane Nicoll
1b4f9a7e9c
Remove GraphQL's tracing observation auto-configuration
...
This commit removes the auto-configuration for
PropagationWebGraphQlInterceptor as it has been deprecated with no
replacement.
See gh-35303
2023-05-05 12:07:12 +02:00
Stephane Nicoll
66cc9d73b8
Merge branch '3.0.x'
2023-05-05 11:58:30 +02:00
Stephane Nicoll
be29ab389a
Merge branch '2.7.x' into 3.0.x
2023-05-05 11:57:51 +02:00
Stephane Nicoll
eeefb2a1de
Polish
2023-05-05 11:55:46 +02:00
Marc Leroux
b61834c92d
Replace Mockito argument captors with assertArg
...
See gh-35015
2023-05-05 11:34:55 +02:00
Jonatan Ivanov
5142e8e157
Support Brave's joint spans
...
Brave has a feature called joint spans that was enabled by default with
Spring Cloud Sleuth (and Boot 2.x). This has changed with
Micrometer Tracing and Boot 3.x. In order to make migration simpler,
joint spans should be set through a property.
This is a Brave+B3-only feature, W3C is not supported by Brave and
OTel does not have this capability.
See gh-35165
2023-05-03 17:22:12 -07:00
Phillip Webb
a890323758
Merge branch '3.0.x'
2023-05-02 14:52:42 -07:00
Andy Wilkinson
b03f1e47d0
Merge branch '3.0.x'
...
Closes gh-35171
2023-04-26 12:10:34 +01:00
Andy Wilkinson
d6e3db9c36
Merge branch '2.7.x' into 3.0.x
...
Closes gh-35170
2023-04-26 11:59:19 +01:00
Andy Wilkinson
472afafd4b
Stop WebFilterChainPostProcessor from causing eager init
...
Fixes gh-35163
2023-04-25 22:08:58 +01:00
Scott Frederick
66db13b962
Refactor web server support to use SslBundles
...
Update Tomcat, Jetty, Undertow and Netty servers so that an SslBundle
is used to apply SSL configuration. Existing `Ssl` properties are
internally adapted to an `SslBundle` using the `WebServerSslBundle`
class. Additionally, if `Ssl.getBundle()` returns a non-null value the
the `SslBundles` bean will be used to find a registered bundle by name.
See gh-34814
2023-04-21 01:02:47 -07:00
Andy Wilkinson
04780650a1
Merge branch '3.0.x'
...
Closes gh-35087
2023-04-20 08:04:37 +01:00
Andy Wilkinson
32444fed4b
Merge branch '2.7.x' into 3.0.x
...
Closes gh-35086
2023-04-20 08:04:18 +01:00
Madhura Bhave
3522714c13
Use endpoint mappings in CloudFoundry integration
...
Closes gh-35085
2023-04-20 07:50:44 +01:00
Andy Wilkinson
c55d398f95
Validate health group includes and excludes
...
Closes gh-34360
2023-04-19 19:51:57 +01:00
Andy Wilkinson
45068c777f
Document default value for management.otlp.tracing.compression
...
See gh-34508
2023-04-19 17:21:14 +01:00
Andy Wilkinson
c543d9172c
Polish "Add auto-configuration for OTLP span exporter"
...
See gh-34508
2023-04-19 15:11:00 +01:00
Jonatan Ivanov
ceaafeca0b
Add auto-configuration for OTLP span exporter
...
With these changes an OTLP HTTP/protobuf exporter is auto-configured
if opentelemetry-exporter-otlp is on the classpath.
See gh-34508
2023-04-19 14:44:56 +01:00
Stephane Nicoll
a323bd90a8
Polish "Reintroduce support for ActiveMQ"
...
See gh-35048
2023-04-19 13:08:14 +02:00
Martin BENDA
3e9908a797
Reintroduce support for ActiveMQ
...
See gh-35048
2023-04-19 11:00:40 +02:00
Andy Wilkinson
1ad428129d
Polish "Add customizer for SdkTracerProviderBuilder"
...
See gh-34945
2023-04-18 10:02:17 +01:00
Yanming Zhou
f40e9738b6
Add customizer for SdkTracerProviderBuilder
...
See gh-34945
2023-04-18 10:01:53 +01:00
Phillip Webb
1849b82334
Don't apply configuration-properties from auto-configuration plugin
...
Update the auto-configuration gradle plugin so that the
configuration-properties plugin is not longer automatically applied.
This allows us to have auto-configuration modules that don't ship
configuration properties.
Closes gh-35028
2023-04-17 00:41:25 -07:00
Phillip Webb
00dc942e94
Migrate to Spring Security lambda config
...
Closes gh-35011
2023-04-14 17:39:48 -07:00
Jonatan Ivanov
9774d8a439
Add aggregation temporality to OtlpProperties
...
In Micrometer 1.11.0-RC1, a new property was introduced in OtlpConfig
to define aggregation temporality.
See https://github.com/micrometer-metrics/micrometer/pull/3625
2023-04-13 10:10:19 -07:00
Andy Wilkinson
d4980ea993
Always define connection details beans
...
Closes gh-34776
2023-04-13 18:02:35 +01:00
Phillip Webb
e9a198a68f
Merge branch '3.0.x'
2023-04-12 22:16:35 -07:00
Phillip Webb
7fea4c84b4
Update copyright year of changed files
2023-04-12 22:16:07 -07:00
Phillip Webb
8d2f550f8c
Merge branch '3.0.x'
2023-04-10 21:14:42 -07:00
Phillip Webb
3ba3558cff
Merge branch '2.7.x' into 3.0.x
2023-04-10 21:14:34 -07:00
Phillip Webb
3e9a136143
Polish gradle formatting
2023-04-10 21:14:09 -07:00
Phillip Webb
463701db18
Merge branch '3.0.x'
2023-04-10 16:22:57 -07:00
Phillip Webb
d442bfbeff
Polish
2023-04-10 16:22:11 -07:00
Stephane Nicoll
a031bf4d58
Merge branch '3.0.x'
...
Closes gh-34867
2023-04-05 16:13:42 +02:00
Stephane Nicoll
579364c2ec
Polish "Auto-configure observation for Spring-Batch"
...
See gh-34305
2023-04-05 16:12:49 +02:00
Mark Bonnekessel
5ad29db9c8
Auto-configure observation for Spring-Batch
...
See gh-34305
2023-04-05 15:53:19 +02:00
Andy Wilkinson
8721c0e64f
Add ConnectionDetail support to Zipkin auto-configuration
...
Update Zipkin auto-configuration so that `ZipkinConnectionDetails`
beans may be optionally used to provide connection details.
See gh-34657
Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
2023-03-24 09:25:26 +00:00
Andy Wilkinson
eef4919a33
Start building against Micrometer Tracing 1.1.0-M2 snapshots
...
See gh-34547
Co-Authored-By: Marcin Grzejszczak <mgrzejszczak@vmware.com>
2023-03-10 15:23:10 +00:00
Moritz Halbritter
0b23ffd73a
Merge branch '3.0.x'
...
Closes gh-34425
2023-03-01 14:14:05 +01:00
Moritz Halbritter
ecbc412c7c
Add property 'management.wavefront.trace-derived-custom-tag-keys'
...
Closes gh-34194
2023-03-01 13:35:17 +01:00
Moritz Halbritter
79a4861c17
Merge branch '3.0.x'
...
Closes gh-34418
2023-03-01 12:46:58 +01:00
Moritz Halbritter
73ba797c02
Merge branch '2.7.x' into 3.0.x
...
Closes gh-34417
2023-03-01 12:46:43 +01:00
Johnny Lim
956a579bc9
Polish "Add missing Micrometer PropertiesConfigAdapterTests"
...
See gh-34319
2023-03-01 12:45:55 +01:00
Tadaya Tsuyukubo
1a6d240234
Add management.wavefront.application.custom-tags property
...
Add `management.wavefront.application.custom-tags` property which
populates custom tags in `ApplicationTags` created by
`WavefrontAutoConfiguration`.
See gh-34223
Signed-off-by: Tadaya Tsuyukubo <tadaya@ttddyy.net>
2023-03-01 09:28:44 +01:00
Andy Wilkinson
8a9ea2bad8
Merge branch '3.0.x'
...
Closes gh-34370
2023-02-24 12:27:00 +00:00
Tadaya Tsuyukubo
9854154c31
Specify @Order to the defaultTracingObservationHandler bean definition
...
See gh-34216
Signed-off-by: Tadaya Tsuyukubo <tadaya@ttddyy.net>
2023-02-24 12:25:59 +00:00
Phillip Webb
157091a811
Merge branch '3.0.x'
2023-02-22 18:36:57 -08:00
Phillip Webb
0b15962aca
Merge branch '2.7.x' into 3.0.x
2023-02-22 18:36:16 -08:00
Phillip Webb
b07269a018
Merge branch '3.0.x'
2023-02-21 23:20:07 -08:00
Phillip Webb
c4de86c244
Merge branch '2.7.x' into 3.0.x
2023-02-21 23:17:57 -08:00
Phillip Webb
df5898a146
Reformat code following spring-javaformat upgrade
2023-02-21 22:53:27 -08:00
Andy Wilkinson
1847a9deb6
Upgrade to Spring Framework 6.0.5
...
Closes gh-34301
2023-02-20 20:29:49 +00:00
Andy Wilkinson
e617d362d5
Merge branch '3.0.x'
...
Closes gh-34208
2023-02-15 15:26:55 +00:00
Andy Wilkinson
efbeab74ee
Merge branch '2.7.x' into 3.0.x
...
Closes gh-34207
2023-02-15 15:26:38 +00:00
Mirko Sobeck
ff04f009c0
Add missing Micrometer PropertiesConfigAdapterTests
...
Closes gh-33743
2023-02-15 15:12:02 +00:00
Andy Wilkinson
5cef7632ee
Start building against Spring Framework 6.0.5 snapshots
...
This commit adapts to the changes made for
spring-projects/spring-framework#29885 .
Closes gh-34152
2023-02-15 11:39:08 +00:00
Andy Wilkinson
1c9e22c845
Merge branch '3.0.x'
...
Closes gh-34121
2023-02-08 11:26:33 +00:00
Andy Wilkinson
3551030e3f
Add ObservationFilter beans to auto-configured ObservationRegistry
...
Fixes gh-33968
2023-02-08 11:19:17 +00:00
Moritz Halbritter
23f1c896c9
Merge branch '3.0.x'
...
Closes gh-34015
2023-01-31 10:20:36 +01:00
Johnny Lim
bc7fc90550
Replace Base64Utils with JDK's Base64
...
See gh-33967
2023-01-31 10:20:06 +01:00
Marcin Grzejszczak
06aec1a9bf
Adds CompositeSpanExporter
...
Micrometer Tracing comes with 3 generic interfaces, SpanExportingPredicate,
SpanReporter and SpanFilter, thanks to which you can decide whether you
want to export a span, how you want to report it and how to mutate it
regardless of which tracer library you are using.
Without this change usage of these 3 interfaces is not possible
for OpenTelemetry.
With this change we're putting all SpanExporters to the
CompositeSpanExporter and apply the exporters only after predicates,
filtering and reporting took place.
See gh-34002
2023-01-31 10:11:20 +01:00
Eddú Meléndez
92dd004375
Add property `headers` in `OtlpProperties`
...
In Micrometer 1.11, headers property has been introduced.
See gh-34004
2023-01-31 09:37:39 +01:00
Krzysztof Krason
0e68cae57f
Use instanceof patterns
...
See gh-33987
2023-01-26 20:36:25 -08:00
Krzysztof Krason
a9c547e767
Use text blocks
...
See gh-33987
2023-01-26 20:36:01 -08:00
Krzysztof Krason
6e46423983
Use diamond operators
...
See gh-33987
2023-01-26 20:35:08 -08:00
Phillip Webb
5120242996
Merge branch '2.7.x' into 3.0.x
2023-01-26 19:41:42 -08:00
Krzysztof Krason
888d4ac392
Use '==' rather than '.equals' with enum value
...
See gh-33987
2023-01-26 19:33:37 -08:00
Moritz Halbritter
31ca94833a
Use parent-based sampler by default
...
Closes gh-33821
2023-01-19 09:09:10 +01:00
Phillip Webb
71efc55bf9
Merge branch '2.7.x'
2023-01-18 16:31:53 -08:00
Phillip Webb
7c508fa324
Update copyright year of changed files
2023-01-18 15:37:58 -08:00
Moritz Halbritter
94f4a4396c
Merge branch '2.7.x'
...
Closes gh-33880
2023-01-18 17:35:52 +01:00
Moritz Halbritter
e8d809fe65
Replace 'via' with 'over' or 'through' in the documentation
...
Closes gh-33878
2023-01-18 16:56:42 +01:00
Phillip Webb
fad88232b9
Update copyright year of changed files
2023-01-17 10:12:38 -08:00
Phillip Webb
a889c539ab
Merge branch '2.7.x'
2023-01-17 10:12:25 -08:00
Phillip Webb
a0fe8241a7
Update copyright year of changed files
2023-01-17 10:07:03 -08:00
Moritz Halbritter
f08842019e
Merge branch '2.7.x'
...
Closes gh-33841
2023-01-16 11:34:31 +01:00
Moritz Halbritter
96175a8e50
Use OperationParameter consistently
...
Closes gh-31240
2023-01-16 11:23:21 +01:00
Andy Wilkinson
433364601d
Merge branch '2.7.x'
2023-01-11 17:04:33 +00:00
Andy Wilkinson
3b2e5e5292
Remove references to https://repo.spring.io/release
2023-01-11 17:03:45 +00:00
Moritz Halbritter
52760f6b78
Merge branch '2.7.x'
...
Closes gh-33756
2023-01-11 13:42:11 +01:00
Yongjo Lee
0440e5d1ac
Fix duplicate 'the' typo
...
See gh-33736
2023-01-11 13:39:47 +01:00
Moritz Halbritter
fe1c1edcd4
Change transient to volatile in CompositeHandlerExceptionResolver
2023-01-11 10:52:48 +01:00
Phillip Webb
a2ac38e203
Update copyright year of changed files
2023-01-09 15:46:07 -08:00
Phillip Webb
1621cfd578
Merge branch '2.7.x'
2023-01-09 15:44:44 -08:00
Phillip Webb
6a0a61f1ce
Refine EndpointRequest matcher `toString` and apply to reactive variant
...
Refine the recently introduced `EndpointRequest` matcher `toString()`
to use lower-case item names. Also applied the same logic to the
reactive variant.
See gh-33690
2023-01-09 14:41:41 -08:00
Moritz Halbritter
3b6b795c9f
Merge branch '2.7.x'
...
Closes gh-33729
2023-01-09 12:39:42 +01:00
rishal
c84399e705
Add toString method for EndpointRequestMatcher
...
See gh-33690
2023-01-09 12:34:43 +01:00
Krzysztof Krason
cf6493f65c
Simplify AssertJ assertions and also make them more readable
...
See gh-33653
2023-01-09 11:10:20 +01:00
Phillip Webb
f588793445
Update copyright year of changed files
2022-12-22 01:00:42 -08:00
Phillip Webb
0254619782
Merge branch '2.7.x'
2022-12-22 00:59:40 -08:00
Phillip Webb
e4772cf3b7
Update copyright year of changed files
2022-12-22 00:59:32 -08:00
Brian Clozel
28f9f20d39
Declare order for ServerHttpObservationFilter WebFilter
...
This commit declares an `@Order` for the `ServerHttpObservationFilter`
bean declaration in the Observation WebFlux auto-configuration.
This allows developers to consistently order other `WebFilter` instances
relatively to this one. Here, `@Order(Ordered.HIGHEST_PRECEDENCE + 1)`
has been chosen to align with the order of its MVC counterpart.
Fixes gh-33444
2022-12-19 18:24:36 +01:00
Brian Clozel
3310b59520
Polish
2022-12-19 14:50:47 +01:00
Brian Clozel
593b5311e9
Configure GraphQL web propagation for tracing
...
As of spring-projects/spring-graphql#547 , Spring GraphQL introduced a
`PropagationWebGraphQlInterceptor` that propagates the incoming tracing
information in HTTP request headers into the GraphQL context.
This commit auto-configures the propagation interceptor if the
application exposes a GraphQL HTTP endpoint and if it is configured for
Tracing support.
Fixes gh-33542
2022-12-19 12:13:14 +01:00
Moritz Halbritter
725337f976
Make fields final
...
Closes gh-33537
2022-12-16 14:28:44 +01:00
Johnny Lim
d21572a189
Resolve TODOs for observability tests
...
See gh-33481
2022-12-09 13:21:55 +01:00
Brian Clozel
50be8cbf91
Fix IllegalArgumentException in WebClient convention adapter
...
Prior to this commit, the `ClientObservationConventionAdapter` would
fail with an `IllegalArgumentException` when the observation is first
started: at this point, the carrier (the request builder here) is
present, but the full request not yet fully built.
This commit ensures that the convention adapter uses the request and, if
not available, the request builder to adapt to the
`WebClientExchangeTagsProvider`.
Fixes gh-33483
2022-12-07 13:16:57 +01:00
Johnny Lim
90589fd6d4
Polish
...
See gh-33384
2022-12-01 11:32:39 +01:00
Moritz Halbritter
cfaade95df
Add test to verify ZipkinRestTemplateBuilderCustomizer
...
See gh-33399
2022-11-29 11:55:27 +01:00
Moritz Halbritter
2ceee789ce
Fix bug where ZipkinRestTemplateBuilderCustomizer had no effect
...
Closes gh-33399
2022-11-29 10:39:19 +01:00
Brian Clozel
07766c436c
Apply user-provided ObservationConventions in auto-configurations
...
Prior to this commit, we would advise developers, as migration path from
Spring Boot 2.0-x metrics, to create `GlobalObservationConvention` beans
for the observations they want to customize (observation name or key
values).
`GlobalObservationConvention` are currently applied **in addition** to
the chosen convention in some cases, so this does not work well with
this migration path.
Instead, instrumentations always provide a default convention but also a
way to configure a custom convention for their observations. Spring Boot
should inject custom convention beans in the relevant
auto-configurations.
Fixes gh-33285
2022-11-22 20:44:05 +01:00
Jonatan Ivanov
2d40d07773
Remove Brave and OTel HTTP support in favor of instrumentation
...
See gh-33287
2022-11-22 13:22:14 +00:00
Stephane Nicoll
29ee5d2d9a
Polish
2022-11-22 10:45:03 +01:00
Phillip Webb
12b4578e98
Further refine WavefrontProperties
...
See gh-33244
2022-11-21 11:43:10 -08:00
Phillip Webb
c93e248c46
Refine WavefrontProperties
...
Remove naming properties under `management.wavefront.application`.
Closes gh-33244
2022-11-18 16:36:37 -08:00
Andy Wilkinson
e63fcebcf4
Merge branch '2.7.x'
...
Closes gh-33256
2022-11-18 13:04:08 +00:00
Andy Wilkinson
c483e662a9
Merge branch '2.6.x' into 2.7.x
...
Closes gh-33255
2022-11-18 13:03:50 +00:00
Andy Wilkinson
fc9c036c88
Create git commit time with epoch seconds rather than milliseconds
...
Closes gh-33237
2022-11-18 13:03:05 +00:00
Phillip Webb
fb5cdbd11c
Create ApplicationTags in common WavefrontAutoConfiguration
...
Relocate `ApplicationTags` `@Bean` method from
`WavefrontTracingAutoConfiguration` to `WavefrontAutoConfiguration`
since it is now shared between tracing and metrics.
The `application-name`, `service-name`, `cluster-name` and `shard-name`
have also been relocated from `management.wavefront.tracing` to
`management.wavefront`.
Fixes gh-33244
2022-11-17 20:16:38 -08:00
Andy Wilkinson
cd455a9f6f
Restore previous serialization formatting in Actuator responses
...
Fixes gh-33236
2022-11-17 11:31:27 +00:00
Phillip Webb
a0f39d66fe
Polish 'Align Wavefront application tags support with Spring Boot 2.x'
...
See gh-32844
2022-11-16 17:10:19 -08:00
Glenn Oppegard
42bb4c0615
Align Wavefront application tags support with Spring Boot 2.x
...
Update `application-name` and `service-name` `management.wavefront`
properties to align with Spring Boot 2.x support. The properties now
use the wavefront terminology where `application` refers to an a
collection of (micro)`services`.
This commit also adds `cluster-name` and `shard-name` properties that
can be used to add additional items to the `ApplicationTags`.
See gh-32844
2022-11-16 16:49:51 -08:00
Johnny Lim
6027508cf7
Polish
...
See gh-33108
2022-11-16 10:00:36 +01:00
Phillip Webb
0754665973
Merge branch '2.7.x'
...
Closes gh-33169
2022-11-14 15:08:55 -08:00
Phillip Webb
733638cf89
Merge branch '2.6.x' into 2.7.x
...
Closes gh-33168
2022-11-14 15:07:48 -08:00
Phillip Webb
2a989b31aa
Create Environment and apply ConversionService to management contexts
...
Update `ManagementContextFactory` implementations to create an
appropriate `Environment` type and to apply the `ConversionService`
from the parent context.
Prior to this commit, the management context `Environment` would not
be able to convert values from a `configtree:` source due to a missing
converter.
Fixes gh-32941
2022-11-14 15:06:30 -08:00
Brian Clozel
932f7d705f
Start building against Spring Framework 6.0.0 SNAPSHOTs
...
See gh-33136
2022-11-14 16:40:30 +01:00
Andy Wilkinson
fe72f307f4
Avoid actuator beans being ineligible for post-processing
...
Closes gh-33110
2022-11-11 16:39:57 +00:00
Andy Wilkinson
b5e502d03b
Make class package-private as it's returned from package-private method
...
Returning a private class from a package-private method causes the
AOT-generated source files to fail to compile as the private class is
not visible.
Closes gh-33106
2022-11-11 15:47:09 +00:00
Madhura Bhave
8cb615e9b6
Remove workarounds for SecurityContextRepository
2022-11-10 14:23:17 -08:00
Andy Wilkinson
5f6b63e277
Auto-configure span customizer beans
...
Closes gh-33087
2022-11-10 12:15:22 +00:00
Phillip Webb
e5a0b164ac
Configure MeterBinders after beans have been created
...
Update `MeterRegistryPostProcessor` to configure `MeterRegistry` beans
in two distinct sweeps. The first sweep applies customizers and filters
as the `MeterRegistry` bean is initialized, the second sweep applies
`MeterBinder` beans once all singletons have been instantiated.
Prior to this commit, it was not possible for a `MeterBinder` bean to
directly or indirectly use a `MeterRegistry`. It was also possible for
bound meters to cause a deadlock during refresh processing if those
meters could be updated on a thread other than main, such as GC
notifications.
Fixes gh-30636
Fixes gh-33070
2022-11-10 11:39:12 +00:00
Andy Wilkinson
e60084112e
Avoid NPE when TraceContext has deferred sampling
...
Closes gh-33093
2022-11-10 11:22:42 +00:00
Andy Wilkinson
6e4bece912
Make auto-configured OtelTracer back off when user defines a Tracer
...
Closes gh-33097
2022-11-10 11:20:39 +00:00
Andy Wilkinson
d91e16a6c5
Make auto-configured BraveTracer back off when user defines a Tracer
...
Closes gh-33095
2022-11-10 11:20:38 +00:00
Phillip Webb
3d2071d044
Migrate endpoints to return OperationResponseBody types
...
Update types returned from endpoints to implement the
`OperationResponseBody` interface. This ensures that they will be
serialized using the isolated actuator `ObjectMapper`.
See gh-20291
2022-11-09 22:17:16 -08:00
Phillip Webb
1f8493fb29
Support isolated actuator ObjectMapper
...
Add `OperationResponseBody` tagging interface that can be used
to trigger the use of an isolated ObjectMapper specifically for
actuator responses.
The isolated mapper is provided by an `EndpointObjectMapper`
bean which is auto-configured unless specifically disabled
by the user.
WebMVC, WebFlux and Jersey integrations have been updated
to provide a link between the `OperationResponseBody` type
and the endpoint `ObjectMapper`.
See gh-20291
2022-11-09 22:17:13 -08:00
Phillip Webb
72cbb8a5d8
Polish
2022-11-09 21:56:49 -08:00
Phillip Webb
79ff11cb2b
Rename and relocate ExemplarsAutoConfiguration
...
Rename `ExemplarsAutoConfiguration` and relocate it to a diffent
package to make it clear that it is for Prometheus.
2022-11-09 18:03:09 -08:00
Scott Frederick
a53141f8a4
Fix JMX exposure default in config metadata and docs
...
Fixes gh-33072
2022-11-09 14:56:44 -06:00
Phillip Webb
883e97b166
Merge branch '2.7.x'
2022-11-09 11:40:56 -08:00
Phillip Webb
ea10a64a0c
Merge branch '2.6.x' into 2.7.x
2022-11-09 11:39:53 -08:00
Phillip Webb
f423a26dd5
Polish
2022-11-09 11:39:48 -08:00
Phillip Webb
1adc7c7dd4
Merge branch '2.7.x'
2022-11-09 11:32:24 -08:00
Phillip Webb
0ef03d725f
Merge branch '2.6.x' into 2.7.x
2022-11-09 11:31:55 -08:00
Phillip Webb
a431ae04e6
Polish
2022-11-09 11:30:11 -08:00
Phillip Webb
32b9945632
Polish
2022-11-08 23:15:30 -08:00
Andy Wilkinson
3a2703e8f6
Upgrade to Jakarta Mail 2.1 and switch to Eclipse Angus RI
...
Closes gh-33059
Closes gh-33050
2022-11-08 11:01:15 +00:00
Andy Wilkinson
b67c427259
Upgrade to Servlet 6.0 and related EE 10 specs
...
Co-authored-by: Phillip Webb <pwebb@vmware.com>
Closes gh-33036
Closes gh-33037
Closes gh-33038
Closes gh-33039
Closes gh-33040
Closes gh-33041
Closes gh-33042
Closes gh-33043
2022-11-07 17:33:38 +00:00
Phillip Webb
179aa987ee
Unify actuator descriptor class names
...
Update actuator endpoints to consistently use `...Descriptor` for
JSON support classes.
Closes gh-33022
2022-11-05 20:15:35 -07:00
Phillip Webb
34b4ae8e05
Merge branch '2.7.x'
...
Closes gh-33019
2022-11-05 16:36:55 -07:00
Andy Wilkinson
604aa4d512
Align auto-configured Lettuce metrics with Lettuce's defaults
...
Closes gh-32986
2022-11-03 10:49:24 +00:00
Andy Wilkinson
8e08931411
Merge branch '2.7.x'
...
Closes gh-32990
2022-11-03 10:44:46 +00:00
Andy Wilkinson
394ae76b04
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32989
2022-11-03 10:44:21 +00:00
Andy Wilkinson
fcd3413ba0
Allow histograms to be disabled for Lettuce metrics
...
Closes gh-32985
2022-11-03 10:34:41 +00:00
Andy Wilkinson
beea06f515
Polish "Handle custom observation name for HTTP reqs in max URI tag filters"
...
See gh-32973
2022-11-02 20:10:16 +00:00
Johnny Lim
89fe895cd6
Handle custom observation name for HTTP reqs in max URI tag filters
...
See gh-32973
2022-11-02 20:09:12 +00:00
Brian Clozel
0acaa0e460
Adapt to observation changes in Framework
...
See spring-projects/spring-framework#29388
2022-11-02 18:39:10 +01:00
Moritz Halbritter
05c5b1225c
Replace Tag to KeyValues adapter code
...
Closes gh-32876
2022-11-02 16:25:37 +01:00
Moritz Halbritter
7aff82009f
Revert "Register no-op tracer bean if tracing is disabled"
...
This reverts commit 2d75a8a9eb
.
2022-11-02 15:45:39 +01:00
Moritz Halbritter
2d75a8a9eb
Register no-op tracer bean if tracing is disabled
...
Closes gh-32907
2022-11-02 08:48:25 +01:00
Andy Wilkinson
11cff48271
Start building against Micrometer Tracing 1.0.0 snapshots
...
See gh-32937
2022-11-01 11:48:32 +00:00
Phillip Webb
2b5a29d514
No longer log hostname during application start
...
Remove hostname logging since `InetAddress.getLocalHost().getHostName()`
causes a network lookup and can take a long time.
Closes gh-32908
2022-10-31 13:46:47 -07:00
Phillip Webb
9856286a2d
Refine actuator httpexhanges naming
...
See gh-32885
2022-10-28 12:50:59 -07:00
Andy Wilkinson
29f7a596fe
Polish
2022-10-28 08:57:00 +01:00
Phillip Webb
3e50836b1a
Rename httptrace endpoint and related classes to httpexchanges
...
Rename `/actuator/httptrace` to `/actuator/httpexchanges` to better
describe its purpose and to remove confusion with distribute tracing.
This change also takes the opportunity to improve the code by making
the `HttpExchange` class (previously `HttpTrace`) fully immutable.
Closes gh-32885
Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com>
2022-10-27 16:34:42 -07:00
Johnny Lim
8d17d2d443
Handle null span in LazyTracingSpanContextSupplier consistently
...
See gh-32817
2022-10-27 18:02:47 +01:00
Johnny Lim
5067aab552
Polish
...
See gh-32840
2022-10-27 16:33:14 +02:00
Marcin Grzejszczak
b753170807
Add missing BaggageTextMapPropagator for OTel W3C
...
Without this change we're missing the BaggageTextMapPropagator for
OTel. This means that we're not propagating remote-fields
(only baggage via the 'baggage' field).
With this change we're adding the missing propagator as
THE LAST entry in the composite TextMapPropagator. It has to be
last cause with the latest Snapshots of Micrometer Tracing it
will append the remote field baggage to existing baggage in the
context extracted via the W3CBaggagePropagator.
See gh-32898
2022-10-27 09:33:33 +02:00
Phillip Webb
a59b6cb1f3
Polish
2022-10-25 21:56:53 -07:00
Phillip Webb
4be3218cb6
Merge branch '2.7.x'
2022-10-25 15:48:26 -07:00
Andy Wilkinson
99edda735e
Polish
2022-10-25 12:57:58 +01:00
Brian Clozel
685fa900f8
Auto-configure Observation instrumentation for WebFlux
...
Prior to this commit, Spring Boot would offer a specific Metrics
instrumentation for WebFlux applications through a `WebFilter` and
custom Tag providers.
As of Spring Framework 6.0, the Observation instrumentation is done
directly in WebFlux, also with a `WebFilter`. While this allows both
metrics and traces, some features cannot be supported in the same way
with this new infrastructure.
The former `WebFilter` has been removed and the Tagging infrastructure
deprecated in favor of custom Observation conventions. This commit
provides an adapter layer so that developers can refactor their custom
tagging solution to the convention way, during the deprecation phase,
without losing any feature.
Closes gh-32539
2022-10-20 15:29:31 +02:00
Brian Clozel
9948fc3e39
Use GraphQL Observation instrumentation
...
This commit migrates the existing metrics support (added in #29140 ) to
the new `Observation` instrumentation contributed in
spring-projects/spring-graphql#501 .
We cannot have a smoother migration path here as the instrumentation
does not use the same context information for metadata extraction.
Closes gh-32794
2022-10-19 22:06:40 +02:00
Madhura Bhave
ce3c933f77
Adapt to Spring Security changes
...
Closes gh-32604
2022-10-19 11:46:27 -07:00
Phillip Webb
2e74878ba4
Downgrade to OpenSAML 4.0.1
...
See gh-32604
2022-10-19 11:46:27 -07:00
Brian Clozel
e5c12c2b56
Move HTTP client observation auto-configuration
...
This commit moves the observation auto-configuration from the metrics
package to the observation package for consistency.
See gh-32484
See gh-32518
2022-10-19 19:59:25 +02:00
Brian Clozel
b2fe807d47
Move MVC metrics to Observation auto-configuration
...
This commit moves the entire Metrics auto-configuration for Spring MVC
to the new `Observation` API and the instrumentation contributed in
Spring Framework.
Closes gh-32538
2022-10-19 19:33:31 +02:00
Brian Clozel
cbca457eff
Adapt to HTTP Observation changes in Framework
...
This commit adapts to the renames/package changes in the HTTP
Observation support in Spring Framework.
See spring-projects/spring-framework#29334
2022-10-17 22:46:06 +02:00
Andy Wilkinson
4700a00d94
Auto-configure CompositeSpanHandler with Brave
...
Closes gh-32753
2022-10-17 13:58:48 +01:00
Andy Wilkinson
d593d194de
Polish "Add auto-configuration for Exemplars"
...
See gh-32415
2022-10-13 13:23:48 +01:00
Jonatan Ivanov
c5b2bc3dc7
Add auto-configuration for Exemplars
...
See gh-32415
2022-10-13 12:54:06 +01:00
Andy Wilkinson
81ee173877
Polish
...
See gh-32399
2022-10-13 12:51:25 +01:00
Andy Wilkinson
1af21fe33f
Polish "Use TracingAwareMeterObservationHandler if tracing is configured"
...
See gh-32399
2022-10-13 12:09:43 +01:00
Jonatan Ivanov
415b9025c8
Use TracingAwareMeterObservationHandler if tracing is configured
...
See gh-32399
2022-10-13 12:09:43 +01:00
Bertolt Meier
647a2905c8
Add checkstyle rule for List.of() / Set.of() / Map.of()
...
This commits adds a checkstyle rule to not use List.of(), Set.of()
and Map.of(), preferring Collections.emptyList(), emptySet(), and
emptyMap() respectively.
It replaces usages of these methods across the codebase.
See gh-32655
2022-10-12 18:15:48 +01:00
Johnny Lim
1032f8cc94
Polish Micrometer tracing changes
...
See gh-32627
2022-10-12 18:05:41 +01:00
Andy Wilkinson
e4544c1785
Use new constructor to configure W3CPropagation without baggage
...
Closes gh-32524
2022-10-12 17:19:45 +01:00
Andy Wilkinson
180d0edbca
Decouple AutoTimeProperties from Micrometer Core
...
Closes gh-32676
2022-10-12 14:40:42 +01:00
Andy Wilkinson
7e9e64a2ea
Revert "Merge pull request #32399 from jonatan-ivanov"
...
This reverts commit ad40ef3398
, reversing
changes made to 6eb32647f5
.
2022-10-12 14:36:08 +01:00
Jonatan Ivanov
a0ceb2c3ff
Use TracingAwareMeterObservationHandler if tracing is configured
...
See gh-32399
2022-10-12 13:57:39 +01:00
Jonatan Ivanov
fff4aaaac1
Fix Observation lifecycle issues in ObservationAutoConfigurationTests
...
See gh-32662
2022-10-12 13:31:21 +01:00
Andy Wilkinson
403803837a
Adapt to changes in REST Docs for documenting query parameters
...
See gh-32623
2022-10-12 11:30:57 +01:00
Andy Wilkinson
4dfd770406
Ensure that metrics and observation properties are enabled
...
Closes gh-32676
2022-10-11 20:30:40 +01:00
Johnny Lim
73fd760137
Polish HTTP client observability changes
...
See gh-32484
See gh-32518
Closes gh-32636
2022-10-07 19:05:14 +02:00
Marcin Grzejszczak
dfd148fb76
Make auto-configured Brave Tracer more compliant with OTel tracer
...
By default we will not support joined spans and the trace ID will
be 128-bit.
See gh-32615
2022-10-07 11:14:46 +01:00
Brian Clozel
3e6ad67f16
Switch to Micrometer 1.10.0-SNAPSHOT
...
See gh-32598
2022-10-06 15:18:32 +02:00
Stephane Nicoll
d106fc266a
Revert "Adapt to deprecations in Spring Framework snapshots"
...
This reverts commit ff6acbe972
.
2022-10-06 07:09:51 +02:00
Stephane Nicoll
ff6acbe972
Adapt to deprecations in Spring Framework snapshots
2022-10-05 15:55:33 +02:00
Andy Wilkinson
7c4e46e538
Allow thread dump endpoint to call ThreadMXBean in a native image
...
Closes gh-31680
2022-10-04 17:09:22 +01:00
Phillip Webb
e0b67889a8
Use Stream.toList instead of Stream.collect when possible
...
Update code to make use of `Stream.toList()` whenever possible.
Closes gh-28177
2022-10-04 00:29:22 -07:00
Andy Wilkinson
3ab36074dc
Make management.tracing.enabled are first-class property
...
This will allow metadata to be generated for it automatically.
Closes gh-31656
2022-10-03 14:28:23 +01:00
Andy Wilkinson
6d4390e034
Simplify ConditionalOnEnabledTracing
...
Closes gh-32572
2022-10-03 14:26:41 +01:00
Andy Wilkinson
69c8959e6d
Remove remnants of references to GlobalKeyValuesProviders
...
Closes gh-31841
2022-10-03 14:03:15 +01:00
Stephane Nicoll
c2b8d3de21
Declare beans that can be instantiated at build-time static
...
This commit updates the bean factory methods for beans that can be
instantiated at build-time to be static. Doing so makes sure that
the enclosing configuration class does not have to be resolved in
order to create the instance.
Closes gh-32570
2022-10-03 14:36:04 +02:00
Johnny Lim
d6cfcd0825
Fix compile errors
...
Closes gh-32569
2022-10-02 18:38:28 +02:00
Andy Wilkinson
522cb1c0ea
Polish deprecation warnings
...
See gh-32541
2022-09-30 18:51:37 +01:00
Andy Wilkinson
dbcb291b7a
Polish
...
See gh-32541
2022-09-30 18:31:01 +01:00
Andy Wilkinson
bcb5e84129
Avoid using reflection when creating composite health contributors
...
Closes gh-32541
2022-09-30 17:03:02 +01:00
Andy Wilkinson
51df7813a5
Remove code deprecated in 2.x and add since and forRemoval attributes
...
Closes gh-32548
Closes gh-32549
2022-09-30 14:39:05 +01:00
Brian Clozel
5b092f5d80
Polish
...
See gh-32518
2022-09-30 12:52:22 +02:00
Brian Clozel
8b4a20d6cd
Use Observation infrastructure for instrumenting WebClient
...
As of spring-projects/spring-framework#28341 , `WebClient` is
instrumented directly for `Observation`.
This commit removes the custom `ExchangeFilterFunction` that previously
instrumented the client for metrics.
As a result, the relevant tag providers are now deprecated and adapted
as `ObservationConvention` for the time being.
Closes gh-32518
2022-09-30 11:24:35 +02:00
Stephane Nicoll
3702c71fc1
Adapt to Spring AOT changes
2022-09-29 18:55:41 +02:00
Andy Wilkinson
17953eeb33
Merge branch '2.7.x'
...
Closes gh-32544
2022-09-29 11:41:15 +01:00
Andy Wilkinson
3ef633b096
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32543
2022-09-29 11:39:42 +01:00
Andy Wilkinson
84a25c7dcf
Configure Log4j2 classpath overrides consistently
...
Closes gh-32537
2022-09-29 11:25:21 +01:00
Andy Wilkinson
f10d696c46
Merge branch '2.7.x'
...
Closes gh-32536
2022-09-29 10:04:45 +01:00
Andy Wilkinson
9f5b7db553
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32535
2022-09-29 10:04:19 +01:00
Andy Wilkinson
be48f37a83
Fix LogbackMetrics auto-config test with Logback and Log4j2 on cp
...
Closes gh-32533
2022-09-29 10:03:52 +01:00
dreis2211
388134713e
Remove unused MockReactiveWebServerFactory
...
See gh-32526
2022-09-29 09:33:29 +02:00
Andy Wilkinson
0bfa9cd704
Upgrade to Logback 1.4 and SLF4J 2.0
...
Closes gh-12649
2022-09-28 21:14:08 +01:00
Andy Wilkinson
574242b44f
Polish "Break cycles between Zipkin senders and HTTP client observation"
...
See gh-32528
2022-09-28 20:28:11 +01:00
Marcin Grzejszczak
b41ed44b60
Break cycles between Zipkin senders and HTTP client observation
...
Previously, RestTemplateBuilder and WebClient.Builder beans were used
to create the HTTP client for sending out spans. Those same beans are
also instrumented for observability which results in a cycle.
This commit breaks the cycle by not using the application-web
builders to create the RestTemplate and WebClient's used by the Zipkin
senders. Instead, builders are created inline, with new callbacks
being introduced to allow the user to customize these Zipkin-specific
builders.
See gh-32528
2022-09-28 20:11:44 +01:00
Andy Wilkinson
8c74b62888
Polish "Prefer WebClient to RestTemplate for Zipkin's Sender"
...
See gh-32529
2022-09-28 19:07:27 +01:00
Marcin Grzejszczak
cd3b3d468a
Prefer WebClient to RestTemplate for Zipkin's Sender
...
Previously, a Webclient-based sender was only for reactive web
applications, falling back to a RestTemplate-based sender in all
other cases.
With this commit we now prefer to use WebClient if it is available,
irrespective of the web application type. The assumption is that
if the user has WebClient on the classpath, it's either a reactive
web application, or it's a servlet web application or non-web
application but WebClient is preferred.
See gh-32529
2022-09-28 19:04:30 +01:00
Brian Clozel
eac50a8f0c
Auto-configure Observation support for RestTemplate
...
Prior to this commit, Spring Boot would auto-configure a customizer that
instruments `RestTemplate` through a `RestTemplateBuilder`. This would
install a request interceptor that instrumented client exchanges for
producing metrics.
As of spring-projects/spring-framework#28341 , the instrumentation is
done at the `RestTemplate` level directly using the `Observation` API.
The `Tag` (now `KeyValue`) extraction, observation name and
instrumentation behavior now lives in the Spring Framework project.
This commit updates the auto-configuration to switch from Boot-specific
Metrics instrumentation to a generic Observation instrumentation.
As a migration path, some configuration properties are deprecated in
favor of the new `management.observations.*` namespace.
Closes gh-32484
2022-09-27 22:19:01 +02:00
Andy Wilkinson
36a4b36ccb
Polish "Add support for MDC, Context Propagation (via B3 and W3C), and Baggage"
...
See gh-32480
2022-09-27 16:47:09 +01:00
Marcin Grzejszczak
52d1436dc6
Add support for MDC, Context Propagation (via B3 and W3C), and Baggage
...
See gh-32480
2022-09-27 16:47:03 +01:00
Andy Wilkinson
5449397463
Require micrometer-tracing-bridge-otel to auto-configure OTel
...
Closes gh-32503
2022-09-27 09:10:44 +01:00
Andy Wilkinson
6cc3619675
Require micrometer-tracing-bridge-brave to auto-configure Brave
...
Closes gh-32502
2022-09-27 08:35:22 +01:00
Vedran Pavic
230f2cda84
Migrate to AuthorizationFilter in Spring Security auto-config
...
This commit updates Servlet based Spring Security auto-configuration
to use AuthorizationFilter, which is intended to supersede
FilterSecurityInterceptor.
See gh-31255
2022-09-22 13:53:54 +01:00
Scott Frederick
08022ba86e
Remove support for locating imports using spring.factories
...
With this commit, loading `@AutoConfiguration`,
`@ImportAutoConfiguration`, and `@ManagementContextConfiguration`
classes is supported with `.imports` files only. Support for loading
these classes with `spring.factories` is removed.
Closes gh-29699
2022-09-21 17:34:51 -05:00
Scott Frederick
f9c341c75a
Revert "Generate the AutoConfiguration.imports file from annotations"
...
This reverts commit da4de7d67d
.
2022-09-21 14:50:15 -05:00
Scott Frederick
d62d7ca75d
Revert "Generate ManagementContextConfiguration.imports file from annotations"
...
This reverts commit 6b3b0dd3a6
.
2022-09-21 14:50:15 -05:00
Andy Wilkinson
b084019d34
Reverse the order of tracing and metrics handlers
...
Closes gh-32463
Co-authored-by: Jonatan Ivanov <jonatan.ivanov@gmail.com>
2022-09-21 19:05:21 +01:00
Andy Wilkinson
78a64d7f61
Allow DefaultMeterObservationHandler to be replaced by user's bean
...
Closes gh-32462
Co-authored-by: Jonatan Ivanov <jonatan.ivanov@gmail.com>
2022-09-21 19:05:07 +01:00
Andy Wilkinson
5cb68eab1e
Remove HotSpot specifics from HeapDumper strategy interface
...
Closes gh-27533
2022-09-16 12:53:43 +01:00
Stephane Nicoll
84298e3326
Adapt to API change in Spring Framework
...
See https://github.com/spring-projects/spring-framework/issues/29005
2022-09-12 10:13:03 +02:00
Andy Wilkinson
144fdaa703
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32283
2022-09-09 15:14:40 +01:00
Andy Wilkinson
78f4242e46
Build with Gradle 7.5 while still supporting Gradle 6.8+
...
Closes gh-32281
2022-09-09 15:13:43 +01:00
Brian Clozel
89c61e9093
Adapt GlobalObservationConvention imports
...
See micrometer-metrics/micrometer#3387
2022-09-09 14:30:53 +02:00
Phillip Webb
46be4a3f30
Merge branch '2.7.x'
2022-09-08 19:38:18 -07:00
Phillip Webb
e88a682220
Merge branch '2.6.x' into 2.7.x
2022-09-08 19:37:52 -07:00
Phillip Webb
85697ac482
Update copyright year of changed files
2022-09-08 19:36:59 -07:00
Jonatan Ivanov
13a2ea9194
Build against Micrometer 1.10.0-M5 and Tracing 1.0.0-M8 snapshots
...
See gh-32048
Co-authored-by: Marcin Grzejszczak <mgrzejszczak@vmware.com>
2022-09-06 20:15:51 +01:00
Stephane Nicoll
e5d0e34268
Adapt to recent changes in Spring Framework
...
See https://github.com/spring-projects/spring-framework/issues/29082
See https://github.com/spring-projects/spring-framework/issues/28877
2022-09-05 18:23:05 +02:00
Scott Frederick
6b3b0dd3a6
Generate ManagementContextConfiguration.imports file from annotations
...
This commit adds the
`ManagementContextConfigurationImportsAnnotationProcessor` to
the `spring-boot-autoconfigure-processor` annotation processor
module.
Closes gh-32222
2022-09-02 16:27:59 -05:00
Scott Frederick
da4de7d67d
Generate the AutoConfiguration.imports file from annotations
...
This commit adds the `AutoConfigurationImportsAnnotationProcessor` to
the `spring-boot-autoconfigure-processor` annotation processor
module. When added to a project build, the annotation processor will
generate the
`org.springframework.boot.autoconfigure.AutoConfiguration.imports`
file automatically from `@AutoConfiguration`-annotated classes. It
also applies the annotation processor to the Spring Boot build.
Closes gh-31228
2022-09-02 15:10:22 -05:00
Andy Wilkinson
795ea289db
Adapt to BindingReflectionHintsRegistrar moving package
2022-09-02 19:46:02 +01:00
Andy Wilkinson
cf8e84d406
Adapt to BindingReflectionHintsRegistrar moving into spring-core
2022-09-02 17:34:29 +01:00
Andy Wilkinson
d6e9a03136
Adapt to synthesized annotation changes in Framework
2022-09-02 17:01:51 +01:00
Phillip Webb
44f1949c5e
Polish hint API calls
2022-09-01 19:43:43 -07:00
Madhura Bhave
47effdcade
Support role-based sanitization for actuator endpoints
...
Closes gh-32156
2022-08-24 16:03:58 -07:00
Stephane Nicoll
24a52aa66d
Annotate actuator internal infrastructure with @Reflective
...
This commit simplifies the registration of hints for the infrastructure
of the Actuator that is invoked via reflection.
2022-08-17 17:25:06 +02:00
Stephane Nicoll
e6977777cc
Merge branch '2.7.x'
...
Closes gh-32100
2022-08-17 09:10:13 +02:00
Stephane Nicoll
ca63a6e9ad
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32099
2022-08-17 09:10:02 +02:00
Stephane Nicoll
191593cf15
Review Git contribution documentation
...
Closes gh-31904
2022-08-17 08:58:56 +02:00
Madhura Bhave
cea6492c4a
Align default JMX and WEB endpoint exposures
...
Closes gh-32005
2022-08-16 14:29:08 -07:00
Stephane Nicoll
888ccfea2d
Adapt to changes in Spring Framework
2022-08-16 16:02:00 +02:00
Andy Wilkinson
ba93e6c0ed
Restore support for Jersey
...
Closes gh-28637
2022-08-08 15:45:20 +01:00
Andy Wilkinson
fb2f7c1e38
Fix test to create correct type of child context
...
Closes gh-32002
2022-08-08 14:18:40 +01:00
Madhura Bhave
0991bd3983
Harmonize data configuration
...
Any classes that rely on Spring Data being on the classpath
have been moved under a data package.
Certain configuration properties have also been updated to
accurately reflect whether Spring Data is required for the
auto-configuration to work.
Closes gh-11574
2022-08-05 13:32:25 -07:00
Stephane Nicoll
1af5994d8f
Adapt to API change in Spring Framework
...
See https://github.com/spring-projects/spring-framework/issues/28927
2022-08-05 10:39:36 +02:00
Andy Wilkinson
2f0dfc341c
Merge branch '2.7.x'
...
Closes gh-31972
2022-08-03 15:20:34 +01:00
Andy Wilkinson
700460c322
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31971
2022-08-03 14:58:07 +01:00
Andy Wilkinson
fa73b73898
Fail build on missing configuration property descriptions
...
Closes gh-31916
2022-08-03 14:45:42 +01:00
Johnny Lim
6a4681baf5
Polish
...
See gh-31948
2022-08-02 15:14:23 +02:00
Moritz Halbritter
eaf8683e8d
Fix timeunit in ZipkinConfigurations to milliseconds instead of seconds
...
Closes gh-31957
2022-08-02 13:40:00 +02:00
Moritz Halbritter
767631e2cc
Fix bean chicken and egg problem with WavefrontSender
...
Closes gh-31954
2022-08-02 11:19:24 +02:00
Brian Clozel
38f1bc9793
Reinstate Spring for GraphQL auto-configuration
...
This commit adds the Spring for GraphQL auto-configuration back
into Spring Boot 3.0, now that a 1.1.0 release is scheduled with the
required baseline. This release also needs GraphQL Java 19.0 as a
baseline.
Closes gh-31809
2022-08-01 14:33:25 +02:00
Madhura Bhave
a82b95c955
Merge branch '2.7.x' into main
...
Closes gh-31927
2022-07-29 11:33:41 -07:00
Madhura Bhave
2884ec81e9
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31926
2022-07-29 11:33:17 -07:00
Madhura Bhave
cc15eb0b96
Configure existing probes at additional path when necessary
...
Fixes gh-30612
2022-07-29 11:31:19 -07:00
Stephane Nicoll
db0e008c01
Register composed annotations explicitly
...
Closes gh-31919
2022-07-29 16:41:50 +02:00
Phillip Webb
22144987e9
Update copyright year of changed files
2022-07-29 12:10:03 +01:00
Phillip Webb
e08c16dfd6
Polish
2022-07-29 12:10:02 +01:00
Phillip Webb
57e967576e
Adapt to upstream Spring Framework AOT changes
2022-07-27 21:44:18 +01:00
Stephane Nicoll
fdb1ee5f97
Adapt to deprecations in Spring Framework
...
See https://github.com/spring-projects/spring-framework/issues/27954
See gh-29699
2022-07-27 18:18:09 +02:00
Stephane Nicoll
c413f9adbe
Merge branch '2.7.x'
...
Closes gh-31884
2022-07-27 09:23:39 +02:00
Stephane Nicoll
53a652ec65
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31883
2022-07-27 09:23:05 +02:00
Adrian Bob
aad9c8906a
Disable auto-detection in tests that start Hazelcast
...
This commit updates test configurations to disable auto-detection of
Hazelcast instances.
See gh-31863
2022-07-27 08:16:48 +02:00
Stephane Nicoll
782e3f75b6
Polish Hazelcast configuration
...
This commit updates the XSD to 4.2 and removes the "tcp-ip" network
option as it is disabled by default.
See gh-31863
2022-07-27 08:15:53 +02:00
Stephane Nicoll
193c1d7acf
Adapt to changes in DefaultGenerationContext
...
See https://github.com/spring-projects/spring-framework/issues/28877
2022-07-26 18:06:46 +02:00
Phillip Webb
7377d85096
Merge branch '2.7.x'
...
Closes gh-31866
2022-07-26 12:18:14 +01:00
Phillip Webb
a4ef6a7c5c
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31865
2022-07-26 12:13:16 +01:00
Phillip Webb
f8412847dc
Update copyright year for "Fix typos in code and documentation"
...
See gh-31734
2022-07-26 12:08:30 +01:00
Marc Wrobel
dbfc6bded4
Fix typos in code and documentation
...
See gh-31734
2022-07-26 12:08:07 +01:00
Phillip Webb
b93dbd56e8
Merge branch '2.7.x'
2022-07-26 10:51:17 +01:00
Phillip Webb
3931e82841
Merge branch '2.6.x' into 2.7.x
2022-07-26 10:50:42 +01:00
Phillip Webb
4bcec6e0ee
Polish
2022-07-26 10:50:01 +01:00
Olga Maciaszek-Sharma
57dc274284
Switch to Spring Framework SNAPSHOTs
...
Switch to Spring Framework SNAPSHOTs and adapt to updated APIs.
See gh-31834
2022-07-21 13:42:48 +01:00
Andy Wilkinson
de672f4330
Merge branch '2.7.x'
...
Closes gh-31819
2022-07-20 21:02:06 +01:00
Andy Wilkinson
2e98cafcca
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31818
2022-07-20 21:01:47 +01:00
Andy Wilkinson
ab2b04fafd
Find health contributors in ancestor contexts in non-reactive apps
...
Previously, health contributors in a non-reative app were found by
retrieving them from the application context rather than via
dependency injection. This results in only contributors from the
current context being found, with contributors in ancestor contexts
ignored.
This commit moves to injection of the contributors, aligning the
behaviour with that of a reactive application.
Closes gh-27308
2022-07-20 20:52:02 +01:00
Vedran Pavic
f1bf80f5e1
Upgrade to Flyway 9.0.1
...
See gh-31723
2022-07-20 15:44:00 +01:00
Andy Wilkinson
18d3d4de5d
Merge branch '2.7.x'
...
Closes gh-31805
2022-07-20 10:17:56 +01:00
Andy Wilkinson
10e19d504a
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31804
2022-07-20 10:17:39 +01:00
Andy Wilkinson
628c2cd0b1
Ensure JMX endpoints are uniquely named in a context hierarchy
...
Closes gh-31718
2022-07-20 10:15:52 +01:00
Moritz Halbritter
5030cfedcc
Revert "Make MeterRegistry lazy in TimerObservationHandlerObservationRegistryCustomizer"
...
This reverts commit 04391275c1
.
2022-07-19 16:33:35 +02:00
Andy Wilkinson
5c057a2730
Auto-configure the new Elasticsearch clients
...
This commit introduces auto-configuration for the new Elasticsearch
clients that are based upon their new Java client. The new Java
client builds on top of their existing low-level REST client,
replacing the high-level REST client which has been deprecated.
As part of introducing support for the new Elasticsearch client,
the auto-configuration for the templates (both imperative and
reactive) provided by Spring Data has also been updated to use the
new templates that build upon the new Java client.
As part of these changes, support for the high-level REST client and
the old Spring Data Elasticsearch templates has been removed. One
significant change is that the new reactive template is no longer
based on WebClient. As a result, the WebClient-specific configuration
property has been removed.
Closes gh-30647
Closes gh-28597
Closes gh-31755
2022-07-19 15:26:42 +01:00
Stephane Nicoll
51cba6ec72
Polish "Add AOT support for actuator"
...
See gh-31671
2022-07-19 13:02:49 +02:00
Moritz Halbritter
584b7d1343
Add AOT support for actuator
...
Mainly adds reflection hints for the actuator infrastructure.
Also adds the OperationReflectiveProcessor, which registers the
@ReadMethod, @DeleteMethod and @WriteMethod annotated methods for
reflection and adds reflection hints for method return types.
See gh-31671
2022-07-19 13:02:48 +02:00
Andy Wilkinson
3405a54f9e
Exclude Jetty toolchain dependencies in favor of official API artifacts
...
Closes gh-31720
2022-07-14 13:55:26 +01:00
Madhura Bhave
7c56a45d3e
Drop support for String path matching for MVC endpoints
...
Closes gh-31700
2022-07-13 14:03:32 -07:00
Stephane Nicoll
9cace34a19
Merge branch '2.7.x'
...
Closes gh-31705
2022-07-13 13:50:36 +02:00
Stephane Nicoll
b8647551cb
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31704
2022-07-13 13:50:17 +02:00
Johnny Lim
b17cb9b92b
Polish gh-31231
...
See gh-31540
2022-07-13 13:49:13 +02:00
Madhura Bhave
d66e108703
Revert actuator changes related to path pattern parsing
...
See gh-31547
2022-07-12 15:25:41 -07:00
Madhura Bhave
7954f5e566
Adapt to change in default strategy for URL path matching in Spring MVC
...
Closes gh-31547
2022-07-12 09:59:44 -07:00
Andy Wilkinson
08d37b7fb6
Merge branch '2.7.x'
...
Closes gh-31694
2022-07-12 14:29:49 +01:00
Andy Wilkinson
1c2b0ae705
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31693
2022-07-12 14:28:10 +01:00
Andy Wilkinson
7c55639167
Depend on log4j-api directly rather than via Elastic's transitives
...
Closes gh-31692
2022-07-12 14:27:56 +01:00
Andy Wilkinson
99fabfa934
Revert "Remove spring-aspects dependency following fix in Data JPA"
...
This reverts commit cd6c7cd6c9
.
The fix in Spring Data JPA is incomplete so we need to reinstate the
workaround.
2022-07-12 10:46:06 +01:00
Andy Wilkinson
cd6c7cd6c9
Remove spring-aspects dependency following fix in Data JPA
...
The recent changes in Spring Data JPA [1] mean that we no longer need
a dependency on spring-aspects for Data JPA's hint registration to
succeed.
5821272112
2022-07-12 10:08:32 +01:00
Andy Wilkinson
9b113272d1
Reinstate support for Hibernate Metrics
...
Closes gh-31675
2022-07-12 09:36:54 +01:00
Oliver Drotbohm
b10c57551c
Upgrade to Hibernate 6.1.1.Final
...
This commit makes the following potentially breaking changes:
- Dependency management for modules that do not exist in Hibernate
6.1 has been removed.
- Hibernate's modules are now in the org.hibernate.orm group. Users
not using the starter or using modules that are not in the starter
will have to update their build configuration accordingly.
- spring.jpa.hibernate.use-new-id-generator-mappings has been removed
as Hibernate no longer supports switching back to the old ID
generator mappings.
Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com>
Closes gh-31674
2022-07-12 09:36:34 +01:00
Andy Wilkinson
acd8d05315
Update copyright date of changed file
2022-07-08 18:13:45 +01:00
Andy Wilkinson
efc5391496
Adapt to deprecations in Framework's scheduling APIs
...
See gh-31241
2022-07-08 17:53:55 +01:00
Moritz Halbritter
8639552405
Start building against Micrometer Tracing 1.0.0-M6 snapshots
...
See gh-31657
2022-07-08 14:01:13 +02:00
Andy Wilkinson
2821629d54
Remove unchecked raw casts that are now redundant
...
Closes gh-31326
2022-07-08 12:52:59 +01:00
Andy Wilkinson
7f00378eaf
Polish "Start building against Spring Data 2022.0.0-M5 snapshots"
...
See gh-31582
2022-07-07 16:32:13 +01:00
Andy Wilkinson
19b7e012f3
Upgrade to Prometheus Client 0.16.0
...
Closes gh-31597
2022-07-07 14:34:17 +01:00
Andy Wilkinson
e9136e023b
Adapt to trailing slashes no longer being matched by default
...
See gh-31563
2022-07-07 14:16:20 +01:00
Moritz Halbritter
04391275c1
Make MeterRegistry lazy in TimerObservationHandlerObservationRegistryCustomizer
...
Closes gh-31580
2022-07-06 14:18:53 +02:00
dreis2211
458f989cf3
Use switch expressions where appropriate
...
See gh-31527
2022-06-24 16:19:28 +01:00
Andy Wilkinson
631b1e0d76
Merge branch '2.7.x'
...
Closes gh-31526
2022-06-24 13:10:10 +01:00
Andy Wilkinson
1e08f545d0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31525
2022-06-24 13:05:06 +01:00
Andy Wilkinson
f49b16c645
Upgrade to Spring Java Format 0.0.34
...
Closes gh-31524
2022-06-24 12:57:52 +01:00
Stephane Nicoll
fe39598e81
Adapt to latest API change in Spring Framework
...
See https://github.com/spring-projects/spring-framework/issues/28585
2022-06-23 16:30:34 +02:00
Phillip Webb
b85469a5a5
Merge branch '2.7.x'
...
Closes gh-31502
2022-06-22 16:33:42 -07:00
Phillip Webb
d64f601dfd
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31501
2022-06-22 16:31:52 -07:00
Phillip Webb
aed4c47adb
Polish CompositeHandlerExceptionResolver
...
See gh-31495
2022-06-22 16:23:38 -07:00
Guirong Hu
3592292e4b
Use ExceptionHandler when Spring MVC uses a different management port
...
Update `CompositeHandlerExceptionResolver` to search for beans in
all contexts. Note that `BeanFactoryUtils.beansOfTypeIncludingAncestors`
cannot not be used since we need to pick up all beans, even if they
have the same name.
See gh-31495
2022-06-22 16:13:26 -07:00
Moritz Halbritter
bb6c56e5f0
Polish "Add WebClient based sender for Zipkin"
...
See gh-30792
2022-06-22 10:25:18 +02:00
StefanBratanov
12037bd131
Add WebClient based sender for Zipkin
...
See gh-30792
2022-06-22 09:58:05 +02:00
Moritz Halbritter
bc931cb32c
Revert "Polish EndpointRequest"
...
This reverts commit 35997a30a3
.
2022-06-21 15:43:57 +02:00
Moritz Halbritter
35997a30a3
Polish EndpointRequest
...
- Remove redundant cast
2022-06-21 14:30:05 +02:00
Moritz Halbritter
c8c552d95b
Polish ObservationAutoConfiguration
...
- Use a better name for the "only metrics, no tracing" case
2022-06-21 11:32:27 +02:00
Moritz Halbritter
06cdc91c85
Polish ObservationAutoConfiguration
...
- Use a better name for the "only metrics, no tracing" case
- Use more concrete return types
2022-06-21 11:31:11 +02:00
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
2022-06-20 17:55:36 +01:00
Johnny Lim
43c2f1c03c
Polish AutoConfigureObservability changes
...
See gh-31457
2022-06-20 07:38:22 +02:00
Johnny Lim
aab59c5f2e
Static-import Mockito.mock()
...
See gh-31443
2022-06-19 10:31:28 +02:00
Phillip Webb
657fa3e64e
Merge branch '2.7.x'
...
Closes gh-31409
2022-06-16 15:36:29 -07:00
Phillip Webb
7c91ebb1b0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31408
2022-06-16 15:36:00 -07:00
Phillip Webb
ae6311ddda
Prevent Logback from accidentally being used in Log4J2LoggingSystemTests
...
Update `Log4J2LoggingSystemTests` to exclude Logback and include
'log4j-slf4j-impl'. The `ModifiedClassPathClassLoader` has also been
updated so that it no longer automatically excludes `log4j` artifacts,
instead we now use `@ClassPathExclusions` on the relevant tests.
Fixes gh-19365
2022-06-16 15:35:32 -07:00
Phillip Webb
85dcbf6100
Merge branch '2.7.x'
...
Closes gh-31385
2022-06-14 09:38:36 -07:00
Phillip Webb
e0947459b6
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31384
2022-06-14 09:38:05 -07:00
Phillip Webb
9f8a262e6b
Log a warning when a health indicator takes too long to run
...
Update `HealthEndpointSupport` so that it logs a warning if a health
indicator takes too long to respond.
Fixes gh-31231
2022-06-14 09:32:07 -07:00
Stephane Nicoll
b536b209ab
Refine assertions on exception messages
2022-06-14 18:20:27 +02:00
Moritz Halbritter
42e8f65b80
Move @ConditionalOnClass from methods to inner classes
...
Closes gh-31353
2022-06-13 13:41:58 +02:00
Stephane Nicoll
063e56dbff
Polish
2022-06-13 09:44:02 +02:00
Andy Wilkinson
d4be484d27
Upgrade to AssertJ 3.23.1
...
Closes gh-31331
2022-06-10 13:44:21 +01:00
Moritz Halbritter
3799170c4d
Disable metrics and tracing in web endpoints integration tests
...
See gh-31308
2022-06-10 14:25:12 +02:00
Moritz Halbritter
8fab9f290c
Back off tracing auto-configurations if tracing is disabled
...
See gh-31308
2022-06-10 14:25:12 +02:00
Moritz Halbritter
b019ff6102
Wavefront sender configuration is no longer an auto-configuration
...
It's now a regular configuration class which is imported from
the Wavefront metrics and tracing auto-configurations
2022-06-10 14:25:12 +02:00
Moritz Halbritter
943e9033c0
Add @ConditionalOnEnabledTracing condition
...
See gh-31308
2022-06-10 14:25:12 +02:00
Moritz Halbritter
41e9867bc4
Register all ObservationHandler, regardless which context they use
...
Closes #31272
2022-06-10 10:12:35 +02:00
Moritz Halbritter
d1647cf68c
Don't back off on user-supplied SpanHandlers
...
Instead the auto-configuration now backs off only on ZipkinSpanHandler.
Closes gh-31273
2022-06-09 15:17:14 +02:00
Andy Wilkinson
91bb5aa222
Move auto-config of ReactiveElasticClient to elasticsearch pkg
...
Closes gh-28068
2022-06-09 11:42:09 +01:00
Phillip Webb
c56783064d
Support management contexts with AOT
...
Refactor child management configuration and add AOT generation support.
A new `ChildManagementContextInitializer` class now performs the child
context initialization and also handles AOT processing concerns.
Closes gh-31163
2022-06-08 19:24:46 -07:00
Andy Wilkinson
46c262d3cc
Merge branch '2.7.x'
...
Closes gh-31283
2022-06-08 19:24:49 +01:00
Andy Wilkinson
12eb7a8795
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31282
2022-06-08 19:24:07 +01:00
Andy Wilkinson
a651061e2c
Remove SpringApplicationHierarchyTests
...
Closes gh-31281
2022-06-08 19:23:26 +01:00
izeye
f720b65dfc
Auto-configure JvmCompilationMetrics
...
See gh-31151
2022-05-27 10:18:13 +01:00
Andy Wilkinson
4bb5ba2bd0
Merge branch '2.7.x'
2022-05-26 18:26:52 +01:00
Andy Wilkinson
935d1264e0
Merge branch '2.6.x' into 2.7.x
2022-05-26 18:13:08 +01:00
Andy Wilkinson
3d203d0215
Polish
2022-05-26 17:30:39 +01:00
Andy Wilkinson
5dfa5adb75
Merge branch '2.7.x'
...
Closes gh-31178
2022-05-26 15:54:58 +01:00
Andy Wilkinson
455ee0ce22
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31177
2022-05-26 15:53:38 +01:00
Andy Wilkinson
ee45fd2fc8
Remove redundant throws declarations from internal APIs
...
Closes gh-31176
2022-05-26 15:47:35 +01:00
Andy Wilkinson
b3a4982f31
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31174
2022-05-26 14:01:23 +01:00
Andy Wilkinson
cbf42dea14
Update deprecation messages to change removal version from 2.8 to 3.0
...
Closes gh-30903
2022-05-26 13:59:03 +01:00
Eddú Meléndez
154c84ffe2
Add package-info for o.s.b.a.a.metrics.graphql
...
See gh-31140
2022-05-25 13:30:29 +01:00
Andy Wilkinson
f9db6ad237
Merge branch '2.7.x'
...
Closes gh-31152
2022-05-23 12:51:13 +01:00
Andy Wilkinson
24dc525127
Fix conditions on auto-configured WebMvcMetricsFilter
...
Closes gh-31150
2022-05-23 12:50:49 +01:00
Andy Wilkinson
96c2d08fc4
Remove support for Solr as it is not compatible with Jetty 11
...
Closes gh-31054
2022-05-18 11:33:55 +01:00
Phillip Webb
f8a41d34aa
Merge branch '2.7.x'
2022-05-17 22:22:08 -07:00
Stephane Nicoll
cbf415b850
Merge branch '2.7.x'
2022-05-16 16:37:31 +02:00
Stephane Nicoll
285378e4f9
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31059
2022-05-16 16:37:21 +02:00
Stephane Nicoll
18129a5938
Merge branch '2.5.x' into 2.6.x
...
Closes gh-31058
2022-05-16 16:37:07 +02:00
Stephane Nicoll
22d187a38c
Polish "Add missing configuration properties for Statsd"
...
See gh-30898
2022-05-16 16:33:22 +02:00
izeye
d90ef6afb3
Add missing configuration properties for Statsd
...
See gh-30898
2022-05-16 16:28:50 +02:00
izeye
3c7465cb35
Polish OtlpPropertiesConfigAdapterTests
...
See gh-31057
2022-05-16 16:09:34 +02:00
Andy Wilkinson
ed705cc78e
Polish
2022-05-12 12:59:12 +01:00
Andy Wilkinson
a496cb9298
Merge branch '2.7.x'
2022-05-12 12:52:46 +01:00
Andy Wilkinson
2669f8c343
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30997
2022-05-12 12:47:52 +01:00
Andy Wilkinson
655ceefead
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30996
2022-05-12 12:47:38 +01:00
Andy Wilkinson
3f6fcac683
Polish "Extend documentation on Datadog metrics"
...
See gh-30879
2022-05-12 12:36:50 +01:00
Denis Washington
09db7e4001
Extend documentation on Datadog metrics
...
- Document that an application key must be set to publish metadata
for the exported metrics.
- Point out that using a non-US Datadog site (e.g., EU) requires
changing the `uri` property.
See gh-30879
2022-05-12 12:36:18 +01:00
Andy Wilkinson
48c948973d
Polish
2022-05-12 12:12:22 +01:00
Andy Wilkinson
d0e55643b1
Polish
...
Closes gh-30993
2022-05-12 12:11:51 +01:00
Andy Wilkinson
c2a3652709
Merge branch '2.7.x'
2022-05-12 11:53:46 +01:00
Andy Wilkinson
7e88daf288
Update messages for APIs deprecated in 2.7
...
In all likelihood there will not be a 2.9 release so this commit
updates the message for deprecations made in 2.7 to indicate that
removal will not occur until 3.0.
See gh-30903
2022-05-12 11:12:09 +01:00
Andy Wilkinson
26405528c6
Polish "Add resourceAttributes property to OtlpProperties"
...
See gh-30984
2022-05-12 10:12:53 +01:00
Eddú Meléndez
e3fce8439a
Add resourceAttributes property to OtlpProperties
...
See gh-30984
2022-05-12 09:37:56 +01:00
Andy Wilkinson
541ab69aff
Merge branch '2.7.x'
2022-05-03 15:18:20 +01:00
Andy Wilkinson
4cd850cfc0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30851
2022-05-03 15:17:13 +01:00
Andy Wilkinson
fa327a783d
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30850
2022-05-03 15:14:00 +01:00
Andy Wilkinson
4fd2e0c916
Polish "Fix typos"
...
See gh-30773
2022-05-03 14:09:53 +01:00
Andy Wilkinson
f6d24dc1a8
Fix typos
...
See gh-30773
2022-05-03 14:09:37 +01:00
Eddú Meléndez
f7a7e8cb89
Add auto-configuration for OtlpMeterRegistry
...
See gh-30825
2022-05-03 13:18:07 +01:00
izeye
9f2114170e
Apply key values rename consistently
...
See gh-30837
2022-05-03 12:29:52 +01:00
izeye
77c3b6c899
Polish Micrometer tracing changes
...
See gh-30833
2022-05-03 11:39:31 +01:00
Andy Wilkinson
2cebbe10ce
Merge branch '2.7.x'
2022-05-03 11:29:38 +01:00
Andy Wilkinson
61cd05f74b
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30842
2022-05-03 11:29:03 +01:00
Andy Wilkinson
f1b5f36af8
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30841
2022-05-03 11:28:53 +01:00
Andy Wilkinson
f8e5a534a6
Polish "Polish InfluxMetricsExportAutoConfiguration"
...
See gh-30824
2022-05-03 09:50:51 +01:00
Eddú Meléndez
b0d5364efa
Polish InfluxMetricsExportAutoConfiguration
...
See gh-30824
2022-05-03 09:50:06 +01:00
Eddú Meléndez
6a65aa4a23
Auto-configure Micrometer's JvmInfoMetrics
...
See gh-30832
2022-04-29 11:04:50 +01:00
Andy Wilkinson
6d15e6d4ef
Adapt to breaking API changes in latest Micrometer snapshots
...
See gh-30800
2022-04-27 10:33:25 +01:00
Moritz Halbritter
85a4c94dea
Merge branch '2.7.x'
2022-04-25 15:32:08 +02:00
Moritz Halbritter
b406971094
Remove hyphen from asserting-party
...
spring.security.saml2.relyingparty.registration.*.asserting-party.* is
now named spring.security.saml2.relyingparty.registration.*.assertingparty.*
Closes gh-30785
2022-04-25 15:26:38 +02:00
Moritz Halbritter
afdb651b04
Auto-configure TracingObservationHandler for HTTP server and clients
...
- Auto-configures HttpServerTracingObservationHandler and
HttpClientTracingObservationHandler into Micrometer Tracing. Both
handlers are ordered before the DefaultTracingObservationHandler,
which is only used as a fallback.
- The HttpServerHandler and HttpClientHandler implementations are
auto-configured in the Brave and OpenTelemetry auto-configurations.
Closes gh-30784
2022-04-25 14:33:09 +02:00
Phillip Webb
c7374fd415
Update copyright year of changed files
2022-04-20 15:30:20 -07:00
Phillip Webb
7a6ca8ce25
Merge branch '2.7.x'
2022-04-20 15:30:01 -07:00
Phillip Webb
dd5696b59b
Update copyright year of changed files
2022-04-20 15:26:30 -07:00
Phillip Webb
36f1249fc6
Polish
2022-04-20 15:26:15 -07:00
Moritz Halbritter
bb4bccde6c
Remove deprecated 'identityprovider' property
...
Closes gh-30751
2022-04-20 09:11:56 +02:00
Moritz Halbritter
1950d06585
Merge branch '2.7.x'
2022-04-20 08:26:35 +02:00
Moritz Halbritter
6c400daa48
Rename 'identityprovider' property to 'asserting-party'
...
Rename spring.security.saml2.relyingparty.registration.*.identity-provider.*
to spring.security.saml2.relyingparty.registration.*.asserting-party.*
The old property names are still supported, but will lead to a warning
in the logs.
Closes gh-30642
2022-04-20 08:25:58 +02:00
Stephane Nicoll
2d663f2e94
Upgrade to Spring Data 2021.2.0-RC1
...
Closes gh-30610
2022-04-20 08:05:15 +02:00
Stephane Nicoll
b41d4d4f2a
Merge branch '2.7.x'
2022-04-19 09:45:42 +02:00
Stephane Nicoll
69045e4eaf
Polish "Allow disabling the Dynatrace instruments"
...
See gh-30637
2022-04-19 09:43:05 +02:00
Georg Pirklbauer
7a05faf079
Allow disabling the Dynatrace instruments
...
Since Micrometer version 1.9.0, the Dynatrace registry uses specialized
instruments by default, which ensures data is exported in an optimal
format. By using this new flag, users can switch back to the previous
behavior, which uses the original instruments from Micrometer.
See gh-30637
2022-04-19 09:38:37 +02:00
Stephane Nicoll
8c68b33240
Polish "Start building against Micrometer 1.10.0 snapshots"
...
See gh-30693
2022-04-15 15:59:24 +02:00
Marcin Grzejszczak
87991d93a5
Start building against Micrometer 1.10.0 snapshots
...
See gh-30693
2022-04-15 14:16:16 +02:00
Moritz Halbritter
3860eb211a
Implement auto-configurations for Brave and OpenTelemetry
...
- Configure Zipkin
- Configure Wavefront
- Configure Brave
- Configure OpenTelemetry
- Configure Micrometer Tracing bridges for OpenTelemetry and Brave
- Create the ObservationHandler for tracing with Micrometer
Closes gh-30156
2022-04-14 09:14:44 +02:00
Andy Wilkinson
3d5086a42d
Merge branch '2.7.x'
2022-04-13 19:24:47 +01:00
Andy Wilkinson
ff40c8b6f5
Use MeterBinders to bind DataSource metrics
...
Closes gh-30282
2022-04-13 19:24:06 +01:00
Moritz Halbritter
2c42be9392
Merge branch '2.7.x'
2022-04-13 15:00:27 +02:00
Moritz Halbritter
6c04241ad6
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30652
2022-04-13 15:00:14 +02:00
Moritz Halbritter
9e98ccd8ab
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30651
2022-04-13 14:59:59 +02:00
Moritz Halbritter
dfc0f21932
Fix language in WavefrontProperties
...
Closes gh-30649
2022-04-13 14:59:48 +02:00
Andy Wilkinson
fe46392144
Merge branch '2.7.x'
2022-04-13 10:04:02 +01:00
Andy Wilkinson
27a936e466
Fix Elastic health indicator without RestHighLevelClient
...
Closes gh-28496
2022-04-13 10:02:47 +01:00
Andy Wilkinson
d5a92ccb8b
Merge branch '2.7.x'
2022-04-12 21:20:34 +01:00
Andy Wilkinson
a7a71da9ef
Polish "Bring back Elasticsearch RestClient auto-configuration"
...
See gh-28496
2022-04-12 21:13:05 +01:00