MetricStats

Aggregated statistics for a specific metric type.

metricType: PerformanceMetricType

Type of metric

count: number

Number of recorded samples

totalDuration: number

Total duration across all samples (ms)

avgDuration: number

Average duration (ms)

minDuration: number

Minimum duration (ms)

maxDuration: number

Maximum duration (ms)

stdDev: number

Standard deviation of duration (ms)

median: number

Median duration (ms)

p95: number

95th percentile duration (ms)

p99: number

99th percentile duration (ms)

avgWaitTime: number

Average wait time between events (ms)

minWaitTime: number

Minimum wait time between events (ms)

maxWaitTime: number

Maximum wait time between events (ms)