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
2 years ago
Madhura Bhave
ce3c933f77
Adapt to Spring Security changes
...
Closes gh-32604
2 years ago
Phillip Webb
2e74878ba4
Downgrade to OpenSAML 4.0.1
...
See gh-32604
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
Andy Wilkinson
4700a00d94
Auto-configure CompositeSpanHandler with Brave
...
Closes gh-32753
2 years ago
Andy Wilkinson
d593d194de
Polish "Add auto-configuration for Exemplars"
...
See gh-32415
2 years ago
Jonatan Ivanov
c5b2bc3dc7
Add auto-configuration for Exemplars
...
See gh-32415
2 years ago
Andy Wilkinson
81ee173877
Polish
...
See gh-32399
2 years ago
Andy Wilkinson
1af21fe33f
Polish "Use TracingAwareMeterObservationHandler if tracing is configured"
...
See gh-32399
2 years ago
Jonatan Ivanov
415b9025c8
Use TracingAwareMeterObservationHandler if tracing is configured
...
See gh-32399
2 years ago
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
2 years ago
Johnny Lim
1032f8cc94
Polish Micrometer tracing changes
...
See gh-32627
2 years ago
Andy Wilkinson
e4544c1785
Use new constructor to configure W3CPropagation without baggage
...
Closes gh-32524
2 years ago
Andy Wilkinson
180d0edbca
Decouple AutoTimeProperties from Micrometer Core
...
Closes gh-32676
2 years ago
Andy Wilkinson
7e9e64a2ea
Revert "Merge pull request #32399 from jonatan-ivanov"
...
This reverts commit ad40ef3398
, reversing
changes made to 6eb32647f5
.
2 years ago
Jonatan Ivanov
a0ceb2c3ff
Use TracingAwareMeterObservationHandler if tracing is configured
...
See gh-32399
2 years ago
Jonatan Ivanov
fff4aaaac1
Fix Observation lifecycle issues in ObservationAutoConfigurationTests
...
See gh-32662
2 years ago
Andy Wilkinson
403803837a
Adapt to changes in REST Docs for documenting query parameters
...
See gh-32623
2 years ago
Andy Wilkinson
4dfd770406
Ensure that metrics and observation properties are enabled
...
Closes gh-32676
2 years ago
Johnny Lim
73fd760137
Polish HTTP client observability changes
...
See gh-32484
See gh-32518
Closes gh-32636
2 years ago
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
2 years ago
Brian Clozel
3e6ad67f16
Switch to Micrometer 1.10.0-SNAPSHOT
...
See gh-32598
2 years ago
Stephane Nicoll
d106fc266a
Revert "Adapt to deprecations in Spring Framework snapshots"
...
This reverts commit ff6acbe972
.
2 years ago
Stephane Nicoll
ff6acbe972
Adapt to deprecations in Spring Framework snapshots
2 years ago
Andy Wilkinson
7c4e46e538
Allow thread dump endpoint to call ThreadMXBean in a native image
...
Closes gh-31680
2 years ago
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
2 years ago
Andy Wilkinson
3ab36074dc
Make management.tracing.enabled are first-class property
...
This will allow metadata to be generated for it automatically.
Closes gh-31656
2 years ago
Andy Wilkinson
6d4390e034
Simplify ConditionalOnEnabledTracing
...
Closes gh-32572
2 years ago
Andy Wilkinson
69c8959e6d
Remove remnants of references to GlobalKeyValuesProviders
...
Closes gh-31841
2 years ago
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
2 years ago
Johnny Lim
d6cfcd0825
Fix compile errors
...
Closes gh-32569
2 years ago
Andy Wilkinson
522cb1c0ea
Polish deprecation warnings
...
See gh-32541
2 years ago
Andy Wilkinson
dbcb291b7a
Polish
...
See gh-32541
2 years ago
Andy Wilkinson
bcb5e84129
Avoid using reflection when creating composite health contributors
...
Closes gh-32541
2 years ago
Andy Wilkinson
51df7813a5
Remove code deprecated in 2.x and add since and forRemoval attributes
...
Closes gh-32548
Closes gh-32549
2 years ago
Brian Clozel
5b092f5d80
Polish
...
See gh-32518
2 years ago
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
2 years ago
Stephane Nicoll
3702c71fc1
Adapt to Spring AOT changes
2 years ago
Andy Wilkinson
17953eeb33
Merge branch '2.7.x'
...
Closes gh-32544
2 years ago
Andy Wilkinson
3ef633b096
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32543
2 years ago
Andy Wilkinson
84a25c7dcf
Configure Log4j2 classpath overrides consistently
...
Closes gh-32537
2 years ago
Andy Wilkinson
f10d696c46
Merge branch '2.7.x'
...
Closes gh-32536
2 years ago
Andy Wilkinson
9f5b7db553
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32535
2 years ago
Andy Wilkinson
be48f37a83
Fix LogbackMetrics auto-config test with Logback and Log4j2 on cp
...
Closes gh-32533
2 years ago
dreis2211
388134713e
Remove unused MockReactiveWebServerFactory
...
See gh-32526
2 years ago
Andy Wilkinson
0bfa9cd704
Upgrade to Logback 1.4 and SLF4J 2.0
...
Closes gh-12649
2 years ago
Andy Wilkinson
574242b44f
Polish "Break cycles between Zipkin senders and HTTP client observation"
...
See gh-32528
2 years ago
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
2 years ago