Documentation ¶
Index ¶
- Variables
- func DuplicateHistogramCounter(name string) gometrics.Counter
- func NewClusterAggregator(metricsToAggregate []string) metrics.Processor
- func NewNamespaceAggregator(metricsToAggregate []string) metrics.Processor
- func NewNodeAggregator(metricsToAggregate []string) metrics.Processor
- type CumulativeDistributionConverter
- type DistributionRateCalculator
- type NamespaceBasedEnricher
- type NodeAutoscalingEnricher
- type PodAggregator
- type PodBasedEnricher
- type RateCalculator
- type SumCountAggregateSpec
- type SumCountAggregator
Constants ¶
This section is empty.
Variables ¶
View Source
var LabelsToPopulate = []metrics.LabelDescriptor{ metrics.LabelPodId, metrics.LabelPodName, metrics.LabelNamespaceName, metrics.LabelPodNamespaceUID, metrics.LabelHostname, metrics.LabelHostID, }
Functions ¶
func DuplicateHistogramCounter ¶ added in v1.12.0
func NewClusterAggregator ¶ added in v1.10.0
func NewNamespaceAggregator ¶ added in v1.10.0
func NewNodeAggregator ¶ added in v1.10.0
Types ¶
type CumulativeDistributionConverter ¶ added in v1.12.0
type CumulativeDistributionConverter struct { }
func NewCumulativeDistributionConverter ¶ added in v1.12.0
func NewCumulativeDistributionConverter() *CumulativeDistributionConverter
func (*CumulativeDistributionConverter) Name ¶ added in v1.12.0
func (rc *CumulativeDistributionConverter) Name() string
type DistributionRateCalculator ¶ added in v1.12.0
type DistributionRateCalculator struct {
// contains filtered or unexported fields
}
func NewDistributionRateCalculator ¶ added in v1.12.0
func NewDistributionRateCalculator() *DistributionRateCalculator
func (*DistributionRateCalculator) Name ¶ added in v1.12.0
func (rc *DistributionRateCalculator) Name() string
type NamespaceBasedEnricher ¶
type NamespaceBasedEnricher struct {
// contains filtered or unexported fields
}
func NewNamespaceBasedEnricher ¶
func NewNamespaceBasedEnricher(kubeClient *kube_client.Clientset) (*NamespaceBasedEnricher, error)
func (*NamespaceBasedEnricher) Name ¶
func (nbe *NamespaceBasedEnricher) Name() string
type NodeAutoscalingEnricher ¶
type NodeAutoscalingEnricher struct {
// contains filtered or unexported fields
}
func NewNodeAutoscalingEnricher ¶
func NewNodeAutoscalingEnricher(kubeClient *kube_client.Clientset, labelCopier *util.LabelCopier) (*NodeAutoscalingEnricher, error)
func (*NodeAutoscalingEnricher) Name ¶
func (nae *NodeAutoscalingEnricher) Name() string
type PodAggregator ¶
type PodAggregator struct {
// contains filtered or unexported fields
}
func NewPodAggregator ¶
func NewPodAggregator() *PodAggregator
func (*PodAggregator) Name ¶
func (aggregator *PodAggregator) Name() string
type PodBasedEnricher ¶
type PodBasedEnricher struct {
// contains filtered or unexported fields
}
func NewPodBasedEnricher ¶
func NewPodBasedEnricher(podLister v1listers.PodLister, labelCopier *util.LabelCopier, collectionInterval time.Duration) *PodBasedEnricher
func (*PodBasedEnricher) Name ¶
func (pbe *PodBasedEnricher) Name() string
type RateCalculator ¶
type RateCalculator struct {
// contains filtered or unexported fields
}
func NewRateCalculator ¶
func NewRateCalculator(rateMetricsMapping map[string]metrics.Metric) *RateCalculator
func (*RateCalculator) Name ¶
func (rc *RateCalculator) Name() string
type SumCountAggregateSpec ¶ added in v1.10.0
type SumCountAggregator ¶ added in v1.10.0
type SumCountAggregator struct {
// contains filtered or unexported fields
}
func NewSumCountAggregator ¶ added in v1.10.0
func NewSumCountAggregator(name string, specs []SumCountAggregateSpec) *SumCountAggregator
func (*SumCountAggregator) Name ¶ added in v1.10.0
func (a *SumCountAggregator) Name() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.