Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataCollector ¶
type DataCollector struct {
// contains filtered or unexported fields
}
DataCollector emits metrics with CollectMetricData based on the Kubernetes API objects in the metadata store.
func NewDataCollector ¶
func NewDataCollector(set receiver.CreateSettings, ms *metadata.Store, metricsBuilderConfig metadata.MetricsBuilderConfig, nodeConditionsToReport, allocatableTypesToReport []string) *DataCollector
NewDataCollector returns a DataCollector.
func (*DataCollector) CollectMetricData ¶
func (dc *DataCollector) CollectMetricData(currentTime time.Time) pmetric.Metrics
Click to show internal directories.
Click to hide internal directories.