Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PerformanceKeysString ¶
func PerformanceKeysString() string
Types ¶
type ApiResponse ¶
type ApiResponse struct {
Body Body `json:"body"`
}
func (ApiResponse) Mappings ¶
func (api ApiResponse) Mappings() map[string]string
func (ApiResponse) Metrics ¶
func (api ApiResponse) Metrics() []Metrics
type Body ¶
type Body struct { PerformanceKeys PerformanceKeys EndTime string StartTime string DBInstanceId string Engine string }
type MetricsResponse ¶
type MetricsResponse struct {
// contains filtered or unexported fields
}
func FetchLastMinuteDBInstancePerformance ¶
func FetchLastMinuteDBInstancePerformance(config Config) (response *MetricsResponse, err error)
func (*MetricsResponse) Html ¶
func (mp *MetricsResponse) Html() string
func (*MetricsResponse) Json ¶
func (mp *MetricsResponse) Json() string
func (*MetricsResponse) Raw ¶
func (mp *MetricsResponse) Raw() []Metrics
type PerformanceKeyItem ¶
type PerformanceKeyItem struct { Key string Unit string Values PerformanceValue ValueFormat string }
type PerformanceKeys ¶
type PerformanceKeys struct {
PerformanceKey []PerformanceKeyItem
}
type PerformanceValue ¶
type PerformanceValue struct {
PerformanceValue []PerformanceValueItem
}
type PerformanceValueItem ¶
Click to show internal directories.
Click to hide internal directories.