nodeexporter

package
v0.0.0-...-8e4d058 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enable                bool
	DB                    string
	User                  string
	Password              string
	URLs                  []string
	ResponseTimeout       time.Duration
	HttpUsername          string
	HttpPassword          string
	HttpBearerTokenString string
	CaCertFile            string
	CertFile              string
	KeyFile               string
	InsecureSkipVerify    bool
	GatherDuration        time.Duration
}

type NodeExporter

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

func (*NodeExporter) Gather

func (p *NodeExporter) Gather()

func (*NodeExporter) Init

func (p *NodeExporter) Init(_ gin.IRouter) error

func (*NodeExporter) Start

func (p *NodeExporter) Start() error

func (*NodeExporter) Stop

func (p *NodeExporter) Stop() error

func (*NodeExporter) String

func (p *NodeExporter) String() string

func (*NodeExporter) Version

func (p *NodeExporter) Version() string

type Req

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

Jump to

Keyboard shortcuts

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