aws / aws-xray-sdk-go

AWS X-Ray SDK for the Go programming language.
Apache License 2.0
276 stars 117 forks source link

mongodb support #348

Open iain-raidiam opened 2 years ago

iain-raidiam commented 2 years ago

Is it possible to add xray tracing to https://github.com/mongodb/mongo-go-driver ?

srprash commented 2 years ago

Hi @iain-raidiam MongoDB instrumentation is currently not on X-Ray SDK's roadmap and I can't give an ETA for it at the moment. As a potential workaround, you can use OpenTelemetry Go as it already has the MongoDB instrumentation. Using OpenTelemetry, you can still send traces to X-Ray since now we have a first class support. More info on AWS Distro for OpenTelemetry Go: https://aws-otel.github.io/docs/getting-started/go-sdk