metrics

package
v1.12.1-0...-676f45f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

Collector collects swarmkit metrics

func NewCollector

func NewCollector(store *store.MemoryStore) *Collector

NewCollector creates a new metrics collector

func (*Collector) Run

func (c *Collector) Run(ctx context.Context) error

Run contains the collector event loop

func (*Collector) Stop

func (c *Collector) Stop()

Stop stops the collector.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL