Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions instrumentation/kafka/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Settings for the Kafka instrumentation

| System property | Type | Default | Description |
|-----------------------------------------------------------| ------- |---------|--------------------------------------------------------------------------------------------------------------------------------|
| `otel.instrumentation.kafka.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
| `otel.instrumentation.kafka.producer-propagation.enabled` | Boolean | `true` | Enable context propagation for kafka message producer. |
| System property | Type | Default | Description |
|-----------------------------------------------------------|---------|---------|----------------------------------------------------------------------------|
| `otel.instrumentation.kafka.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
| `otel.instrumentation.kafka.producer-propagation.enabled` | Boolean | `true` | Enable context propagation for kafka message producer. |
| `otel.instrumentation.messaging.experimental.capture-headers` | List | Empty | Enable the capture of experimental headers in messaging systems. |
| `otel.instrumentation.messaging.experimental.receive-telemetry.enabled` | Boolean | `false` | Enable the capture of experimental receive telemetry in messaging systems. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we currently don't list the common options in the readme files.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@laurit I reverted the README because my previous change was unnecessary.

---------
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
description: >
This instrumentation provides producer and consumer spans and metrics for Apache Kafka 0.11 clients.
It automatically traces message production and consumption, propagates context, and emits metrics for production and consumption.
configurations:
- name: otel.instrumentation.kafka.producer-propagation.enabled
description: Enable context propagation for kafka message producers.
Expand All @@ -7,3 +10,11 @@ configurations:
description: Enables the capture of the experimental consumer attribute "kafka.record.queue_time_ms"
type: boolean
default: false
- name: otel.instrumentation.messaging.experimental.capture-headers
description: Allows configuring headers to capture as span attributes.
type: list
default: ''
- name: otel.instrumentation.messaging.experimental.receive-telemetry.enabled
description: Enables experimental receive telemetry for AWS SDK instrumentation.
type: boolean
default: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
description: >
This instrumentation provides a library integeration that enables producer and consumer spans and metrics for Apache Kafka 2.6+ clients.
Loading