collector

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupedProcCollector

type GroupedProcCollector struct {
	sync.Mutex
	GroupedProcs *grouped_proc.GroupedProcs
	Metrics      map[metric.MetricKey]metric.Metric
	Enabled      map[metric.MetricKey]bool
	Grouper      grouper.Grouper
	// contains filtered or unexported fields
}

func NewGroupedProcCollector

func NewGroupedProcCollector(g grouper.Grouper) (*GroupedProcCollector, error)

NewGroupedProcCollector

func (*GroupedProcCollector) Collect

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

func (*GroupedProcCollector) Describe

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

func (*GroupedProcCollector) DisableMetric

func (c *GroupedProcCollector) DisableMetric(metric metric.MetricKey)

func (*GroupedProcCollector) EnableMetric

func (c *GroupedProcCollector) EnableMetric(metric metric.MetricKey)

func (*GroupedProcCollector) SetEnableMetricDescNameRegexp added in v0.8.0

func (c *GroupedProcCollector) SetEnableMetricDescNameRegexp(s string) error

Jump to

Keyboard shortcuts

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