Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func (*Metrics) GetSystemMetrics ¶
func (m *Metrics) GetSystemMetrics() api.ResourceMetrics
We choose percents over quantities since those values remain constant for an autoscaler when you change your instance type. Thus, if you vertically scale your application to double the CPU count, but keep the autoscaling values the same, you should still scale at the right place.
At this time, We don't use cpuUtilization (including steal) like AWS reports in cloudWatch since steal values dont come through in Azure (hyper-v).
func (*Metrics) GetUnitMetrics ¶
func (m *Metrics) GetUnitMetrics(name string) api.ResourceMetrics
Click to show internal directories.
Click to hide internal directories.