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 PodResourceAggregator
- 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 NewClusterAggregator ¶
func NewNamespaceAggregator ¶
func NewNodeAggregator ¶
Types ¶
type CumulativeDistributionConverter ¶
type CumulativeDistributionConverter struct { }
func NewCumulativeDistributionConverter ¶
func NewCumulativeDistributionConverter() *CumulativeDistributionConverter
func (*CumulativeDistributionConverter) Name ¶
func (rc *CumulativeDistributionConverter) Name() string
type DistributionRateCalculator ¶
type DistributionRateCalculator struct {
// contains filtered or unexported fields
}
func NewDistributionRateCalculator ¶
func NewDistributionRateCalculator() *DistributionRateCalculator
func (*DistributionRateCalculator) Name ¶
func (rc *DistributionRateCalculator) Name() string
type NamespaceBasedEnricher ¶
type NamespaceBasedEnricher struct {
// contains filtered or unexported fields
}
func NewNamespaceBasedEnricher ¶
func NewNamespaceBasedEnricher(kubeClient kube_client.Interface) (*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.Interface, 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(additionalMetricsToSkip []string) *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, workloadCache util.WorkloadCache, labelCopier *util.LabelCopier, collectionInterval time.Duration) *PodBasedEnricher
func (*PodBasedEnricher) Name ¶
func (pbe *PodBasedEnricher) Name() string
type PodResourceAggregator ¶
type PodResourceAggregator struct {
// contains filtered or unexported fields
}
func NewPodResourceAggregator ¶
func NewPodResourceAggregator(podLister v1listers.PodLister) *PodResourceAggregator
func (*PodResourceAggregator) Name ¶
func (aggregator *PodResourceAggregator) 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 ¶
type SumCountAggregator ¶
type SumCountAggregator struct {
// contains filtered or unexported fields
}
func NewSumCountAggregator ¶
func NewSumCountAggregator(name string, specs []SumCountAggregateSpec) *SumCountAggregator
func (*SumCountAggregator) Name ¶
func (a *SumCountAggregator) Name() string
Source Files ¶
- cluster_aggregator.go
- cumulative_distribution_converter.go
- distribution_rate_calculator.go
- helper.go
- namespace_aggregator.go
- namespace_based_enricher.go
- node_aggregator.go
- node_autoscaling_enricher.go
- pod_aggregator.go
- pod_based_enricher.go
- pod_resource_aggregator.go
- rate_calculator.go
- sum_count_aggregator.go
Click to show internal directories.
Click to hide internal directories.