diff --git a/internal/models/metrics.go b/internal/models/metrics.go index 2bb68a2..7045e84 100644 --- a/internal/models/metrics.go +++ b/internal/models/metrics.go @@ -79,7 +79,8 @@ func (p *PathMetrics) ToJSON() PathMetricsJSON { RequestCount: p.RequestCount.Load(), ErrorCount: p.ErrorCount.Load(), BytesTransferred: p.BytesTransferred.Load(), - AvgLatency: p.AvgLatency, + AvgLatency: p.AvgLatency, + LastAccessTime: p.LastAccessTime.Load(), } }