Commit Graph

2229 Commits (root-patch-5)

Author SHA1 Message Date
Moritz Halbritter 1bd14652d8 Apply Wavefront token type to auto-configured WavefrontSender
Closes gh-37165
1 year ago
Andy Wilkinson 5280cfeec0 Adapt to breaking API change in Micrometer
See gh-37703
1 year ago
Jonatan Ivanov 346db8e795 Add auto-configuration for SpanAspect
See gh-37640
1 year ago
Moritz Halbritter fbec06a134 Support new CSP auth method for Wavefront
Closes gh-37165
1 year ago
Andy Wilkinson a630baf32a Start building against Micrometer Tracing 1.2.0 snapshots
See gh-37704
1 year ago
Andy Wilkinson 7d40a45b50 Merge branch '3.1.x'
Closes gh-37662
1 year ago
Andy Wilkinson a4100e12ff Merge branch '3.0.x' into 3.1.x
Closes gh-37661
1 year ago
Andy Wilkinson 931584f8af Merge branch '2.7.x' into 3.0.x
Closes gh-37659
1 year ago
Johnny Lim c9932bb73a Use AssertJ's fail, not JUnit's
This commit also updates Checkstyle to prevent use of JUnit's
assertions from being reintroduced.

See gh-37655
1 year ago
Jonatan Ivanov a454712dea Add auto-configuration for CountedAspect and TimedAspect
See gh-37626
1 year ago
Moritz Halbritter 72a4e1ebae Honor timeout in ZipkinWebClientSender
Unfortunately there's no good way to configure connect and read timeout
separately, which works for all supported reactive clients. This
implementation applies a timeout through Reactor's timeout method. The
timeout from the properties is summed together and this is the applied
timeout. While not perfect, this is better than no timeout at all.

Closes gh-31496
1 year ago
Phillip Webb 052757c2d8 Polish 1 year ago
Andy Wilkinson ecc670772a Make user details service auto-configs back off more readily
Previously auto-configuration of a user details service (imperative
or reactive) would only back off on the presence of certain beans.
This led to situations where the im-memory service was
auto-configured and the default password was logged even though
another authentication mechanism was in use.

This commit updates the auto-configuration so that it backs off
when depending on Spring Security's OAuth2 Client and OAuth2
Resource Server modules. In the imperative case it will also back
off when depending on the SAML 2 provider.

Closes gh-35338
1 year ago
Phillip Webb 2075f6c685 Merge branch '3.1.x' 1 year ago
Phillip Webb 78eb8f90d1 Merge branch '3.0.x' into 3.1.x 1 year ago
Phillip Webb 78c3512e32 Polish 1 year ago
Brian Clozel 0fc97e9315 Auto-configure ObservationRegistry on JmsTemplate
Spring Boot auto-configures both a `JmsTemplate` and a
`JmsMessagingTemplate`. As of Spring Framework 6.2, JMS has
observability support when publishing messages.

This commit creates a bean post-processor that configures an
`ObservationRegistry` on the template, if the registry is present.

Closes gh-37388
1 year ago
Moritz Halbritter 3dd6372602 Polish "Add service connection from OpenTelemetry Collector"
See gh-35082
1 year ago
Moritz Halbritter c387c87fda Polish "Add service connection from OpenTelemetry Collector"
See gh-35082
1 year ago
Eddú Meléndez 6997277f75 Add service connection from OpenTelemetry Collector
See gh-35082
1 year ago
Johnny Lim c2b78830ff Polish
See gh-37340
1 year ago
Stephane Nicoll 7df79432eb Polish "Upgrade to Micrometer Tracing 1.0.10"
See gh-37345
1 year ago
Andy Wilkinson 4ebee17cb1 Suppress warnings until more to new semconv module
OTel has deprecated their semconv module and introduced a new module
with different Maven coordinates. micrometer-metrics/tracing#343 will
move Micrometer Tracing to the new module. Until then, we need to
suppress the deprecation warnings that result from using the old one.

Closes gh-37347
1 year ago
Brian Clozel c8d036eaa8 Remove ServerHttpObservationFilter from WebFlux
This commit removes the auto-configuration of the
`ServerHttpObservationFilter` bean for WebFlux applications as it's been
deprecated by Spring Framework.

The Observability instrumentation is now handled at the
`WebHttpHandlerBuilder` in Framework directly and doesn't need any
auto-configuration from Spring Boot.

Closes gh-37344
1 year ago
Moritz Halbritter fa42316652 Use spring.application.name for OTel service.name when not set
Closes gh-37285
1 year ago
Moritz Halbritter 11ebe32dcf Remove dependency to opentelemetry-sdk
Closes gh-37284
1 year ago
Moritz Halbritter f0bb054774 Merge branch '3.1.x'
Closes gh-37254
1 year ago
Moritz Halbritter d9b7a8c0af Merge branch '3.0.x' into 3.1.x
Closes gh-37253
1 year ago
Moritz Halbritter bbc10856ee Merge branch '2.7.x' into 3.0.x
Closes gh-37252
1 year ago
Johnny Lim 5f9bc721d3 Add default value metadata for management.metrics.export.signalfx.published-histogram-type
See gh-37210
1 year ago
Andy Wilkinson ed5d16de84 Upgrade to Jetty 12
Closes gh-36073
1 year ago
Andy Wilkinson 88f8311a59 Start building against Micrometer 1.12.0 snapshots
See gh-37226
1 year ago
Scott Frederick 47508b8338 Merge branch '3.1.x'
Closes gh-37179
1 year ago
Scott Frederick 03dcf8b663 Merge branch '3.0.x' into 3.1.x
Closes gh-37178
1 year ago
Scott Frederick 1e85bf7ca8 Fix mapping of consumed types to propagators
Fixes gh-37161
1 year ago
Moritz Halbritter a7855622f2 Merge branch '3.1.x'
Closes gh-37157
1 year ago
Moritz Halbritter b86937bb8e Merge branch '3.0.x' into 3.1.x
Closes gh-37156
1 year ago
Moritz Halbritter 61739bd917 Prevent propagation for local fields when using W3C propagation
Closes gh-37109
1 year ago
Johnny Lim 847c6aec01 Fix metadata of management.otlp.metrics.export.base-time-unit
See gh-37094
1 year ago
Jonatan Ivanov a3f37089db Fix failing tests due to extended exemplars
Micrometer introduced extended exemplars functionality that adds
exemplars to _count too not only to histogram buckets,
see: https://github.com/micrometer-metrics/micrometer/pull/3996
Because of this, some verifications should be changed.
1 year ago
Phillip Webb 8edec21a6f Update copyright year of changed files 1 year ago
Moritz Halbritter 7bb337aeb1 Polish tests 1 year ago
Moritz Halbritter 4ea3c75331 Improve exception message if endpoint can't be found 1 year ago
Moritz Halbritter ed9169501e Polish 1 year ago
Moritz Halbritter 02a7c22f40 Revert "Use virtual threads in JmsHealthIndicator if enabled"
This reverts commit 6fc585c5d2.
1 year ago
Moritz Halbritter a843aca821 Revert "Polish"
This reverts commit 25eb3c8c18.
1 year ago
Moritz Halbritter 25eb3c8c18 Polish 1 year ago
Moritz Halbritter 6fc585c5d2 Use virtual threads in JmsHealthIndicator if enabled
Closes gh-36694
1 year ago
Moritz Halbritter e677eb7759 Polish Polish R2dbcObservationAutoConfiguration 1 year ago
Moritz Halbritter 20d264150b Polish R2dbcObservationAutoConfiguration 1 year ago