ndm_exporter

package
v1.4.1-RC1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ClusterLevel is the cluster mode operation of the exporter
	ClusterLevel = "cluster"
	// NodeLevel is the node level mode operation of the exporter
	NodeLevel = "node"
	// Port is the default port on which to start http server
	Port = ":9100"
	// MetricsPath is the endpoint at which metrics will be available
	MetricsPath = "/metrics"
)

Variables

This section is empty.

Functions

func RunNodeDiskExporter added in v0.5.0

func RunNodeDiskExporter()

RunNodeDiskExporter logs the starting of NDM exporter

Types

type Exporter

type Exporter struct {
	Client kubernetes.Client
	Mode   string
	Server server.Server
}

Exporter contains the options for starting the exporter along with clients to retrieve the metrics data

func (*Exporter) Run

func (e *Exporter) Run() error

Run starts the exporter, depending on the mode of startup of the exporter

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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