Skip to content

Commit a655ec1

Browse files
committed
Add example handler location
1 parent 9532906 commit a655ec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Datadog needs to be able to read headers from the incoming Lambda event. To do t
107107

108108
We provide a swap in replacement handler, with zero required code changes.
109109

110-
1. Set the environment variable `DD_LAMBDA_HANDLER` to the your handler location.
110+
1. Set the environment variable `DD_LAMBDA_HANDLER` to your regular handler location, eg. `myfunc.handler`.
111111
2. If using the layer, set your handler to `/opt/nodejs/node_modules/datadog-lambda-js/handler.handler`. If using installing your code as a library, use `node_modules/datadog-lambda-js/handler.handler`
112112

113113
### Manual Wrap

0 commit comments

Comments
 (0)