ksm

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: BSD-3-Clause Imports: 21 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 Address added in v0.11.0

type Address struct {
	Name   string
	Target string
}

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