Commit Graph

236 Commits

Author SHA1 Message Date
Moritz Halbritter
013a4dd2b7 Document tracing support for RestClient
Closes gh-41182
2024-06-21 11:03:54 +02:00
Mateus Scheper
80b7107c56 Improve readability of the documentation
See gh-41051
2024-06-11 14:54:30 +02:00
Moritz Halbritter
28e7f1d4a4 Merge branch '3.1.x' into 3.2.x
Closes gh-39784
2024-02-28 13:00:36 +01:00
Piyal Ahmed
3028fe703e Fix Typo in Spring Boot Docs Section 10.1 Custom HTTP Exchange Recording
See gh-39777
2024-02-28 12:58:53 +01:00
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
6163308fbc Polish "Clarify that auto-configured OpenTelemetry Resource behaviour"
See gh-39509
2024-02-12 08:20:24 +01:00
Jakob Wanger
02765bc9f0 Clarify that auto-configured OpenTelemetry Resource behaviour
The documentation does not describe that exposing a Resource bean,
will prevent the property from being able to provide attributes
(unless the newly exposed Resource bean, implements it).

Signed-off-by: Jakob Wanger <jakobwanger@gmail.com>

See gh-39509
2024-02-12 08:18:42 +01:00
Phillip Webb
3fb25f4d4b Merge branch '3.1.x' into 3.2.x
Closes gh-39280
2024-01-23 08:14:26 -08:00
Jan Engehausen
c99daf5de4 Fix typo 'Unuthorized'
See gh-39279
2024-01-23 08:13:13 -08:00
Phillip Webb
b890515ce1 Merge branch '3.1.x' into 3.2.x
Closes gh-39199
2024-01-17 10:20:30 -08:00
Phillip Webb
bec84959ed Improve "Sanitize Sensitive Values" section in reference documentation
Closes gh-39094
2024-01-17 10:19:40 -08:00
Phillip Webb
267b7ab248 Polish formatting 2024-01-16 11:20:05 -08:00
Wzy19930507
3274205709 Use the term "tags" in documentation consistently
See gh-39125
2024-01-16 11:15:42 -08: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
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
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
c50172d5c7 Undeprecate 'management.metrics.tags'
Closes gh-38583
2023-12-13 08:26:11 +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
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
f613ab89b9 Auto-configure observations for RestClients
Closes gh-38500
2023-11-23 09:28:09 +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
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
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
d29f7a88b4 Update Spring Framework links
Closes gh-36241
2023-11-10 10:47:54 +01:00
Moritz Halbritter
0e63326beb Merge branch '3.1.x'
Closes gh-38080
2023-10-27 14:21:26 +02:00
Moritz Halbritter
140ba4039d Merge branch '3.0.x' into 3.1.x
Closes gh-38079
2023-10-27 14:20:07 +02:00
Moritz Halbritter
43a3fbf449 Move "Sanitize Sensitive Values" in docs
Closes gh-35917
2023-10-27 14:16:48 +02:00
Moritz Halbritter
4c3de96d74 Fix links to Antora based JavaDoc and reference documentation
This introduces two different attributes for, e.g. the Spring Framework
version: the "normal" one, e.g. 6.1.0-SNAPSHOT, and the Antora one,
e.g. 6.1.

Spring Framework's reference documentation is still broken when using
SNAPSHOT versions, see spring-framework/gh-31480.

See gh-38000
2023-10-24 10:31:26 +02:00
Chris Bono
1571097048 Fix links in Spring Kafka section of ref guide
Spring for Apache Kafka recently moved to Antora docs which in turn
modified the base url slightly. This commmit adjusts for the move.

See gh-37987
2023-10-23 11:03:05 +02:00
Moritz Halbritter
5b129ceb09 Switch reactor context propagation from auto to limited
- Polish
- Fix @since tags
- Add a test case
- Update context-propagation version

Closes gh-34201
2023-10-04 09:37:45 +02:00
Moritz Halbritter
30f29dead8 Revert "Temporarily remove auto-config for Reactor context propagation"
This reverts commit 88de3cc089.

See gh-34201
2023-10-04 09:12:27 +02:00
Phillip Webb
052757c2d8 Polish 2023-09-27 20:58:09 -07:00
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
2023-09-15 16:28:06 +02:00