diff --git a/docs/develop/go/workers/serverless-workers/aws-lambda.mdx b/docs/develop/go/workers/serverless-workers/aws-lambda.mdx index 447b7ce9c4..9d01765f2b 100644 --- a/docs/develop/go/workers/serverless-workers/aws-lambda.mdx +++ b/docs/develop/go/workers/serverless-workers/aws-lambda.mdx @@ -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. -[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 @@ -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). -[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 @@ -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: -[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: diff --git a/docs/develop/python/nexus/feature-guide.mdx b/docs/develop/python/nexus/feature-guide.mdx index 442e212079..afad0f58d9 100644 --- a/docs/develop/python/nexus/feature-guide.mdx +++ b/docs/develop/python/nexus/feature-guide.mdx @@ -221,7 +221,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. -[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: diff --git a/docs/develop/rust/activities/index.mdx b/docs/develop/rust/activities/index.mdx index 7dc9f18318..69b25fd4d4 100644 --- a/docs/develop/rust/activities/index.mdx +++ b/docs/develop/rust/activities/index.mdx @@ -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) \ No newline at end of file +- [Timeouts](/develop/rust/activities/timeouts) diff --git a/docs/develop/rust/client/index.mdx b/docs/develop/rust/client/index.mdx index 998f7d0810..08e2f73ec6 100644 --- a/docs/develop/rust/client/index.mdx +++ b/docs/develop/rust/client/index.mdx @@ -18,4 +18,4 @@ import * as Components from '@site/src/components'; ## Temporal Client -- [Temporal Client](/develop/rust/client/temporal-client) \ No newline at end of file +- [Temporal Client](/develop/rust/client/temporal-client) diff --git a/docs/develop/rust/index.mdx b/docs/develop/rust/index.mdx index b6e4f4d95a..35fb241ea7 100644 --- a/docs/develop/rust/index.mdx +++ b/docs/develop/rust/index.mdx @@ -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) \ No newline at end of file +- [Temporal Rust Community Slack](https://temporalio.slack.com/archives/C08G723SFNZ/p1773935454727179) diff --git a/docs/develop/rust/nexus/index.mdx b/docs/develop/rust/nexus/index.mdx index 1fb62f84ee..7ef29f45ec 100644 --- a/docs/develop/rust/nexus/index.mdx +++ b/docs/develop/rust/nexus/index.mdx @@ -18,4 +18,4 @@ import * as Components from '@site/src/components'; ## Temporal Nexus -- [Feature guide](/develop/rust/nexus/feature-guide) \ No newline at end of file +- [Feature guide](/develop/rust/nexus/feature-guide) diff --git a/docs/develop/rust/workers/index.mdx b/docs/develop/rust/workers/index.mdx index e41efbb943..6be9323510 100644 --- a/docs/develop/rust/workers/index.mdx +++ b/docs/develop/rust/workers/index.mdx @@ -18,4 +18,4 @@ import * as Components from '@site/src/components'; ## Workers -- [Worker processes](/develop/rust/workers/worker-process) \ No newline at end of file +- [Worker processes](/develop/rust/workers/worker-process) diff --git a/docs/develop/rust/workers/worker-process.mdx b/docs/develop/rust/workers/worker-process.mdx index e28bb5cedd..ad7cdaf84c 100644 --- a/docs/develop/rust/workers/worker-process.mdx +++ b/docs/develop/rust/workers/worker-process.mdx @@ -66,4 +66,4 @@ let worker_options = WorkerOptions::new("my-task-queue") .register_activities(MyActivities) .register_workflow::() .build(); -``` \ No newline at end of file +``` diff --git a/docs/develop/rust/workflows/cancellation.mdx b/docs/develop/rust/workflows/cancellation.mdx index 7c733b4ab4..c841213deb 100644 --- a/docs/develop/rust/workflows/cancellation.mdx +++ b/docs/develop/rust/workflows/cancellation.mdx @@ -233,4 +233,4 @@ Monitor the new Workflow Execution after resetting to ensure it completes succes - \ No newline at end of file + diff --git a/docs/develop/rust/workflows/index.mdx b/docs/develop/rust/workflows/index.mdx index e43a3d8915..d350610b25 100644 --- a/docs/develop/rust/workflows/index.mdx +++ b/docs/develop/rust/workflows/index.mdx @@ -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) \ No newline at end of file +- [Timeouts](/develop/rust/workflows/timeouts) diff --git a/docs/develop/typescript/workers/serverless-workers/aws-lambda.mdx b/docs/develop/typescript/workers/serverless-workers/aws-lambda.mdx index bdcd301989..3c2389f1c2 100644 --- a/docs/develop/typescript/workers/serverless-workers/aws-lambda.mdx +++ b/docs/develop/typescript/workers/serverless-workers/aws-lambda.mdx @@ -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. -[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'; // ... @@ -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). -[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'; @@ -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: -[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: @@ -181,8 +181,7 @@ exporters: # AWS EMF exporter for metrics # These are example configurations namespace: TemporalWorkerMetrics - # log_group_name: /aws/lambda/ - log_group_name: /aws/lambda/sdk-worker-typescript + log_group_name: /aws/lambda/ region: us-west-2 dimension_rollup_option: NoDimensionRollup resource_to_telemetry_conversion: @@ -198,7 +197,7 @@ service: exporters: [awsemf] telemetry: logs: - level: debug + level: info metrics: address: localhost:8888 ```