Skip to content

Sean/cloudrun public preview - #211

Draft
seanbollin wants to merge 3 commits into
mainfrom
sean/cloudrun-public-preview
Draft

Sean/cloudrun public preview#211
seanbollin wants to merge 3 commits into
mainfrom
sean/cloudrun-public-preview

Conversation

@seanbollin

@seanbollin seanbollin commented Aug 14, 2026

Copy link
Copy Markdown

Added a sample of running a workflow in CloudRun w/ OpenTelemetry extension

What was changed

Added a CloudRun worker sample using OpenTelemetry extension

Why?

As part of CloudRun public preview we're adding an OpenTelemetry extension to the .NET SDK

Checklist

  1. Closes
    https://temporalio.atlassian.net/browse/COM-260
  2. How was this tested:

Deployed to Cloud Run and verified metrics were visible in Metrics Explorer
4. Any docs updates needed?

Move the sample from src/CloudRunWorker to src/Gcp/CloudRun/OpenTelemetry
(and its test to tests/Gcp/CloudRun/OpenTelemetry) so the layout mirrors the
merged SDK package Temporalio.Extensions.Gcp.CloudRun.OpenTelemetry and the
other SDKs' Cloud Run samples, leaving room for additional Cloud Run samples
(e.g. worker ID) under src/Gcp/CloudRun/.

- Rename the project/namespace to TemporalioSamples.Gcp.CloudRun.OpenTelemetry
  (updating the .sln, the tests project reference, and the Dockerfile paths and
  output dll name).
- Bump the Temporalio package family to 1.18.0 (the release that introduces the
  GCP Cloud Run OpenTelemetry package) and, as its required companion, NexusRpc
  to 0.4.0. The shared test project references this sample, so the whole repo
  must move together.
- Point the temporary local-feed nuget.config at the new sample path.

Verified with the merged package packed into the local feed: the full solution
restores and builds at 1.18.0/NexusRpc 0.4.0, the sample emits
TemporalioSamples.Gcp.CloudRun.OpenTelemetry.dll, and the test is discovered
under the new namespace.

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