Commit 4445608
fix: delegate peer tagging to BaseDecorator for IPv6 and config support
Use DECORATE.onPeerConnection() and setPeerPort() instead of manually
setting peer tags. This correctly classifies IPv6 addresses as peer.ipv6
(instead of forcing peer.ipv4) and honors the trace.peer.hostname.enabled
config toggle for peer.hostname.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent acc4558 commit 4445608
1 file changed
Lines changed: 4 additions & 11 deletions
File tree
- dd-java-agent/instrumentation/synapse-3.0/src/main/java/datadog/trace/instrumentation/synapse3
Lines changed: 4 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
113 | | - | |
| 112 | + | |
114 | 113 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
124 | 117 | | |
125 | 118 | | |
126 | 119 | | |
| |||
0 commit comments