ksm

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Overview

Package ksm is the kube-state-metrics collector

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KSM

type KSM struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Cluster, parentLogger zerolog.Logger, check *circonus.Check) (*KSM, error)

func (*KSM) Collect

func (ksm *KSM) Collect(ctx context.Context, tlsConfig *tls.Config, ts *time.Time)

Collect metrics from kube-state-metrics

func (*KSM) ID

func (ksm *KSM) ID() string

Jump to

Keyboard shortcuts

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