Skip to content

Commit 2ab92af

Browse files
committed
GH-1567 - Polishing.
1 parent fba660b commit 2ab92af

5 files changed

Lines changed: 9 additions & 6 deletions

File tree

spring-modulith-observability/spring-modulith-observability-api/src/main/java/org/springframework/modulith/observability/ObservedModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public interface ObservedModule {
4646
String getDisplayName();
4747

4848
/**
49-
* Returns the name of the actually invoked {@link Method}.
49+
* Returns the name of the actually invoked {@link java.lang.reflect.Method}.
5050
*
5151
* @param invocation must not be {@literal null}.
5252
* @return

spring-modulith-observability/spring-modulith-observability-core/src/main/java/org/springframework/modulith/observability/support/ModuleEventCounterFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
import org.springframework.util.Assert;
2929

3030
/**
31-
* A factory to create {@link Builder} instances for {@link Counter}s eventually. Target for dependency injection via
32-
* the {@link org.springframework.modulith.observability.ModulithEventMetricsCustomizer} interface to allow users to
33-
* augment the counters with additional information.
31+
* A factory to create {@link Builder} instances for {@link io.micrometer.core.instrument.Counter}s eventually. Target
32+
* for dependency injection via the {@link org.springframework.modulith.observability.ModulithEventMetricsCustomizer}
33+
* interface to allow users to augment the counters with additional information.
3434
*
3535
* @author Oliver Drotbohm
3636
* @author Marcin Grzejszczak

spring-modulith-observability/spring-modulith-observability-core/src/main/java/org/springframework/modulith/observability/support/ModuleEventListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class ModuleEventListener implements ApplicationListener<ApplicationEvent
4545

4646
/**
4747
* Creates a new {@link ModuleEventListener} for the given {@link ApplicationModulesRuntime} and
48-
* {@link ObservationRegistry} and {@link MeterRegistry}.
48+
* {@link MeterRegistry}.
4949
*
5050
* @param runtime must not be {@literal null}.
5151
* @param meterRegistrySupplier must not be {@literal null}.

spring-modulith-observability/spring-modulith-observability-core/src/main/java/org/springframework/modulith/observability/support/ObservedModuleEvent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import org.springframework.modulith.observability.ModulithMetrics;
2323

2424
/**
25-
* An observed event associated with the {@link ApplicationModule} it originates from.
25+
* An observed event associated with the {@link org.springframework.modulith.core.ApplicationModule} it originates from.
2626
*
2727
* @author Oliver Drotbohm
2828
* @since 2.1

src/docs/antora/modules/ROOT/pages/production-ready.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ In this particular case, triggering the payment changes the state of the order w
195195
This gets picked up asynchronously by the engine that triggers another state change on the order, works for a couple of seconds and triggers the final state change on the order in turn.
196196

197197
[[observability-spans]]
198+
=== Observability Spans
199+
200+
[[observability-spans-module-entry]]
198201
==== Module Entry Span
199202

200203
.Tag Keys

0 commit comments

Comments
 (0)