Expand upon playback metrics
This commit is contained in:
@@ -20,14 +20,24 @@ const (
|
||||
|
||||
// CollectedMetrics stores different collected + timestamped values.
|
||||
type CollectedMetrics struct {
|
||||
CPUUtilizations []TimestampedValue `json:"cpu"`
|
||||
RAMUtilizations []TimestampedValue `json:"memory"`
|
||||
DiskUtilizations []TimestampedValue `json:"disk"`
|
||||
errorCount []TimestampedValue `json:"-"`
|
||||
lowestBitrate []TimestampedValue `json:"-"`
|
||||
segmentDownloadSeconds []TimestampedValue `json:"-"`
|
||||
averageLatency []TimestampedValue `json:"-"`
|
||||
qualityVariantChanges []TimestampedValue `json:"-"`
|
||||
CPUUtilizations []TimestampedValue `json:"cpu"`
|
||||
RAMUtilizations []TimestampedValue `json:"memory"`
|
||||
DiskUtilizations []TimestampedValue `json:"disk"`
|
||||
|
||||
errorCount []TimestampedValue `json:"-"`
|
||||
lowestBitrate []TimestampedValue `json:"-"`
|
||||
medianBitrate []TimestampedValue `json:"-"`
|
||||
highestBitrate []TimestampedValue `json:"-"`
|
||||
|
||||
medianSegmentDownloadSeconds []TimestampedValue `json:"-"`
|
||||
maximumSegmentDownloadSeconds []TimestampedValue `json:"-"`
|
||||
minimumSegmentDownloadSeconds []TimestampedValue `json:"-"`
|
||||
|
||||
minimumLatency []TimestampedValue `json:"-"`
|
||||
maximumLatency []TimestampedValue `json:"-"`
|
||||
medianLatency []TimestampedValue `json:"-"`
|
||||
|
||||
qualityVariantChanges []TimestampedValue `json:"-"`
|
||||
}
|
||||
|
||||
// Metrics is the shared Metrics instance.
|
||||
|
||||
Reference in New Issue
Block a user