Commit Graph

3807 Commits

Author SHA1 Message Date
Phillip Webb 1c9043e435 Merge branch '3.2.x'
Closes gh-39157
2024-01-16 12:46:13 -08:00
Phillip Webb ac00a0c28b Polish 'Improve reference documentation'
See gh-38942
2024-01-16 12:45:03 -08:00
Won Joon Thomas Choi 6ed8dc2970 Improve reference documentation
Address a series of minor typos and phrasing inconsistencies
identified in few sections of documentation to enhance overall
clarity and readability.

See gh-38942
2024-01-16 12:43:38 -08:00
Phillip Webb 8b47d8c657 Merge branch '3.2.x' 2024-01-16 11:20:09 -08:00
Phillip Webb 267b7ab248 Polish formatting 2024-01-16 11:20:05 -08:00
Phillip Webb 02b63a3b19 Merge branch '3.2.x'
Closes gh-39152
2024-01-16 11:18:55 -08:00
Phillip Webb 5a38662f5f Polish 'Use the term "tags" in documentation consistently'
See gh-39125
2024-01-16 11:16:02 -08:00
Wzy19930507 3274205709 Use the term "tags" in documentation consistently
See gh-39125
2024-01-16 11:15:42 -08:00
Andy Wilkinson 22b7525ccd Merge branch '3.2.x'
Closes gh-39150
2024-01-16 16:07:53 +00:00
Andy Wilkinson f59fa2e3f7 Merge branch '3.1.x' into 3.2.x
Closes gh-39149
2024-01-16 16:07:37 +00:00
Andy Wilkinson ea727f056a Polish "Update links to Micrometer reference docs"
See gh-39114
2024-01-16 16:05:09 +00:00
Tobias Lippert 6c5fea7341 Update links to Micrometer reference docs
See gh-39114
2024-01-16 15:51:08 +00: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 06b41bdd2d Merge branch '3.2.x'
Closes gh-39101
2024-01-11 13:45:59 +00:00
Andy Wilkinson fe54801cbe Merge branch '3.1.x' into 3.2.x
Closes gh-39100
2024-01-11 13:45:47 +00:00
Andy Wilkinson f4ff2e63ff Document that failure analyzers should use constructor injection
Closes gh-39099
2024-01-11 13:45:20 +00: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 eda2261665 Merge branch '3.2.x'
Closes gh-39074
2024-01-10 09:12:04 +01:00
Moritz Halbritter 8504b6e0a7 Merge branch '3.1.x' into 3.2.x
Closes gh-39073
2024-01-10 09:11:53 +01:00
Christoph Dreis 68b9f0c643 Update copyright year to 2024
See gh-38946
2024-01-10 09:11:29 +01:00
Christoph Dreis b7c9c82180 Fix typos
See gh-38983
2024-01-10 09:06:45 +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
Phillip Webb be1639fe68 Merge branch '3.1.x'
Closes gh-38879
2023-12-19 23:12:48 -08:00
meiyese 4370c6e850 Fix typo in endpoint documentation
See gh-38823
2023-12-19 23:12:06 -08:00
Moritz Halbritter 2fd89803a2 Merge branch '3.1.x' 2023-12-14 11:53:08 +01:00
Moritz Halbritter 5a385a40e9 Fix typo 2023-12-14 11:52:55 +01:00
Brian Clozel e44e0c8f1e Remove ErrorAttributes.ERROR_ATTRIBUTE
This commit removes the now defunkt `ErrorAttributes.ERROR_ATTRIBUTE`
that was introduce to register handled errors as metrics. This has been
replaced since 3.0 by a direct support in Spring Framework and had no
effect whatsoever since that release.

This also updates the documentation to point to the Framework mechanism
that replaced it.

Fixes gh-33731
2023-12-14 11:26:45 +01:00
Moritz Halbritter 3ac9c44942 Merge branch '3.1.x' 2023-12-13 11:19:44 +01:00
Moritz Halbritter 82bc9a6280 Polish 2023-12-13 11:19:40 +01:00
Moritz Halbritter 2197e36d91 Merge branch '3.1.x'
Closes gh-38764
2023-12-13 11:18:19 +01:00
Moritz Halbritter d1badfe63a Document minimum supported Docker Compose version
Closes gh-38760
2023-12-13 11:18:09 +01:00
Moritz Halbritter c50172d5c7 Undeprecate 'management.metrics.tags'
Closes gh-38583
2023-12-13 08:26:11 +01:00
Moritz Halbritter 198dbb4a45 Auto-configure observatibility beans in sliced tests
If @AutoConfigureObservability is applied to a sliced test, it
auto-configures:

- An in-memory MeterRegistry
- A no-op Tracer
- An ObservationRegistry

Closes gh-38568
2023-12-12 11:29:43 +01:00
Moritz Halbritter 6330190913 Merge branch '3.1.x'
Closes gh-38728
2023-12-11 09:44:19 +01:00
Yanming Zhou ebfbc0ef05 Cleanup kotlin sources
1. remove unused imports
2. remove redundant semicolon
3. remove empty class body
4. remove redundant 'constructor' keyword
5. remove redundant 'Unit' return type
6. use non-null type if possible

See gh-38708
2023-12-11 09:23:42 +01:00
Moritz Halbritter ad586078a7 Merge branch '3.1.x'
Closes gh-38725
2023-12-11 08:18:43 +01:00
Georg Pirklbauer a8d706f485 Update Dynatrace documentation links
See gh-38706
2023-12-11 08:13:56 +01:00
Arthur Gavlyukovskiy 829bec7602 Update documentation about jetty http2 dependency
See gh-38632
2023-12-04 13:34:29 +01:00
Moritz Halbritter 89a0ac3018 Reword documentation 2023-12-01 14:47:24 +01:00
Moritz Halbritter 4d01d95fbc Merge branch '3.1.x'
Closes gh-38627
2023-12-01 14:45:53 +01:00
Brian Clozel 0321a8a05b Configure ObservationRegistry on JmsListener
Prior to this commit, we set in gh-37388 the ObservationRegistry on the
auto-configured JmsTemplate bean. This enables observations and context
propagation when sending JMS messages.

This commit applies the same to the `DefaultJmsListenerContainerFactory`
and the `DefaultJmsListenerContainerFactoryConfigurer`, in order to
enable observations on `@JmsListener` annotated methods.

This commit also refactors the support implemented in gh-37388 to avoid
relying on a bean post processor and instead set the observation
registry directly in the main auto-configuration: while Micrometer core
is an actuator-only dependency, Micrometer Observation API is a compile
dependnecy for spring-jms itself and there is no need to separate
concerns there.

Fixes gh-38613
2023-12-01 09:36:00 +01:00
Moritz Halbritter 903f85cd50 Merge branch '3.1.x'
Closes gh-38586
2023-11-28 13:17:42 +01:00
Alex Serbin 23816d6015 Fix Observation Filter docs
`WebMvcMetricsFilter` no longer exists since 3.0 and should be
replaced with `ServerHttpObservationFilter`

See gh-38570
2023-11-28 13:16:25 +01:00
Moritz Halbritter 34018b1982 Reinstate testAndDevelopmentOnly in Testcontainers documentation
Closes gh-38571
2023-11-28 11:13:59 +01:00
Johnny Lim f9f73aa146 Polish
See gh-38508
2023-11-23 09:39:01 +01:00
Moritz Halbritter f613ab89b9 Auto-configure observations for RestClients
Closes gh-38500
2023-11-23 09:28:09 +01:00
Moritz Halbritter 2323c7a838 Merge branch '3.1.x'
Closes gh-38496
2023-11-22 11:15:33 +01:00
Moritz Halbritter 74239ad689 Merge branch '3.0.x' into 3.1.x
Closes gh-38495
2023-11-22 11:15:20 +01:00
Moritz Halbritter 48e06af7ec Merge branch '2.7.x' into 3.0.x
Closes gh-38494
2023-11-22 11:15:07 +01:00
Moritz Halbritter 0171ed205c Polish "Document comments in SQL for database initialization"
See gh-38385
2023-11-22 11:14:13 +01:00
penekhun 578d0436e0 Document comments in SQL for database initialization
See gh-38385
2023-11-22 11:10:14 +01:00
Johnny Lim 175b6473c7 Polish
See gh-38389
2023-11-22 10:16:19 +01:00
Georg Pirklbauer 969e142c34 Update Dynatrace docs with info about the meter metadata toggle
See gh-38368
2023-11-22 10:14:25 +01:00
Scott Frederick d433deb737 Merge branch '3.0.x' into 3.1.x
Closes gh-38485
2023-11-21 17:30:54 -06:00
Scott Frederick dabcebf8a3 Merge branch '2.7.x' into 3.0.x
Closes gh-38484
2023-11-21 17:30:07 -06:00
Phillip Webb 6c3dec42e0 Add container support for Oracle Free which replaces Oracle XE
Update Docker Compose and Testcontainers support to work with
`gvenzl/oracle-free` which replaces `gvenzl/oracle-xe`.

Closes gh-38476
2023-11-21 11:51:59 -08:00
Phillip Webb 84ddeea1a4 Merge branch '3.1.x'
Closes gh-38425
2023-11-20 20:35:40 -08:00
Phillip Webb 092428e752 Merge branch '3.0.x' into 3.1.x
Closes gh-38424
2023-11-20 20:35:31 -08:00
Jonatan Ivanov d5c22b9f5a Update access log pattern to align with Tomcat 10
As of Tomcat 10 "%D" changed to mean microseconds instead of
milliseconds.

See gh-38403
2023-11-20 20:34:48 -08:00
Moritz Halbritter d6f67b02f7 Clarify which tracing components are disabled when using tracing in tests
See gh-33975
2023-11-15 09:13:15 +01:00
Moritz Halbritter 328261337e Merge branch '3.1.x'
Closes gh-38362
2023-11-15 09:07:09 +01:00
Moritz Halbritter 9c1c18c2b9 Document that tracing is disabled in tests in the "Tracing" section
Closes gh-33975
2023-11-15 09:06:39 +01:00
Moritz Halbritter ed7cf1043e Merge branch '3.1.x'
Closes gh-38353
2023-11-14 16:29:59 +01:00
Moritz Halbritter 83da5a5bd8 Document how to remove base path from Cloud Foundry actuator endpoints
Closes gh-24991
2023-11-14 16:29:28 +01:00
Sébastien Deleuze e88bab69f6 Document Liberica JDK with CRaC
See gh-38350
2023-11-14 13:25:30 +01:00
Phillip Webb 0ef87f5102 Merge branch '3.1.x' 2023-11-13 10:42:56 -08:00
Phillip Webb b902bf6aca Merge branch '3.0.x' into 3.1.x 2023-11-13 10:42:32 -08:00
Phillip Webb 09e5a2f24a Update copyright year of changed files 2023-11-13 10:42:26 -08:00
Phillip Webb 1a487d5cad Merge branch '3.1.x' 2023-11-13 09:27:56 -08:00
Phillip Webb 211e8c004a Merge branch '3.0.x' into 3.1.x 2023-11-13 09:27:45 -08:00
Phillip Webb 2cabcbc8fa Polish adoc formatting 2023-11-13 09:27:15 -08:00
Moritz Halbritter 4d21760fd6 Merge branch '3.1.x'
Closes gh-38341
2023-11-13 12:08:57 +01:00
Moritz Halbritter 4a6762a356 Merge branch '3.0.x' into 3.1.x
Closes gh-38340
2023-11-13 12:08:48 +01:00
Moritz Halbritter ba998302bd Polish "Add a Restarting a stopped or failed Job section to the batch howto"
See gh-38326
2023-11-13 12:08:06 +01:00
Lars Uffmann 00ce9aab00 Add a Restarting a stopped or failed Job section to the batch howto
See gh-38326
2023-11-13 12:06:01 +01:00
Moritz Halbritter 18ad246219 Merge branch '3.1.x' 2023-11-13 11:44:13 +01:00
Moritz Halbritter 2776047438 Reinstate accidentally removed sentence
See gh-35629
2023-11-13 11:44:05 +01:00
Moritz Halbritter 580d569ed0 Merge branch '3.1.x'
Closes gh-38337
2023-11-13 11:40:51 +01:00
Moritz Halbritter 9334840f18 Reverse the tip for importing testcontainers declarations
They now use `@ServiceConnection` by default.

Closes gh-35629
2023-11-13 11:40:30 +01:00
Moritz Halbritter 260a0b65c9 Merge branch '3.1.x'
Closes gh-38336
2023-11-13 11:25:00 +01:00
Moritz Halbritter 5a3e588da4 Create a separate section for testcontainers at development time
Closes gh-35856
2023-11-13 11:16:59 +01:00
Moritz Halbritter fc25d190b8 Merge branch '3.1.x'
Closes gh-38335
2023-11-13 10:36:46 +01:00
Moritz Halbritter e5326e18fc Document when and why to use the name attribute of ServiceConnection
Closes gh-36071
2023-11-13 10:36:30 +01:00
Moritz Halbritter c8461eae0b Merge branch '3.1.x'
Closes gh-38334
2023-11-13 09:08:04 +01:00
Moritz Halbritter 27da93525e Merge branch '3.0.x' into 3.1.x
Closes gh-38333
2023-11-13 09:07:54 +01:00
Moritz Halbritter 1022e1bdd2 Merge branch '2.7.x' into 3.0.x
Closes gh-38332
2023-11-13 09:07:43 +01:00
Christoph Dreis af0df78bd0 Fix link to Elasticsearch health indicator
See gh-38330
2023-11-13 09:04:06 +01:00
Moritz Halbritter 7e79d1f3c7 Merge branch '3.1.x'
Closes gh-38289
2023-11-10 11:25:38 +01:00
Moritz Halbritter eaaf977331 Merge branch '3.0.x' into 3.1.x
Closes gh-38288
2023-11-10 11:19:27 +01:00
Moritz Halbritter 40063ee1f9 Update Spring Security links 2023-11-10 11:01:23 +01:00
Moritz Halbritter d29f7a88b4 Update Spring Framework links
Closes gh-36241
2023-11-10 10:47:54 +01:00
Moritz Halbritter 8ac2e3e38f Fix broken link to Spring Data Envers
As of version 3.0, this project has been merged into Spring Data JPA.
2023-11-10 08:53:09 +01:00
Phillip Webb 897ba513fe Merge branch '3.1.x'
Closes gh-38272
2023-11-08 12:54:46 -08:00
Phillip Webb 445d0a22db Merge branch '3.0.x' into 3.1.x
Closes gh-38271
2023-11-08 12:54:38 -08:00
Phillip Webb 45e9804495 Merge branch '2.7.x' into 3.0.x
Closes gh-38270
2023-11-08 12:54:28 -08:00
Phillip Webb 61dbf45628 Fix package declaration of sample in reference docs
Update the "Developing Your First Spring Boot Application" sample so
that the package is not removed.

Closes gh-34513
2023-11-08 12:53:23 -08:00
Moritz Halbritter dbe882aced Merge branch '3.1.x'
Closes gh-38231
2023-11-06 12:11:25 +01:00