Add Cloud Run worker OpenTelemetry sample - #353
Draft
seanbollin wants to merge 1 commit into
Draft
Conversation
Adds gcp_cloud_run/: a long-running Temporal worker for Google Cloud Run worker pools that uses the temporalio.contrib.gcp.cloud_run OpenTelemetryPlugin to export Core metrics and traces over OTLP/gRPC to a local OpenTelemetry Collector sidecar (worker, workflow, starter, collector-config.yaml, worker-pool.yaml, Dockerfile, README). Note: the cloud-run-worker-otel SDK extra is not yet released, so pyproject.toml temporarily uses an editable local path source to resolve temporalio against a sibling sdk-python checkout. Replace it with a released temporalio[cloud-run-worker-otel] and regenerate uv.lock before this is marked ready. Co-authored-by: Edward Amsden <edward.amsden@temporal.io> Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
gcp_cloud_run/: a long-running Temporal worker for Google Cloud Run worker pools that uses the newtemporalio.contrib.gcp.cloud_runOpenTelemetryPluginto export Core metrics and traces over OTLP/gRPC to a local OpenTelemetry Collector sidecar. Includes the worker, workflow, starter,collector-config.yaml,worker-pool.yaml, a Dockerfile, and a README.Depends on the unreleased
cloud-run-worker-otelextra from temporalio/sdk-python#1767.pyproject.tomltemporarily uses an editable local path source to resolvetemporalioagainst a siblingsdk-pythoncheckout. Before marking ready:temporalio[cloud-run-worker-otel][tool.uv.sources]local path with the releasedtemporalio[cloud-run-worker-otel]uv.lockRelated
SDK PR: temporalio/sdk-python#1767. Cross-SDK Cloud Run OTel preview (Go/Java/Python/.NET).
🤖 Generated with Claude Code