Closed gcobr closed 4 years ago
Hey @gcobr, thanks for reaching out! You'll need to create a custom subsegment using the Xray SDK: https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-subsegments.html. You will likely need to wrap the function that calls the SFTP server, in your case. Feel free to keep us posted on your progress or reach out to our support team.
@gcobr I'm going to close this ticket for now, as there is nothing we can do immediately here. If the suggested approach does not work, feel free to open a ticket with our support or find us directly in our community slack channel https://datadoghq.slack.com/channels/serverless/.
My GoLang AWS Lambda connects to an SFTP server and uploads a file to it. It uses
golang.org/x/crypto/ssh
andgithub.com/pkg/sftp
to do so.How should I instrument the Go code to have these connections on the APM Service Map?