Table of Contents

Interface IOperationStatistics

Namespace
WorkflowForge.Extensions.Observability.Performance.Abstractions
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

TimeSpan

AverageMemoryPerExecution

Gets the average memory allocated per execution.

long AverageMemoryPerExecution { get; }

Property Value

long

ExecutionCount

Gets the number of times this operation was executed.

int ExecutionCount { get; }

Property Value

int

FailedExecutions

Gets the number of failed executions.

int FailedExecutions { get; }

Property Value

int

MaximumExecutionTime

Gets the maximum execution time recorded.

TimeSpan MaximumExecutionTime { get; }

Property Value

TimeSpan

MinimumExecutionTime

Gets the minimum execution time recorded.

TimeSpan MinimumExecutionTime { get; }

Property Value

TimeSpan

OperationId

Gets the unique identifier of the operation.

string OperationId { get; }

Property Value

string

OperationName

Gets the name of the operation.

string OperationName { get; }

Property Value

string

SuccessRate

Gets the success rate for this operation (0.0 to 1.0).

double SuccessRate { get; }

Property Value

double

SuccessfulExecutions

Gets the number of successful executions.

int SuccessfulExecutions { get; }

Property Value

int

TotalMemoryAllocated

Gets the total memory allocated by this operation.

long TotalMemoryAllocated { get; }

Property Value

long