applyPeer method
Implementation
void applyPeer({String? address, int? port}) {
if (address != null && address.isNotEmpty && address != 'UNKNOWN') {
span.setAttribute(Attribute.fromString('network.peer.address', address));
}
span.setAttribute(Attribute.fromInt('network.peer.port', port ?? url.port));
}