collector

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerCollector

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

func NewDockerCollector

func NewDockerCollector(clk clock.Clock, ignoreLabel string) (*DockerCollector, error)

func NewWithClient

func NewWithClient(client *client.Client, clk clock.Clock, ignoreLabel string) *DockerCollector

func (*DockerCollector) Collect

func (c *DockerCollector) Collect(ch chan<- prometheus.Metric)

func (*DockerCollector) Describe

func (c *DockerCollector) Describe(_ chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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