Skip to content

Commit 8648874

Browse files
committed
Remove peer-service-mapping declarative_name from r2dbc metadata
The bridge exposes otel.instrumentation.common.peer-service-mapping as a structured list at java.common.service_peer_mapping (list of peer/service_name entries), not as a flat map string. DeclarativeConfigValidationTest treats the 'map' type as a getString lookup, which fails for this mapping. Other metadata.yaml files intentionally omit declarative_name for this property; align r2dbc with that convention.
1 parent 670cd91 commit 8648874

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

instrumentation/r2dbc-1.0/metadata.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ configurations:
2929
type: boolean
3030
default: false
3131
- name: otel.instrumentation.common.peer-service-mapping
32-
declarative_name: java.common.service_peer_mapping
3332
description: Used to specify a mapping from host names or IP addresses to peer services.
3433
type: map
3534
default: ""

0 commit comments

Comments
 (0)