newrelic-lambda-cli 0.9.8__py2.py3-none-any.whl → 0.9.9__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- newrelic_lambda_cli/layers.py +9 -0
- {newrelic_lambda_cli-0.9.8.dist-info → newrelic_lambda_cli-0.9.9.dist-info}/METADATA +10 -26
- {newrelic_lambda_cli-0.9.8.dist-info → newrelic_lambda_cli-0.9.9.dist-info}/RECORD +7 -7
- {newrelic_lambda_cli-0.9.8.dist-info → newrelic_lambda_cli-0.9.9.dist-info}/WHEEL +0 -0
- {newrelic_lambda_cli-0.9.8.dist-info → newrelic_lambda_cli-0.9.9.dist-info}/entry_points.txt +0 -0
- {newrelic_lambda_cli-0.9.8.dist-info → newrelic_lambda_cli-0.9.9.dist-info}/licenses/LICENSE +0 -0
- {newrelic_lambda_cli-0.9.8.dist-info → newrelic_lambda_cli-0.9.9.dist-info}/top_level.txt +0 -0
newrelic_lambda_cli/layers.py
CHANGED
|
@@ -24,6 +24,7 @@ NEW_RELIC_ENV_VARS = (
|
|
|
24
24
|
"NEW_RELIC_LICENSE_KEY",
|
|
25
25
|
"NEW_RELIC_LOG_ENDPOINT",
|
|
26
26
|
"NEW_RELIC_TELEMETRY_ENDPOINT",
|
|
27
|
+
"NEW_RELIC_APM_LAMBDA_MODE",
|
|
27
28
|
)
|
|
28
29
|
|
|
29
30
|
|
|
@@ -303,6 +304,14 @@ def install(input, function_arn):
|
|
|
303
304
|
|
|
304
305
|
try:
|
|
305
306
|
res = client.update_function_configuration(**update_kwargs)
|
|
307
|
+
if input.apm:
|
|
308
|
+
client.tag_resource(
|
|
309
|
+
Resource=config["Configuration"]["FunctionArn"],
|
|
310
|
+
Tags={
|
|
311
|
+
"NR.Apm.Lambda.Mode": "true",
|
|
312
|
+
},
|
|
313
|
+
)
|
|
314
|
+
success("Successfully added APM tag to the function")
|
|
306
315
|
except botocore.exceptions.ClientError as e:
|
|
307
316
|
failure(
|
|
308
317
|
"Failed to update configuration for '%s': %s"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: newrelic-lambda-cli
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.9
|
|
4
4
|
Summary: A CLI to install the New Relic AWS Lambda integration and layers.
|
|
5
5
|
Home-page: https://github.com/newrelic/newrelic-lambda-cli
|
|
6
6
|
Author: New Relic
|
|
@@ -62,37 +62,21 @@ A CLI to install the New Relic AWS Lambda integration and layers.
|
|
|
62
62
|
|
|
63
63
|
## Runtimes Supported
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
* nodejs18.x
|
|
74
|
-
* nodejs20.x
|
|
75
|
-
* nodejs22.x
|
|
76
|
-
* provided
|
|
77
|
-
* provided.al2
|
|
78
|
-
* provided.al2023
|
|
79
|
-
* python3.7
|
|
80
|
-
* python3.8
|
|
81
|
-
* python3.9
|
|
82
|
-
* python3.10
|
|
83
|
-
* python3.11
|
|
84
|
-
* python3.12
|
|
85
|
-
* python3.13
|
|
86
|
-
* ruby3.2
|
|
87
|
-
* ruby3.3
|
|
88
|
-
* ruby3.4
|
|
65
|
+
| Runtime | Versions |
|
|
66
|
+
|-------------|------------------------|
|
|
67
|
+
| Python | `python3.7`, `python3.8`, `python3.9`, `python3.10`, `python3.11`, `python3.12`, `python3.13` |
|
|
68
|
+
| Node.js | `nodejs16.x`, `nodejs18.x`, `nodejs20.x`, `nodejs22.x` |
|
|
69
|
+
| .NET | `dotnet3.1`, `dotnet6`, `dotnet8` |
|
|
70
|
+
| Java | `java8.al2`, `java11`, `java17`, `java21` |
|
|
71
|
+
| Provided | `provided`, `provided.al2`, `provided.al2023` |
|
|
72
|
+
| Ruby | `ruby3.2`, `ruby3.3`, `ruby3.4` |
|
|
89
73
|
|
|
90
74
|
**Note:** Automatic handler wrapping is only supported for Node.js, Python, Java, and Ruby. For other runtimes,
|
|
91
75
|
manual function wrapping is required using the runtime specific New Relic agent.
|
|
92
76
|
|
|
93
77
|
## Requirements
|
|
94
78
|
|
|
95
|
-
* Python >= 3.
|
|
79
|
+
* Python >= 3.7 <= 3.13
|
|
96
80
|
* Retrieve your [New relic Account ID](https://docs.newrelic.com/docs/accounts/install-new-relic/account-setup/account-id) and [User API Key](https://docs.newrelic.com/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key)
|
|
97
81
|
|
|
98
82
|
## Recommendations
|
|
@@ -3,7 +3,7 @@ newrelic_lambda_cli/api.py,sha256=b75XwylRhW9pcA6aZ9EjBW1yIFOGHhhULDD5hNhMyes,15
|
|
|
3
3
|
newrelic_lambda_cli/cliutils.py,sha256=XDtvTlgbf2uVg01yCJrfJmmgxbF0nIL9x58ETyvefk8,685
|
|
4
4
|
newrelic_lambda_cli/functions.py,sha256=p57ZUw424BaSUA_Gw8DrYsJOYKROEHEaXgARadqwcP0,2800
|
|
5
5
|
newrelic_lambda_cli/integrations.py,sha256=r0gxfEqVHTGu3xbr4dOCDwm0-Yhoz3KntfeQRWvoWrQ,31266
|
|
6
|
-
newrelic_lambda_cli/layers.py,sha256=
|
|
6
|
+
newrelic_lambda_cli/layers.py,sha256=h-oZu8LiKmc6DXNhP2LlP6Uy9mxY_eHlIKUNQqx1IZ0,17075
|
|
7
7
|
newrelic_lambda_cli/otel_ingestions.py,sha256=vi1Mlfc9nRvRWV7STwK7fDXZGozG8ufKohmpHcaWGic,9250
|
|
8
8
|
newrelic_lambda_cli/permissions.py,sha256=H7v5IMpKaJIWC4Dff2YcTis4BKAAFIJr9IHWUj1LnF4,9093
|
|
9
9
|
newrelic_lambda_cli/subscriptions.py,sha256=-BYkltqiDLdmhUB_Ot4w-5vvrKcQC6aHcTBLl1mlUlI,9564
|
|
@@ -19,9 +19,9 @@ newrelic_lambda_cli/cli/subscriptions.py,sha256=bUupv5iv3mUkC8t31nnI3BahoKxDnUJ8
|
|
|
19
19
|
newrelic_lambda_cli/templates/import-template.yaml,sha256=0r1yeoqpnqtEMggWomALkPG10NiANPWWBqz03rChch8,3771
|
|
20
20
|
newrelic_lambda_cli/templates/license-key-secret.yaml,sha256=ZldQaLXsyF1K2I4X_AsLdH7kRmLkPUYI3talmhqQyHg,1849
|
|
21
21
|
newrelic_lambda_cli/templates/nr-lambda-integration-role.yaml,sha256=s7T73B_k-mAwgzJrD2xn8YGUNgn2E1V7Exifrl81ViU,2874
|
|
22
|
-
newrelic_lambda_cli-0.9.
|
|
23
|
-
newrelic_lambda_cli-0.9.
|
|
24
|
-
newrelic_lambda_cli-0.9.
|
|
25
|
-
newrelic_lambda_cli-0.9.
|
|
26
|
-
newrelic_lambda_cli-0.9.
|
|
27
|
-
newrelic_lambda_cli-0.9.
|
|
22
|
+
newrelic_lambda_cli-0.9.9.dist-info/licenses/LICENSE,sha256=uuxDzQm0yfq_tNZX0tQYzsZUVRIF0jm3dBLZUojSYzI,11345
|
|
23
|
+
newrelic_lambda_cli-0.9.9.dist-info/METADATA,sha256=6kP-GPMt67xGNPbjVtAPHp01HJOB_8xFgCMiW4Pp7no,27567
|
|
24
|
+
newrelic_lambda_cli-0.9.9.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
25
|
+
newrelic_lambda_cli-0.9.9.dist-info/entry_points.txt,sha256=iks2k9Y4WNgIecsDzreIvMV9pGCjwwKTf33LKKvl2A8,65
|
|
26
|
+
newrelic_lambda_cli-0.9.9.dist-info/top_level.txt,sha256=dxX2w58VgSUFiPD8C_lFuY-T2C1kjfeY0xi8iTh0r44,20
|
|
27
|
+
newrelic_lambda_cli-0.9.9.dist-info/RECORD,,
|
|
File without changes
|
{newrelic_lambda_cli-0.9.8.dist-info → newrelic_lambda_cli-0.9.9.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{newrelic_lambda_cli-0.9.8.dist-info → newrelic_lambda_cli-0.9.9.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|