Skip to content

Commit 9f2f412

Browse files
feat: updated README (#529)
1 parent a9d0651 commit 9f2f412

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@ custom:
5454
accountId: your-new-relic-account-id-here
5555
apiKey: your-new-relic-personal-api-key-here
5656
```
57-
57+
or
58+
```yaml
59+
custom:
60+
newRelic:
61+
accountId: your-new-relic-account-id-here
62+
ingestKey: your-new-relic-personal-ingest-key-here
63+
```
5864
Deploy:
5965

6066
```bash
@@ -103,6 +109,16 @@ custom:
103109
```
104110
If your function's source is committed to version control, you can avoid committing your license key by including it in your serverless.yml as a variable. See [the Serverless docs on template variables](https://www.serverless.com/framework/docs/providers/aws/guide/variables/) for more information.
105111

112+
#### `ingestKey` (required)
113+
114+
Your [New Relic Personal API Key](https://docs.newrelic.com/docs/apis/get-started/intro-apis/types-new-relic-api-keys#personal-api-key).
115+
116+
```yaml
117+
custom:
118+
newRelic:
119+
ingestKey: your-ingest-key-here
120+
```
121+
106122
#### `nrRegion` (required for EU; optional for US)
107123

108124
If your New Relic account is based in the EU, make sure to specify your nrRegion in the custom block:

0 commit comments

Comments
 (0)