Add Cloud Run worker OpenTelemetry sample - #792
Draft
seanbollin wants to merge 1 commit into
Draft
Conversation
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>
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 the
cloud-run-workermodule: a long-running Temporal worker for Google Cloud Run worker pools that uses the newtemporal-gcp-cloud-runCloudRunOpenTelemetryPluginto 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.Depends on the unreleased
io.temporal:temporal-gcp-cloud-runfrom temporalio/sdk-java#3022. It currently resolves the SDK via the existing-PtemporalSdkPathcomposite build against a localsdk-javacheckout. Before marking ready:temporal-gcp-cloud-runjavaSDKVersionto that release and drop the local composite-build dependency for the published artifactRelated
SDK PR: temporalio/sdk-java#3022. Cross-SDK Cloud Run OTel preview (Go/Java/Python/.NET).
🤖 Generated with Claude Code