Documentation ¶
Index ¶
- func StartDebugServer(address string, sink *lager.ReconfigurableSink, metrics Metrics) (ifrit.Process, error)
- type Metrics
- type MetricsProvider
- func (m *MetricsProvider) BackingStores() int
- func (m *MetricsProvider) DepotDirs() int
- func (m *MetricsProvider) LoopDevices() int
- func (m *MetricsProvider) NumCPU() int
- func (m *MetricsProvider) NumGoroutine() int
- func (m *MetricsProvider) RegisterKillableContainer(containerId string)
- func (m *MetricsProvider) RegisterUnkillableContainer(containerId string)
- func (m *MetricsProvider) UnkillableContainers() int
- type PeriodicMetronNotifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MetricsProvider ¶
type MetricsProvider struct {
// contains filtered or unexported fields
}
func NewMetricsProvider ¶
func NewMetricsProvider(logger lager.Logger, depotPath string) *MetricsProvider
func (*MetricsProvider) BackingStores ¶
func (m *MetricsProvider) BackingStores() int
TODO: remove this eventually
func (*MetricsProvider) DepotDirs ¶
func (m *MetricsProvider) DepotDirs() int
func (*MetricsProvider) LoopDevices ¶
func (m *MetricsProvider) LoopDevices() int
TODO: remove this eventually
func (*MetricsProvider) NumCPU ¶
func (m *MetricsProvider) NumCPU() int
func (*MetricsProvider) NumGoroutine ¶
func (m *MetricsProvider) NumGoroutine() int
func (*MetricsProvider) RegisterKillableContainer ¶
func (m *MetricsProvider) RegisterKillableContainer(containerId string)
func (*MetricsProvider) RegisterUnkillableContainer ¶
func (m *MetricsProvider) RegisterUnkillableContainer(containerId string)
func (*MetricsProvider) UnkillableContainers ¶
func (m *MetricsProvider) UnkillableContainers() int
type PeriodicMetronNotifier ¶
type PeriodicMetronNotifier struct { Interval time.Duration Logger lager.Logger Clock clock.Clock // contains filtered or unexported fields }
func (PeriodicMetronNotifier) Start ¶
func (notifier PeriodicMetronNotifier) Start()
func (PeriodicMetronNotifier) Stop ¶
func (notifier PeriodicMetronNotifier) Stop()
Click to show internal directories.
Click to hide internal directories.