Skip to content

Commit 5abc657

Browse files
committed
fix
1 parent e1bbe8e commit 5abc657

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docs/instrumentation-list.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3650,7 +3650,8 @@ libraries:
36503650
- com.sparkjava:spark-core:[2.3,)
36513651
spring:
36523652
- name: spring-batch-3.0
3653-
description: Instruments the Spring Batch framework.
3653+
description: This instrumentation enables INTERNAL spans for jobs run by the Spring
3654+
Batch framework.
36543655
disabled_by_default: true
36553656
source_path: instrumentation/spring/spring-batch-3.0
36563657
scope:
@@ -3886,10 +3887,12 @@ libraries:
38863887
type: boolean
38873888
default: false
38883889
telemetry:
3889-
- when: default
3890+
- when: otel.instrumentation.kafka.experimental-span-attributes=true
38903891
spans:
38913892
- span_kind: CONSUMER
38923893
attributes:
3894+
- name: kafka.record.queue_time_ms
3895+
type: LONG
38933896
- name: messaging.batch.message_count
38943897
type: LONG
38953898
- name: messaging.client_id
@@ -3910,12 +3913,10 @@ libraries:
39103913
type: STRING
39113914
- name: messaging.system
39123915
type: STRING
3913-
- when: otel.instrumentation.kafka.experimental-span-attributes=true,otel.instrumentation.messaging.experimental.receive-telemetry.enabled=true
3916+
- when: default
39143917
spans:
39153918
- span_kind: CONSUMER
39163919
attributes:
3917-
- name: kafka.record.queue_time_ms
3918-
type: LONG
39193920
- name: messaging.batch.message_count
39203921
type: LONG
39213922
- name: messaging.client_id

instrumentation/spring/spring-batch-3.0/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
disabled_by_default: true
2-
description: Instruments the Spring Batch framework.
2+
description: This instrumentation enables INTERNAL spans for jobs run by the Spring Batch framework.
33
configurations:
44
- name: otel.instrumentation.spring-batch.experimental-span-attributes
55
type: boolean

0 commit comments

Comments
 (0)