Class GoogleCloudRunOpenTelemetryOptions
- Namespace
- Temporalio.Extensions.Gcp.CloudRun.OpenTelemetry
- Assembly
- Temporalio.Extensions.Gcp.CloudRun.OpenTelemetry.dll
Options for ApplyGoogleCloudRunOpenTelemetryDefaults(TemporalClientConnectOptions, GoogleCloudRunOpenTelemetryOptions?).
public class GoogleCloudRunOpenTelemetryOptions
- Inheritance
-
GoogleCloudRunOpenTelemetryOptions
- Inherited Members
Remarks
WARNING: Google Cloud Run support is experimental.
Properties
CollectorEndpoint
Gets or sets the OTLP collector endpoint. If unset, this falls back to OTEL_EXPORTER_OTLP_ENDPOINT, then "http://localhost:4317".
public string? CollectorEndpoint { get; set; }
Property Value
MetricsExportInterval
Gets or sets how often the Core SDK exports metrics to the collector.
public TimeSpan MetricsExportInterval { get; set; }
Property Value
Remarks
Defaults to 60 seconds, matching the coordinated Temporal SDK Google Cloud Run default and the upstream OpenTelemetry SDK default. This is above Google Cloud's five-second minimum export interval.
ServiceName
Gets or sets the OpenTelemetry service name. If unset, this falls back to OTEL_SERVICE_NAME, then CLOUD_RUN_WORKER_POOL, then K_SERVICE, then "temporal-worker".
public string? ServiceName { get; set; }