nodes

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

Package nodes is the collector for nodes, pods, and optionally containers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Nodes

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

func New

func New(cfg *config.Cluster, parentLog zerolog.Logger, check *circonus.Check, nodeCC bool) (*Nodes, error)

func (*Nodes) Collect

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

func (*Nodes) ID

func (n *Nodes) ID() string

Directories

Path Synopsis
Package collector collects metrics from nodes
Package collector collects metrics from nodes

Jump to

Keyboard shortcuts

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