metrics

package
v1.14.0-snapshot.6 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cell = cell.Module(
	"kvstoremesh-metrics",
	"KVStoreMesh metrics",

	cell.Config(MetricsConfig{}),
	cell.Invoke(registerMetricsManager),
)

Functions

This section is empty.

Types

type MetricsConfig

type MetricsConfig struct {
	// PrometheusServeAddr IP:Port on which to serve prometheus metrics (pass ":Port" to bind on all interfaces, "" is off)
	PrometheusServeAddr string
}

func (MetricsConfig) Flags

func (def MetricsConfig) Flags(flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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