layermetrics

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewLayerMetrics

func NewLayerMetrics(ns *metrics.Namespace) *Controller

func (*Controller) Add

func (c *Controller) Add(key string, l layer.Layer)

func (*Controller) Collect

func (c *Controller) Collect(ch chan<- prometheus.Metric)

func (*Controller) Describe

func (c *Controller) Describe(ch chan<- *prometheus.Desc)

func (*Controller) Remove

func (c *Controller) Remove(key string)

Jump to

Keyboard shortcuts

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