Skip to content

Add Cloud Run worker sample (CloudRunId + OpenTelemetry plugins) - #236

Merged
seanbollin merged 8 commits into
mainfrom
gcp-cloud-run
Oct 6, 2026
Merged

seanbollin merged 8 commits into
mainfrom
gcp-cloud-run

Conversation

@seanbollin

@seanbollin seanbollin commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Runs a Temporal Worker on a Google Cloud Run worker pool using both GCP Cloud Run plugins together:

  • Cloud Run Id (Temporalio.Extensions.Gcp.CloudRun.Id.CloudRunIdPlugin) — sets the Temporal client identity from Cloud Run instance metadata ({instanceId}@{revision}).
  • Cloud Run OpenTelemetry (Temporalio.Extensions.Gcp.CloudRun.OpenTelemetry) — exports Core SDK metrics and traces over OTLP to a Google-Built OpenTelemetry Collector sidecar.

Deploy with the gcloud flow in the sample README, then run a Workflow with temporal workflow execute.

@seanbollin
seanbollin marked this pull request as ready for review September 29, 2026 23:11
@seanbollin
seanbollin requested review from a team as code owners September 29, 2026 23:11
# Conflicts:
#	Directory.Packages.props
Comment thread src/Gcp/CloudRun/Dockerfile Outdated
Comment thread src/Gcp/CloudRun/Dockerfile Outdated
Comment thread src/Gcp/CloudRun/README.md Outdated
Comment thread src/Gcp/CloudRun/Program.cs Outdated
Comment thread src/Gcp/CloudRun/Program.cs Outdated
Comment thread src/Gcp/CloudRun/Program.cs Outdated
Comment thread src/Gcp/CloudRun/GreetingWorkflow.workflow.cs
Comment thread src/Gcp/CloudRun/README.md

@jmaeagle99 jmaeagle99 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't validated the yaml or Dockerfiles, but the rest of it LGTM.

@seanbollin
seanbollin requested a review from a team as a code owner October 6, 2026 22:42
@seanbollin
seanbollin merged commit eadae55 into main Oct 6, 2026
8 checks passed
@seanbollin
seanbollin deleted the gcp-cloud-run branch October 6, 2026 22:57
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.

2 participants