GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • API Documentation
  • Modules
  • Classes
  • Names
  • help page
  • OpenTelemetryConfig
  • runtime
  • BufferedMetric
  • BufferedMetricUpdate
  • LogForwardingConfig
  • LoggingConfig
  • LoggingFormat
  • MetricBuffer
  • MetricBufferDurationFormat

This view

  • Original page
  • New address

GeezerVison is showing python.temporal.io — temporalio.runtime.OpenTelemetryConfig

temporalio.runtime.OpenTelemetryConfig

class documentation

class OpenTelemetryConfig: (source)

View In Hierarchy

Configuration for OpenTelemetry collector.

Instance Variable durations_as_seconds If True, export duration metrics as floating-point seconds instead of integer milliseconds. Defaults to False.
Instance Variable headers Optional headers to include with each export request. Useful for authentication tokens or routing metadata.
Instance Variable histogram_bucket_overrides Override the default histogram bucket boundaries for specific metrics. Keys are metric names and values are sequences of bucket boundaries (e.g. {"workflow_task_schedule_to_start_latency": [0.01, 0.05, 0.1, 0.5, 1.0, 5.0]}...
Instance Variable http If True, use HTTP/protobuf transport instead of gRPC. When enabled, the url should point to the HTTP endpoint (e.g. "http://localhost:4318/v1/metrics"). Defaults to False (gRPC).
Instance Variable metric_periodicity How often metrics are exported to the collector. Defaults to 1s (set by sdk-core) when None.
Instance Variable metric_temporality Whether metrics are exported as cumulative or delta values. Defaults to CUMULATIVE.
Instance Variable url URL of the OpenTelemetry collector endpoint (e.g. "http://localhost:4317" for gRPC or "http://localhost:4318/v1/metrics" for HTTP).
Method _to_bridge_config Undocumented
durations_as_seconds: bool = (source) ¶

If True, export duration metrics as floating-point seconds instead of integer milliseconds. Defaults to False.

headers: Mapping[str, str] | None = (source) ¶

Optional headers to include with each export request. Useful for authentication tokens or routing metadata.

histogram_bucket_overrides: Mapping[str, Sequence[float]] | None = (source) ¶

Override the default histogram bucket boundaries for specific metrics. Keys are metric names and values are sequences of bucket boundaries (e.g. {"workflow_task_schedule_to_start_latency": [0.01, 0.05, 0.1, 0.5, 1.0, 5.0]}).

http: bool = (source) ¶

If True, use HTTP/protobuf transport instead of gRPC. When enabled, the url should point to the HTTP endpoint (e.g. "http://localhost:4318/v1/metrics"). Defaults to False (gRPC).

metric_periodicity: timedelta | None = (source) ¶

How often metrics are exported to the collector. Defaults to 1s (set by sdk-core) when None.

metric_temporality: OpenTelemetryMetricTemporality = (source) ¶

Whether metrics are exported as cumulative or delta values. Defaults to CUMULATIVE.

url: str = (source) ¶

URL of the OpenTelemetry collector endpoint (e.g. "http://localhost:4317" for gRPC or "http://localhost:4318/v1/metrics" for HTTP).

def _to_bridge_config(self) -> temporalio.bridge.runtime.OpenTelemetryConfig: (source) ¶

Undocumented

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.