mitmprom

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheMetricsCollector

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

func NewCacheMetricsCollector

func NewCacheMetricsCollector(namespace string, f CacheMetricsFunc) *CacheMetricsCollector

func (*CacheMetricsCollector) Collect

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

func (*CacheMetricsCollector) Describe

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

type CacheMetricsFunc

type CacheMetricsFunc func() mitm.CacheMetrics

Jump to

Keyboard shortcuts

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