Documentation ¶
Index ¶
- type GroupedProcCollector
- func (c *GroupedProcCollector) Collect(ch chan<- prometheus.Metric)
- func (c *GroupedProcCollector) Describe(ch chan<- *prometheus.Desc)
- func (c *GroupedProcCollector) DisableMetric(metric metric.MetricKey)
- func (c *GroupedProcCollector) EnableMetric(metric metric.MetricKey)
- func (c *GroupedProcCollector) SetEnableMetricDescNameRegexp(s string) error
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
Click to show internal directories.
Click to hide internal directories.