Skip to content
Open
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
6 changes: 3 additions & 3 deletions docs/develop/go/workers/serverless-workers/aws-lambda.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Use the `RunWorker` function to start a Lambda-based Worker.
Pass a `WorkerDeploymentVersion` and a callback that registers your Workflows and Activities.

<!--SNIPSTART go-lambda-worker {"selectedLines": ["1-6", "8-18", "22-30"]}-->
[samples-go/lambda-worker/worker/main.go](https://github.com/temporalio/samples-go/blob/lambda-worker/samples-go/lambda-worker/worker/main.go)
[lambda-worker/worker/main.go](https://github.com/temporalio/samples-go/blob/main/lambda-worker/worker/main.go)
```go
package main

Expand Down Expand Up @@ -134,7 +134,7 @@ The underlying metrics and traces are the same ones the Go SDK emits in any envi
For general observability concepts and the full list of available metrics, see [Observability - Go SDK](/develop/go/platform/observability) and the [SDK metrics reference](/references/sdk-metrics).

<!--SNIPSTART go-lambda-worker-->
[samples-go/lambda-worker/worker/main.go](https://github.com/temporalio/samples-go/blob/lambda-worker/samples-go/lambda-worker/worker/main.go)
[lambda-worker/worker/main.go](https://github.com/temporalio/samples-go/blob/main/lambda-worker/worker/main.go)
```go
package main

Expand Down Expand Up @@ -181,7 +181,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 go-lambda-worker-otel-collector-config-->
[samples-go/lambda-worker/otel-collector-config.yaml](https://github.com/temporalio/samples-go/blob/lambda-worker/samples-go/lambda-worker/otel-collector-config.yaml)
[lambda-worker/otel-collector-config.yaml](https://github.com/temporalio/samples-go/blob/main/lambda-worker/otel-collector-config.yaml)
```yaml
receivers:
otlp:
Expand Down
2 changes: 1 addition & 1 deletion docs/develop/python/nexus/feature-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Workflow IDs should typically be business-meaningful IDs and are used to dedupe
A Nexus Operation can only take one input parameter. If you want a Nexus Operation to start a Workflow that takes multiple arguments use the `ctx.start_workflow` method.

<!--SNIPSTART samples-python-nexus-handler-multiargs-->
[nexus_multiple_args/handler/service_handler.py](https://github.com/temporalio/samples-python/blob/lambda-worker/nexus_multiple_args/handler/service_handler.py)
[nexus_multiple_args/handler/service_handler.py](https://github.com/temporalio/samples-python/blob/main/nexus_multiple_args/handler/service_handler.py)
```py
@nexusrpc.handler.service_handler(service=MyNexusService)
class MyNexusServiceHandler:
Expand Down
2 changes: 1 addition & 1 deletion docs/develop/rust/activities/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ import * as Components from '@site/src/components';

- [Activity basics](/develop/rust/activities/basics)
- [Activity execution](/develop/rust/activities/execution)
- [Timeouts](/develop/rust/activities/timeouts)
- [Timeouts](/develop/rust/activities/timeouts)
2 changes: 1 addition & 1 deletion docs/develop/rust/client/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ import * as Components from '@site/src/components';

## Temporal Client

- [Temporal Client](/develop/rust/client/temporal-client)
- [Temporal Client](/develop/rust/client/temporal-client)
2 changes: 1 addition & 1 deletion docs/develop/rust/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ Once your local Temporal Service is set up, continue building with the following

### Get Connected with the Temporal TypeScript Community

- [Temporal Rust Community Slack](https://temporalio.slack.com/archives/C08G723SFNZ/p1773935454727179)
- [Temporal Rust Community Slack](https://temporalio.slack.com/archives/C08G723SFNZ/p1773935454727179)
2 changes: 1 addition & 1 deletion docs/develop/rust/nexus/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ import * as Components from '@site/src/components';

## Temporal Nexus

- [Feature guide](/develop/rust/nexus/feature-guide)
- [Feature guide](/develop/rust/nexus/feature-guide)
2 changes: 1 addition & 1 deletion docs/develop/rust/workers/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ import * as Components from '@site/src/components';

## Workers

- [Worker processes](/develop/rust/workers/worker-process)
- [Worker processes](/develop/rust/workers/worker-process)
2 changes: 1 addition & 1 deletion docs/develop/rust/workers/worker-process.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ let worker_options = WorkerOptions::new("my-task-queue")
.register_activities(MyActivities)
.register_workflow::<GreetingsWorkflow>()
.build();
```
```
2 changes: 1 addition & 1 deletion docs/develop/rust/workflows/cancellation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -233,4 +233,4 @@ Monitor the new Workflow Execution after resetting to ensure it completes succes

</TabItem>

</Tabs>
</Tabs>
2 changes: 1 addition & 1 deletion docs/develop/rust/workflows/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ import * as Components from '@site/src/components';
- [Message passing](/develop/rust/workflows/message-passing)
- [Cancellation](/develop/rust/workflows/cancellation)
- [Timers](/develop/rust/workflows/timers)
- [Timeouts](/develop/rust/workflows/timeouts)
- [Timeouts](/develop/rust/workflows/timeouts)
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,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)
[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 @@ -132,7 +132,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)
[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 @@ -163,7 +163,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)
[lambda-worker/otel-collector-config.yaml](https://github.com/temporalio/samples-typescript/blob/main/lambda-worker/otel-collector-config.yaml)
```yaml
receivers:
otlp:
Expand All @@ -181,8 +181,7 @@ exporters:
# AWS EMF exporter for metrics
# These are example configurations
namespace: TemporalWorkerMetrics
# log_group_name: /aws/lambda/<your-function-name>
log_group_name: /aws/lambda/sdk-worker-typescript
log_group_name: /aws/lambda/<your-function-name>
region: us-west-2
dimension_rollup_option: NoDimensionRollup
resource_to_telemetry_conversion:
Expand All @@ -198,7 +197,7 @@ service:
exporters: [awsemf]
telemetry:
logs:
level: debug
level: info
metrics:
address: localhost:8888
```
Expand Down
Loading