Skip to content

Add Cloud Run worker OpenTelemetry sample - #792

Draft
seanbollin wants to merge 1 commit into
mainfrom
gcp-cloud-run-otel
Draft

Add Cloud Run worker OpenTelemetry sample#792
seanbollin wants to merge 1 commit into
mainfrom
gcp-cloud-run-otel

Conversation

@seanbollin

Copy link
Copy Markdown

Summary

Adds the cloud-run-worker module: a long-running Temporal worker for Google Cloud Run worker pools that uses the new temporal-gcp-cloud-run CloudRunOpenTelemetryPlugin to export Core metrics and traces over OTLP/gRPC to a local OpenTelemetry Collector sidecar. Includes the worker, a greeting workflow/activities, collector-config.yaml, worker-pool.yaml, a Dockerfile, tests, and a README.

⚠️ Draft — blocked on SDK release

Depends on the unreleased io.temporal:temporal-gcp-cloud-run from temporalio/sdk-java#3022. It currently resolves the SDK via the existing -PtemporalSdkPath composite build against a local sdk-java checkout. Before marking ready:

  • Release temporal-gcp-cloud-run
  • Bump javaSDKVersion to that release and drop the local composite-build dependency for the published artifact

Related

SDK PR: temporalio/sdk-java#3022. Cross-SDK Cloud Run OTel preview (Go/Java/Python/.NET).

🤖 Generated with Claude Code

Adds cloud-run-worker/: a long-running Temporal worker for Google Cloud Run
worker pools that uses the temporal-gcp-cloud-run CloudRunOpenTelemetryPlugin to
export Core metrics and traces over OTLP/gRPC to a local OpenTelemetry Collector
sidecar (worker, greeting workflow/activities, collector-config.yaml,
worker-pool.yaml, Dockerfile, README).

Note: the SDK module temporal-gcp-cloud-run is not yet released, so the sample
resolves it via the existing -PtemporalSdkPath composite build against a local
sdk-java checkout. Bump javaSDKVersion to the release that ships the module
before this is marked ready.

Co-authored-by: Edward Amsden <edward.amsden@temporal.io>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant