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
Click to show internal directories.
Click to hide internal directories.