metrics

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

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

Metrics exposes various Mentix related metrics via Prometheus.

func New

func New(conf *config.Configuration, log *zerolog.Logger) (*Metrics, error)

New creates a new Metrics instance.

func (*Metrics) Update

func (m *Metrics) Update(meshData *meshdata.MeshData) error

Update is used to update/expose all metrics.

Jump to

Keyboard shortcuts

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