Skip to content

GrainProfilerOptions

class

Namespace: Orleans.Dashboard

Configuration options for the grain profiler.
public sealed class GrainProfilerOptions

Constructors

Properties

  • DeactivationTime Gets or sets the duration of inactivity (no dashboard queries) after which profiling is automatically disabled. This setting only applies when GrainProfilerOptions is false. After this period without queries, profiling stops to reduce overhead until the next dashboard query. Default is 1 minute.
  • TraceAlways Gets or sets a value indicating whether tracing should always be enabled, regardless of dashboard activity. When set to true, profiling data is continuously collected even when the dashboard is not being queried. When set to false (default), profiling is automatically disabled after GrainProfilerOptions of inactivity. Default is false.