Brian Clozel
59693f2b12
Move "micrometer.observations.*" configuration properties
...
This commit moves the "micrometer.observations.*" configuration
properties to "management.observations.*" namespace, as it was
introduced in the wrong namespace initially.
The former configuration property is deprecated and will be removed in a
future version.
Fixes gh-39600
2024-02-16 15:03:18 +01:00
Moritz Halbritter
2280aa30cb
Merge branch '3.2.x'
...
Closes gh-39597
2024-02-16 09:29:27 +01:00
Moritz Halbritter
de35d2e443
Merge branch '3.1.x' into 3.2.x
...
Closes gh-39596
2024-02-16 09:28:39 +01:00
Moritz Halbritter
e2b29dc9cb
Polish "Document default value for show-value configuration properties"
...
See gh-39589
2024-02-16 09:24:32 +01:00
lukasdooo
7ade54d304
Document default value for show-value configuration properties
...
See gh-39589
2024-02-16 09:21:55 +01:00
Moritz Halbritter
7f55cae90f
Merge branch '3.2.x'
2024-02-12 10:19:46 +01:00
Moritz Halbritter
4387b79831
Merge branch '3.1.x' into 3.2.x
2024-02-12 10:18:46 +01:00
Moritz Halbritter
8ffcfc9b77
Harmonize style of igored exceptions across the codebase
2024-02-12 10:14:20 +01:00
Andy Wilkinson
1f7a983701
Switch to jersey-micrometer for Jersey metrics
...
Closes gh-39502
2024-02-09 14:22:55 +00:00
Scott Frederick
d216474ef0
Merge branch '3.2.x'
...
Closes gh-39387
2024-02-02 16:07:03 -06:00
Scott Frederick
cff9d464d3
Merge branch '3.1.x' into 3.2.x
...
Closes gh-39386
2024-02-02 16:05:32 -06:00
Stéphane Nicoll
c3664f372c
Polish
...
See gh-39382
2024-02-02 16:02:50 -06:00
Wzy19930507
dae3952144
Include the environment default profiles in the env endpoint's response
...
See gh-39257
2024-01-30 13:51:17 +01:00
Phillip Webb
8f1a330dd5
Update copyright header of cleaned up code
...
See gh-39259
2024-01-23 10:18:50 -08:00
Tobias Lippert
ac5a08a49b
Avoid redundant boxing
...
See gh-39259
2024-01-23 10:18:49 -08:00
Tobias Lippert
def7523398
Inline redundant if statements
...
See gh-39259
2024-01-23 09:07:35 -08:00
Tobias Lippert
9cdd0c3776
Remove unnecessary semicolons
...
See gh-39259
2024-01-23 09:07:29 -08:00
Phillip Webb
a0a804cfdf
Merge branch '3.2.x'
2024-01-22 12:20:41 -08:00
Phillip Webb
cff8cb98c7
Merge branch '3.1.x' into 3.2.x
2024-01-22 12:20:24 -08:00
Phillip Webb
72f8bb8d13
Merge branch '3.2.x'
...
Closes gh-39269
2024-01-22 11:50:57 -08:00
Phillip Webb
9ddf15d97a
Merge branch '3.1.x' into 3.2.x
...
Closes gh-39268
2024-01-22 11:50:40 -08:00
Phillip Webb
87ea2b75fb
Polish 'Make PropagationType a public type'
...
See gh-39265
2024-01-22 11:49:45 -08:00
Vaibhav Jaiswal
16c0f035a9
Make PropagationType a public type
...
The PropagationType enum is returned from public methods so
should be public itself.
See gh-39265
2024-01-22 11:48:10 -08:00
Moritz Halbritter
6e3d4ed878
Use ReactiveFindByIndexNameSessionRepository
...
See gh-32046
2024-01-22 12:55:37 +01:00
Vedran Pavic
6a9eb7754f
Provide an Actuator endpoint for non-indexed session repositories
...
At present, Actuator sessions endpoint is supported only on a Servlet stack and also requires an indexed session repository. With Spring Session moving to non-indexed session repositories as a default for some session stores, this means that sessions endpoint won't be available unless users opt into a (non-default) indexed session repository.
This commit updates SessionEndpoint so that it is able to work with a non-indexed session repository. In such setup, it exposes operations for fetching session by id and deleting the session.
Additionally, this also adds support for reactive stack by introducing ReactiveSessionEndpoint and its auto-configuration support.
See gh-32046
2024-01-22 12:55:37 +01:00
Brian Clozel
bc37a94b76
Merge branch '3.2.x'
...
Closes gh-39132
2024-01-15 14:15:15 +01:00
Brian Clozel
46b7bd2f23
Add configuration property to enable micrometer annotations
...
Prior to this commit, the Micrometer annotations support (`@Timed`,
`@Counted`...) was guarded by the presence of both Micrometer and
AspectJ on the classpath.
This signal is too weak, considering the startup performance impact and
the fact that the AspectJ dependency can be brought transitively in many
cases.
This commit adds a new `micrometer.observations.annotations.enabled`
property that is set to `false` by default to only process the
annotations support when this property is enabled.
Fixes gh-39128
2024-01-15 13:51:15 +01:00
Andy Wilkinson
7e382e7bf6
Merge branch '3.2.x'
...
Closes gh-39123
2024-01-12 17:08:36 +00:00
Andy Wilkinson
145fe15daf
Merge branch '3.1.x' into 3.2.x
...
Closes gh-39122
2024-01-12 17:08:23 +00:00
Andy Wilkinson
3df77c67ec
Fix request mapping of endpoint path-mapped to /
...
Closes gh-35426
2024-01-12 17:07:48 +00:00
Andy Wilkinson
907e4d97f7
Merge branch '3.2.x'
...
Closes gh-39117
2024-01-12 13:02:56 +00:00
Andy Wilkinson
6ec56da919
Ensure that reactive actuator security has an auth manager
...
This is a follow-on from afad358 and ensures that the auto-configured
security for Actuator in a WebFlux app has an authentication manager
to back its use of HTTP basic and form login.
Fixes gh-39069
2024-01-12 13:02:31 +00:00
Phillip Webb
653474fc46
Polish
2024-01-11 21:40:18 -08:00
Moritz Halbritter
a424ba2055
Restore configuration property for http requests names when using WebFlux
...
Closes gh-39083
2024-01-11 16:28:23 +01:00
Moritz Halbritter
cb3745ff92
Restore configuration property for http requests names when using WebFlux
...
Closes gh-39083
2024-01-11 16:26:57 +01:00
Andy Wilkinson
17e9f0cb8e
Merge branch '3.2.x'
...
Closes gh-39093
2024-01-11 11:36:38 +00:00
Andy Wilkinson
7087897507
Merge branch '3.1.x' into 3.2.x
...
Closes gh-39091
2024-01-11 10:33:57 +00:00
Andy Wilkinson
45c32854a5
Fix Checkstyle upgrade
...
Closes gh-38746
2024-01-10 15:37:38 +00:00
Moritz Halbritter
3e705e8d56
Polish "Use unknown_service as default application name for OpenTelemetry"
...
See gh-38219
2024-01-10 11:42:22 +01:00
Lenin Jaganathan
470029aff1
Use unknown_service as default application name for OpenTelemetry
...
See gh-38219
2024-01-10 11:42:12 +01:00
Jonatan Ivanov
820396fdff
Add ProcessInfoContributor
...
This InfoContributor exposes information about
the process of the application.
See gh-38371
2024-01-10 08:45:49 +01:00
Moritz Halbritter
7120dc07ae
Adapt to changes in Brave tagged fields handling
...
See gh-38724
See gh-37435
2024-01-09 11:37:15 +01:00
adispezo
0ca55bf0a6
Add local and tagged correlation fields
...
Local fields only work in Brave and not with OpenTelemetry.
Tagged fields work both with Brave and with OpenTelemetry.
See gh-37435
2024-01-09 11:35:40 +01:00
Moritz Halbritter
2cce123bb5
Add property to control 'path' field inclusion in error responses
...
By default it is included.
Closes gh-38619
2024-01-09 09:33:00 +01:00
Moritz Halbritter
c4be302fdb
Auto-configure SpanTagAnnotationHandler
...
Closes gh-38662
2024-01-09 09:03:51 +01:00
Andy Wilkinson
93a2b1cda0
Remove dependency management for Dropwizard Metrics
...
Closes gh-39034
2024-01-08 09:43:37 +00:00
Andy Wilkinson
a1c7c0bccc
Upgrade to AssertJ 3.25.1
...
Closes gh-38997
2024-01-04 17:26:35 +00:00
Phillip Webb
5354ad15b3
Merge branch '3.1.x'
...
Closes gh-38877
2023-12-19 22:51:48 -08:00
Yanming Zhou
8599e5a986
Remove unnecessary toString() calls
...
See gh-38739
2023-12-19 22:38:34 -08:00
Phillip Webb
1d10e51755
Adapt to upstream Spring Security changes
2023-12-14 20:33:09 -08:00