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
Resolves#2417
Refactor for latest snapshots; add documentation generation.
Use NOOP registry and supplier for context.
GH-2417: Fix class tangles.
Disable auto doc generation and polish manually.
Remove unnecessary `Supplier` casts.
Remove incorrect `@Nullable`.
Add Remote Service Name to Contexts
Include the cluster id if possible.
* Move deps to the latest snapshots
Below you can find a list of all samples declared by this project.
5
+
6
+
[[observability-metrics-listener-observation]]
7
+
==== Listener Observation
8
+
9
+
____
10
+
Observation for Apache Kafka listeners.
11
+
____
12
+
13
+
**Metric name** `spring.kafka.listener` (defined by convention class `KafkaListenerObservation$DefaultKafkaListenerObservationConvention`). **Type** `timer` and **base unit** `seconds`.
14
+
15
+
Name of the enclosing class `KafkaListenerObservation`.
16
+
17
+
IMPORTANT: All tags must be prefixed with `spring.kafka.listener` prefix!
18
+
19
+
.Low cardinality Keys
20
+
[cols="a,a"]
21
+
|===
22
+
|Name | Description
23
+
|`spring.kafka.listener.id`|Listener id (or listener container bean name).
24
+
|===
25
+
26
+
[[observability-metrics-template-observation]]
27
+
==== Template Observation
28
+
29
+
____
30
+
Observation for KafkaTemplates.
31
+
____
32
+
33
+
**Metric name** `spring.kafka.template` (defined by convention class `KafkaTemplateObservation$DefaultKafkaTemplateObservationConvention`). **Type** `timer` and **base unit** `seconds`.
34
+
35
+
Name of the enclosing class `KafkaTemplateObservation`.
36
+
37
+
IMPORTANT: All tags must be prefixed with `spring.kafka.template` prefix!
38
+
39
+
.Low cardinality Keys
40
+
[cols="a,a"]
41
+
|===
42
+
|Name | Description
43
+
|`spring.kafka.template.name`|Bean name of the template.
Copy file name to clipboardExpand all lines: spring-kafka-docs/src/main/asciidoc/kafka.adoc
+2
Original file line number
Diff line number
Diff line change
@@ -3415,6 +3415,8 @@ The default implementations add the `bean.name` tag for template observations an
3415
3415
3416
3416
You can either subclass `DefaultKafkaTemplateObservationConvention` or `DefaultKafkaListenerObservationConvention` or provide completely new implementations.
3417
3417
3418
+
See <<observation-gen>> for details of the observations that are recorded.
0 commit comments