Skip to content

Commit 3834015

Browse files
committed
fixed migration instructions
1 parent e2b272e commit 3834015

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

contrib/aws/datadog-lambda-go/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ primary supported version. See the
1616
[migration instructions](https://docs.datadoghq.com/tracing/trace_collection/custom_instrumentation/go/migration/#migration-instructions)
1717
for guidance on upgrading from v1 to v2.
1818

19+
If you are upgrading a Go AWS Lambda function that previously used the legacy
20+
`datadog-lambda-go` repository, note that the Lambda wrapper has been migrated into
21+
the Go tracer under `dd-trace-go`.
22+
23+
When using Go tracer v2, you must import the Lambda wrapper using the `/v2`
24+
module path:
25+
26+
```go
27+
import "github.com/DataDog/dd-trace-go/contrib/aws/datadog-lambda-go/v2"
28+
```
29+
1930
## Installation
2031

2132
Follow the [installation instructions](https://docs.datadoghq.com/serverless/installation/go/), and view your function's enhanced metrics, traces and logs in Datadog.

0 commit comments

Comments
 (0)