net

package
v0.0.0-...-b6f583f Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	Name = "net"

	FlagNicExclude = "collector.net.nic-exclude"
	FlagNicInclude = "collector.net.nic-include"
)

Variables

View Source
var ConfigDefaults = Config{
	NicInclude: ".+",
	NicExclude: "",
}

Functions

func New

func New(logger log.Logger, config *Config) types.Collector

func NewWithFlags

func NewWithFlags(app *kingpin.Application) types.Collector

Types

type Config

type Config struct {
	NicInclude string `yaml:"nic_include"`
	NicExclude string `yaml:"nic_exclude"`
}

Jump to

Keyboard shortcuts

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