metrics

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: AGPL-3.0 Imports: 6 Imported by: 10

Documentation

Index

Constants

View Source
const (
	Namespace = "gatewayd"
)

Variables

This section is empty.

Functions

func ExposeMetrics

func ExposeMetrics(metricsConfig *MetricsConfig, logger hclog.Logger)

Types

type MetricsConfig

type MetricsConfig struct {
	Enabled          bool
	UnixDomainSocket string
	Endpoint         string
}

func NewMetricsConfig added in v0.0.4

func NewMetricsConfig(config map[string]interface{}) *MetricsConfig

Jump to

Keyboard shortcuts

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