I have a requirement to create spans for the java.net.Socket calls to the backend from a Spring REST API. I tried to create an extension for this. I have creates the InstrumentationModule, ...
System.out.println("localhostの" + port + "番ポートで待機します"); ServerSocket server = new ServerSocket(port); // ポート番号を指定し、クライアントとの接続の準備を行う Socket socket = server.accept(); // クライアントからの接続要求を待ち、 // ...