Skip to content

GrainProfilerOptions Properties

Configuration options for the grain profiler.

DeactivationTime

getset
View source
public TimeSpan 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

getset
View source
public bool 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.