Class RestateTelemetryOptions
- Namespace
- Restate.Sdk
- Assembly
- Restate.Sdk.dll
Options controlling the SDK's OpenTelemetry-compatible instrumentation.
The SDK exposes an ActivitySource and a
Meter, both named Restate.Sdk.
public sealed class RestateTelemetryOptions
- Inheritance
-
RestateTelemetryOptions
- Inherited Members
Properties
EnableOperationActivities
Enables per-operation child activities (spans) for durable operations
(Run, Call, and Sleep) beneath the invocation activity.
Off by default: each traced operation allocates an Activity
on the invocation hot path. Even when enabled, activities are only created while a
listener is attached to the Restate.Sdk source.
public bool EnableOperationActivities { get; set; }