Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregator ¶
type Aggregator struct { CreateOrder int AggregateType types.AggregateType }
func (*Aggregator) Aggregate ¶
func (a *Aggregator) Aggregate(metrics []TelegrafMetric)
Aggregate 쿠버네티스 노드, 파드 메트릭 처리 및 저장
func (*Aggregator) AggregateMetric ¶
func (a *Aggregator) AggregateMetric(kafkaAdminClient *kafka.AdminClient, kafkaConsumerConn *kafka.Consumer, topic string)
type MetricCollector ¶
type MetricCollector struct { KafkaAdminClient *kafka.AdminClient KafkaConsumerConn *kafka.Consumer CreateOrder int Aggregator Aggregator Ch chan string }
func NewMetricCollector ¶
func NewMetricCollector(aggregateType types.AggregateType, createOrder int) (MetricCollector, error)
Click to show internal directories.
Click to hide internal directories.