container name should be specified
This commit is contained in:
parent
6e98c92693
commit
5f45128c31
@ -22,9 +22,9 @@ type StorageDriver interface {
|
|||||||
// Read most recent stats. numStats indicates max number of stats
|
// Read most recent stats. numStats indicates max number of stats
|
||||||
// returned. The returned stats must be consecutive observed stats. If
|
// returned. The returned stats must be consecutive observed stats. If
|
||||||
// numStats < 0, then return all stats stored in the storage.
|
// numStats < 0, then return all stats stored in the storage.
|
||||||
RecentStats(numStats int) ([]*info.ContainerStats, error)
|
RecentStats(containerName string, numStats int) ([]*info.ContainerStats, error)
|
||||||
|
|
||||||
Percentiles(cpuUsagePercentiles []int, memUsagePercentiles []int) (*info.ContainerStatsPercentiles, error)
|
Percentiles(containerName string, cpuUsagePercentiles []int, memUsagePercentiles []int) (*info.ContainerStatsPercentiles, error)
|
||||||
|
|
||||||
Samples(numSamples int) ([]*info.ContainerStatsSample, error)
|
Samples(containername string, numSamples int) ([]*info.ContainerStatsSample, error)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user