metrics

package
v0.0.0-...-3e31364 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 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