Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Use the `runWorker` function to create a Lambda handler that runs a Temporal Wor
Pass a deployment version and a configure callback that sets up your Workflows and Activities.

<!--SNIPSTART typescript-lambda-worker {"selectedLines": ["1", "3-11", "13"]}-->
[samples-typescript/lambda-worker/src/index.ts](https://github.com/temporalio/samples-typescript/blob/lambda-worker/samples-typescript/lambda-worker/src/index.ts)
[samples-typescript/lambda-worker/src/index.ts](https://github.com/temporalio/samples-typescript/blob/main/lambda-worker/src/index.ts)
```ts
import { runWorker } from '@temporalio/lambda-worker';
// ...
Expand Down Expand Up @@ -133,7 +133,7 @@ The underlying metrics and traces are the same ones the TypeScript SDK emits in
For general observability concepts and the full list of available metrics, see [Observability - TypeScript SDK](/develop/typescript/platform/observability) and the [SDK metrics reference](/references/sdk-metrics).

<!--SNIPSTART typescript-lambda-worker-->
[samples-typescript/lambda-worker/src/index.ts](https://github.com/temporalio/samples-typescript/blob/lambda-worker/samples-typescript/lambda-worker/src/index.ts)
[samples-typescript/lambda-worker/src/index.ts](https://github.com/temporalio/samples-typescript/blob/main/lambda-worker/src/index.ts)
```ts
import { runWorker } from '@temporalio/lambda-worker';
import { applyDefaults } from '@temporalio/lambda-worker/otel';
Expand Down Expand Up @@ -164,7 +164,7 @@ You must provide a custom Collector configuration that wires the OTLP receiver t
Bundle the following `otel-collector-config.yaml` in your Lambda deployment package:

<!--SNIPSTART typescript-lambda-worker-otel-collector-config-->
[samples-typescript/lambda-worker/otel-collector-config.yaml](https://github.com/temporalio/samples-typescript/blob/lambda-worker/samples-typescript/lambda-worker/otel-collector-config.yaml)
[samples-typescript/lambda-worker/otel-collector-config.yaml](https://github.com/temporalio/samples-typescript/blob/main/lambda-worker/otel-collector-config.yaml)
```yaml
receivers:
otlp:
Expand Down
Loading