Skip to content

Commit 806c0eb

Browse files
authored
use telemetry api for logs instead of logs api
1 parent c32361e commit 806c0eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc_source/runtimes-extensions-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Lambda function authors use extensions to integrate Lambda with their preferred
44

55
![\[\]](http://docs.aws.amazon.com/lambda/latest/dg/images/telemetry-api-concept-diagram.png)
66

7-
As an extension author, you can use the Lambda Extensions API to integrate deeply into the Lambda [execution environment](lambda-runtime-environment.md)\. Your extension can register for function and execution environment lifecycle events\. In response to these events, you can start new processes, run logic, and control and participate in all phases of the Lambda lifecycle: initialization, invocation, and shutdown\. In addition, you can use the [Runtime Logs API](runtimes-logs-api.md) to receive a stream of logs\.
7+
As an extension author, you can use the Lambda Extensions API to integrate deeply into the Lambda [execution environment](lambda-runtime-environment.md)\. Your extension can register for function and execution environment lifecycle events\. In response to these events, you can start new processes, run logic, and control and participate in all phases of the Lambda lifecycle: initialization, invocation, and shutdown\. In addition, you can use the [Runtime Telemetry API](telemetry-api.md) to receive a stream of logs\.
88

99
An extension runs as an independent process in the execution environment and can continue to run after the function invocation is fully processed\. Because extensions run as processes, you can write them in a different language than the function\. We recommend that you implement extensions using a compiled language\. In this case, the extension is a self\-contained binary that is compatible with supported runtimes\. All [Lambda runtimes](lambda-runtimes.md) support extensions\. If you use a non\-compiled language, ensure that you include a compatible runtime in the extension\.
1010

@@ -377,4 +377,4 @@ The following example shows a Lambda function error message in which the functio
377377
+ 403 – Forbidden
378378
+ 500 – Container error\. Non\-recoverable state\. Extension should exit promptly\.
379379

380-
380+

0 commit comments

Comments
 (0)