cmd

package
v0.0.0-...-234d38c Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecWrapper

func ExecWrapper(f func(ctx *cli.Context) (int, error)) cli.ActionFunc

ExecWrapper gracefully logs and exits our `run` functions.

func Monitor

func Monitor(ctx *cli.Context) (int, error)

Monitor ..

func Run

func Run(cliCtx *cli.Context) (int, error)

Run launches the exporter.

Types

type Global

type Global struct {
	// InternalMonitoringListenerAddress can be used to access
	// some metrics related to the exporter internals
	InternalMonitoringListenerAddress *url.URL
}

Global is used for globally shared exporter config.

Jump to

Keyboard shortcuts

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