package layermetrics

import "github.com/containerd/stargz-snapshotter/fs/metrics/layer"

Index

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)

Source Files

layer.go metrics.go

Version
v0.16.3 (latest)
Published
Dec 12, 2024
Platform
linux/amd64
Imports
4 packages
Last checked
2 weeks ago

Tools for package owners.