You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/camel-observability-services/src/main/docs/observability-services.adoc
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ The Camel Observability Services provide services for observing the state of Cam
13
13
14
14
== What is observability?
15
15
16
-
Modern systems (especially distributed ones like Camel) are complex. When something breaks or slows down, you need visibility into what's happening inside without manually digging into every part. Observability gives you that visibility.
16
+
Modern systems (especially distributed ones like Camel) are complex. When something breaks or slows down, you need visibility into what's happening inside without manually digging into every part. Observability gives you that visibility.
17
17
18
18
There are 4 different types of observability:
19
19
@@ -22,7 +22,7 @@ There are 4 different types of observability:
22
22
3. Tracing (Follows the path of a message as it moves through routes.)
23
23
4. Logging (Records of events happening in Camel.)
24
24
25
-
Camel Observability services unifies all the different types of observability, and provides standardized endpoints for each.
25
+
Camel Observability services unifies all the different types of observability, and provides standardized endpoints for each.
26
26
27
27
== Usage
28
28
@@ -76,6 +76,14 @@ If you need to customize each of the different components provided within this s
76
76
77
77
WARNING: The customization of the configuration for this component is not available for Spring Boot runtime due to a https://github.com/spring-projects/spring-boot/issues/24688[known limitation]. You can use this component in Spring Boot runtime with the default settings only. If you need to provide any customization, you'll need to configure each component separately.
78
78
79
+
== Default logging metrics on shutdown
80
+
81
+
NOTE: feature available since version 4.19.0
82
+
83
+
The presence of this component will make sure that when the application is shutting down, certain metrics are stored on log of the application in order to be preserved for any future analysis or shared with your log aggregator. This could be a solution to investigate how many exchanges were processed, how many have failed, etc, on an application that has a sudden or even a controlled shutdown. You can think on a cronjob running and being able at any moment to learn certain stats without the need to have your application running to scrape the `/metrics` endpoint.
84
+
85
+
You can even change `camel.metrics.logMetricsOnShutdown` and `camel.metrics.logMetricsOnShutdownFilters` in order to qualify better this behavior, which defaults to `true` and `app.info,camel.exchanges.*` by default.
86
+
79
87
=== OpenTelemetry configuration
80
88
81
89
The presence of this component will provide the required instrumentation to easily enable the collection of OpenTelemetry metrics.
0 commit comments