Interface IOperationStatistics
- Assembly
- WorkflowForge.Extensions.Observability.Performance.dll
Represents performance statistics for a specific operation.
public interface IOperationStatistics
Properties
AverageExecutionTime
Gets the average execution time for this operation.
TimeSpan AverageExecutionTime { get; }
Property Value
AverageMemoryPerExecution
Gets the average memory allocated per execution.
long AverageMemoryPerExecution { get; }
Property Value
ExecutionCount
Gets the number of times this operation was executed.
int ExecutionCount { get; }
Property Value
FailedExecutions
Gets the number of failed executions.
int FailedExecutions { get; }
Property Value
MaximumExecutionTime
Gets the maximum execution time recorded.
TimeSpan MaximumExecutionTime { get; }
Property Value
MinimumExecutionTime
Gets the minimum execution time recorded.
TimeSpan MinimumExecutionTime { get; }
Property Value
OperationId
Gets the unique identifier of the operation.
string OperationId { get; }
Property Value
OperationName
Gets the name of the operation.
string OperationName { get; }
Property Value
SuccessRate
Gets the success rate for this operation (0.0 to 1.0).
double SuccessRate { get; }
Property Value
SuccessfulExecutions
Gets the number of successful executions.
int SuccessfulExecutions { get; }
Property Value
TotalMemoryAllocated
Gets the total memory allocated by this operation.
long TotalMemoryAllocated { get; }