Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertPiSQLLoadAvgsToVms ¶
func ConvertPiSQLLoadAvgsToVms(start, end time.Time, avgs []*PiSQLLoadAvg) []*viewmodel.VmTimeDbLoad
Types ¶
type PerformanceInsights ¶
type PerformanceInsights struct {
// contains filtered or unexported fields
}
func NewPerformanceInsights ¶
func NewPerformanceInsights(cfg aws.Config) *PerformanceInsights
func NewPerformanceInsightsWithCli ¶
func NewPerformanceInsightsWithCli(cli aPi.GetResourceMetricsAPIClient) *PerformanceInsights
func (*PerformanceInsights) GetHalfDaySqlMetrics ¶
func (pi *PerformanceInsights) GetHalfDaySqlMetrics(db *RdsDB, start time.Time) ([]*PiSQLLoadAvg, error)
func (*PerformanceInsights) GetHalfDayTokenizedSqlMetrics ¶
func (pi *PerformanceInsights) GetHalfDayTokenizedSqlMetrics(db *RdsDB, start time.Time) ([]*PiSQLLoadAvg, error)
type PiSQLLoadAvg ¶
type PiSQLLoadAvg struct { DbName string SQL string TokenizedId string Values []*PiTimeValue }
func NewPiSQLLoadAvg ¶
func NewPiSQLLoadAvg(dbName, sql, tokenizedId string) *PiSQLLoadAvg
type PiTimeValue ¶
type Rds ¶
type Rds struct {
// contains filtered or unexported fields
}
func NewRdsWithCli ¶
func NewRdsWithCli(cli aRds.DescribeDBInstancesAPIClient) *Rds
Click to show internal directories.
Click to hide internal directories.