Skip to content

docs: update README.md on current status and setup instructions for the project #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Backport any changes made in the `docs` directory to the branches that you'd lik

## Getting Help

If you find a bug, please [report an issue](https://github.com/elastic/apm-agent-go/issues).
If you find a bug, please [report an issue](https://github.com/elastic/apm-aws-lambda/issues).
For any other assistance, please open or add to a topic on the [APM discuss forum](https://discuss.elastic.co/c/apm).

## Contributing
Expand Down
11 changes: 5 additions & 6 deletions TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ To run an unreleased version of this extension, you will need to ensure that you
To build the extension in the `bin/extensions` folder, run the following commands.

```bash
$ cd apm-lambda-extension
$ GOOS=linux GOARCH=amd64 go build -o bin/extensions/apm-lambda-extension main.go
$ chmod +x bin/extensions/apm-lambda-extension
$ make build
```

### Layer Setup Process
Expand All @@ -24,8 +22,7 @@ The extensions .zip file should contain a root directory called `extensions/`, w
To create the zip file, run the following commands from the root of your project folder.

```bash
$ cd apm-lambda-extension/bin
$ zip -r extension.zip extensions/
$ make zip
```

To publish the zip file as a layer, run the following command using the AWS cli (presumes you have v2 of the aws-cli installed).
Expand All @@ -37,7 +34,9 @@ Publish a new layer using the `extension.zip`. The output of the following comma
aws lambda publish-layer-version \
--layer-name "apm-lambda-extension" \
--region <use your region> \
--zip-file "fileb://extension.zip"
--description "AWS Lambda Extension Layer for Elastic APM" \
--license "Apache-2.0" \
--zip-file "fileb://./bin/extension.zip"
```

The output from the above command will include a `LayerVersionArn` field, which contains the unique string identifier for your layer. The will look something like the following.
Expand Down