Skip to content

Commit ac1224d

Browse files
committed
add missing configurations to kafka 0.11
1 parent 2f0d232 commit ac1224d

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

instrumentation/kafka/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Settings for the Kafka instrumentation
22

3-
| System property | Type | Default | Description |
4-
|-----------------------------------------------------------| ------- |---------|--------------------------------------------------------------------------------------------------------------------------------|
5-
| `otel.instrumentation.kafka.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
6-
| `otel.instrumentation.kafka.producer-propagation.enabled` | Boolean | `true` | Enable context propagation for kafka message producer. |
3+
| System property | Type | Default | Description |
4+
|-----------------------------------------------------------|---------|---------|----------------------------------------------------------------------------|
5+
| `otel.instrumentation.kafka.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
6+
| `otel.instrumentation.kafka.producer-propagation.enabled` | Boolean | `true` | Enable context propagation for kafka message producer. |
7+
| `otel.instrumentation.messaging.experimental.capture-headers` | List | Empty | Enable the capture of experimental headers in messaging systems. |
8+
| `otel.instrumentation.messaging.experimental.receive-telemetry.enabled` | Boolean | `false` | Enable the capture of experimental receive telemetry in messaging systems. |
9+
---------

instrumentation/kafka/kafka-clients/kafka-clients-0.11/metadata.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
description: >
2+
This instrumentation provides producer and consumer spans and metrics for Apache Kafka 0.11 clients.
3+
It automatically traces message production and consumption, propagates context, and emits metrics for production and consumption.
14
configurations:
25
- name: otel.instrumentation.kafka.producer-propagation.enabled
36
description: Enable context propagation for kafka message producers.
@@ -7,3 +10,11 @@ configurations:
710
description: Enables the capture of the experimental consumer attribute "kafka.record.queue_time_ms"
811
type: boolean
912
default: false
13+
- name: otel.instrumentation.messaging.experimental.capture-headers
14+
description: Allows configuring headers to capture as span attributes.
15+
type: list
16+
default: ''
17+
- name: otel.instrumentation.messaging.experimental.receive-telemetry.enabled
18+
description: Enables experimental receive telemetry for AWS SDK instrumentation.
19+
type: boolean
20+
default: false
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
description: >
2+
This instrumentation provides a library integeration that enables producer and consumer spans and metrics for Apache Kafka 2.6+ clients.

0 commit comments

Comments
 (0)