Commit Graph

104 Commits

Author SHA1 Message Date
Oliver Drotbohm
20f07b7936 GH-1068 - Switch to simple event type name for automatically created counters. 2025-02-23 09:48:05 +01:00
Oliver Drotbohm
f09c499600 GH-1068 - Polishing. 2025-02-22 15:34:30 +01:00
Oliver Drotbohm
dd37a283da GH-1068 - Automatically create counters for cross-module application events.
We now create counters for each cross-module application event published. The counters can be customized through ModulithEventMetricsCustomizer beans registered in the ApplicationContext.

Refactored the packages to let ….modulith.observability become the API package and moved all implementation components into ….modulith.observability.support.
2025-02-22 14:50:08 +01:00
Oliver Drotbohm
421c2f8eff GH-935 - Migrate to Micrometer Tracings's local service name. 2025-02-20 21:05:07 +01:00
Oliver Drotbohm
4090499634 GH-1027 - Prepare next development iteration. 2025-01-23 22:16:36 +01:00
Oliver Drotbohm
36370ae31a GH-1027 - Release version 1.4.0-M1. 2025-01-23 22:16:36 +01:00
Oliver Drotbohm
32cebcbadf GH-1016 - Observability proxying now uses original bean class loader.
Original issue: spring-projects/spring-data-rest#2438.
2025-01-17 00:56:53 +01:00
Oliver Drotbohm
7fabc528b4 GH-1010 - Update copyright declarations to include 2025. 2025-01-06 16:58:45 +01:00
Oliver Drotbohm
3b608e9bc9 GH-928 - Polishing.
License headers, formatting, null checks.
2024-11-22 11:20:49 +01:00
Marcin Grzejszczak
738ad3f14b GH-928 - Move to observations API.
Reworked observability integration to create Observations rather than traces directly. Additional metrics and counters and an Observation.Context to potentially customize the metrics exposed.
2024-11-22 11:05:47 +01:00
Oliver Drotbohm
163673ad75 GH-933 - Observability proxying now considers global proxy settings.
We now lookup the AbstractAutoProxyCreator registered for global proxy settings and apply that to the ProxyFactory used to create the proxies applying the observability decoration.
2024-11-22 10:57:49 +01:00
Oliver Drotbohm
f8728fc009 GH-955 - Prepare next development iteration. 2024-11-21 20:13:56 +01:00
Oliver Drotbohm
6f6597e163 GH-955 - Release version 1.3.0. 2024-11-21 20:13:55 +01:00
Oliver Drotbohm
85c5206cd3 GH-936 - Make sure ModuleTracingBeanPostProcessor is executed early.
We now explicitly declare an order for the MTBPP so that it gets registered for execution before the ones that create infrastructure for message listeners so that those already see the potentially proxied instance and invocations actually invoke the advice creating the traces.
2024-11-19 23:50:45 +01:00
Oliver Drotbohm
4218dffc9d GH-936 - Detect methods (meta-)annotated with @MessageMapping as module entry points.
We now consider all methods that are (meta-)annotated with Spring Messaging's @MessageMapping which is consistently used in a lot of broker annotations such as @(Rabbit|Kafka)Listener etc.
2024-11-19 23:01:29 +01:00
Oliver Drotbohm
d921c717c6 GH-927 - Introduce ObservedModule.isEventListenerInvocation(MethodInvocation).
Also introduce ObservedModule.getIdentifier() as a replacement for the now deprecated ObservedModule.getName().
2024-11-08 18:01:41 +01:00
Oliver Drotbohm
3d35d48d18 GH-912 - Prepare next development iteration. 2024-10-26 15:58:59 +02:00
Oliver Drotbohm
05c5550312 GH-912 - Release version 1.3.0-RC1. 2024-10-26 15:58:59 +02:00
Oliver Drotbohm
6da5d1dafb GH-874 - Add LICENSE and NOTICE files to binaries. 2024-10-14 22:14:51 +02:00
Oliver Drotbohm
0c2f79a56d GH-803 - Prepare next development iteration. 2024-09-20 23:26:04 +02:00
Oliver Drotbohm
a3ed03cff3 GH-803 - Release version 1.3.0-M3. 2024-09-20 23:26:03 +02:00
Oliver Drotbohm
438f17b56d GH-813 - Introduce FormattableType.
As replacement for misspelled Formatable type.
2024-09-20 22:02:17 +02:00
Oliver Drotbohm
65178e42de GH-785 - Prepare next development iteration. 2024-08-23 12:36:24 +02:00
Oliver Drotbohm
fbff89425f GH-785 - Release version 1.3.0-M2. 2024-08-23 12:36:24 +02:00
Oliver Drotbohm
02107e6a1c GH-744 - Fix observability interception for components declaring event listeners.
We now intercept all non-private methods on components, even if declared as event listeners.
2024-07-29 23:43:53 +02:00
Oliver Drotbohm
1e3a61838e GH-742 - Prepare next development iteration. 2024-07-19 01:58:03 +02:00
Oliver Drotbohm
9bf8a70c9f GH-742 - Release version 1.3.0-M1. 2024-07-19 01:58:03 +02:00
Oliver Drotbohm
1aef1b6191 GH-605 - Prepare next development iteration. 2024-05-24 12:56:39 +02:00
Oliver Drotbohm
0d74b1b1d0 GH-605 - Release version 1.2.0. 2024-05-24 12:56:39 +02:00
Oliver Drotbohm
e1f8be0bfe GH-637 - Enable TraceContext propagation across asynchronous threads.
We're now registering a customizers for both the SimpleAsyncTaskExecutor (used for virtual threads) and the ThreadPoolTaskExecutor to register a ContextPropagatingTaskDecorator.
2024-05-24 11:56:57 +02:00
Oliver Drotbohm
8a82d5575a GH-615 - Make sure we always place the ModuleEntryInterceptor after the AsyncAnnotationAdvisor.
To properly create spans for the actual method invocation, not the async dispatch.
2024-05-21 23:59:29 +02:00
Oliver Drotbohm
919d565572 GH-612 - Properly nest spans for nested module invocations. 2024-05-21 00:58:40 +02:00
Oliver Drotbohm
0361503fd6 GH-562 - Move test spring.factories to test sources. 2024-04-23 20:10:17 +02:00
Oliver Drotbohm
742ca82f8b GH-561 - Prepare next development iteration. 2024-04-19 18:56:33 +02:00
Oliver Drotbohm
c8ec877bc7 GH-561 - Release version 1.2.0-RC1. 2024-04-19 18:56:33 +02:00
Oliver Drotbohm
6b839cf6dc GH-525 - Prepare next development iteration. 2024-03-22 11:41:33 +01:00
Oliver Drotbohm
c441fdf535 GH-525 - Release version 1.2.0-M3. 2024-03-22 11:41:33 +01:00
Oliver Drotbohm
e41d7ec083 GH-520 - Early reject invalid ApplicationModules bootstraps.
We now immediately reject the ApplicationModules bootstrap in case the initial scanning of the root packages yield no classes at all.
2024-03-05 19:34:47 +01:00
Oliver Drotbohm
b73b4ca70a GH-514 - Prepare next development iteration. 2024-02-23 16:54:58 +01:00
Oliver Drotbohm
7315c8a13e GH-514 - Release version 1.2.0-M2. 2024-02-23 16:54:57 +01:00
Oliver Drotbohm
864baac3c2 GH-501 - Make Micrometer Tracing a mandatory dependency of the observability module.
ModuleObservabilityAutoConfiguration strongly depends on said module and there's no way to make it optionally depending on that.
2024-02-19 13:37:19 +01:00
Oliver Drotbohm
84a4453281 GH-498 - Prevent configuration properties from being proxied for observability.
We now avoid proxying configuration properties in the BeanPostProcessor that creates tracing proxies.
2024-02-14 11:30:24 +01:00
Oliver Drotbohm
c06a2c915e GH-474 - Prepare next development iteration. 2024-01-19 19:49:09 +01:00
Oliver Drotbohm
6f5886ddef GH-474 - Release version 1.2.0-M1. 2024-01-19 19:49:08 +01:00
Oliver Drotbohm
c32227bdfb GH-463 - Update copyright headers. 2024-01-17 19:45:40 +01:00
Oliver Drotbohm
5bb16e4c93 GH-393 - Prepare next development iteration. 2023-11-24 18:22:06 +01:00
Oliver Drotbohm
c6c0c0f500 GH-393 - Release version 1.1.0. 2023-11-24 18:22:06 +01:00
Oliver Drotbohm
20a7474f2f GH-358 - Prepare next development iteration. 2023-11-03 09:02:46 +01:00
Oliver Drotbohm
6336e32d54 GH-358 - Release version 1.1.0-RC2. 2023-11-03 09:02:45 +01:00
Oliver Drotbohm
69fd64dbf7 GH-341 - Prepare next development iteration. 2023-10-23 09:12:13 +02:00