Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregator ¶
type Aggregator struct {
// contains filtered or unexported fields
}
Aggregator aggregates agent metrics and uploads them to the cloud.
func NewAggregator ¶
func NewAggregator(logger *zap.Logger, conf *configtypes.DaemonConfig, client pbcloud.GpuNinjaClient) *Aggregator
func (*Aggregator) Add ¶
func (a *Aggregator) Add(req *pbagent.SendRequest)
func (*Aggregator) Aggregate ¶
func (a *Aggregator) Aggregate() *pbcloud.SendRequest
Aggregate is public for testing purposes only.
func (*Aggregator) StartWithContext ¶
func (a *Aggregator) StartWithContext(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.