Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxItem = 1000000
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdapterConfig ¶
type AdapterConfig struct { // app metrics server address ServingPort int `json:"serving_port"` }
AdapterConfig group config of multiple adapters
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager group multiple adapters
func NewAdapterManager ¶
func NewAdapterManager(config AdapterConfig) *Manager
NewAdapterManager create adapter manager
type ReportDetailData ¶
type ReportDetailData struct { // raw single latency value // target latency value SLO float64 `json:"slo"` // avg or percentile value SLI float64 `json:"sli"` Duration times.Duration `json:"duration"` Data []float64 `json:"data"` // contains filtered or unexported fields }
ReportDetailData group latency data reported by workload
type ReportSloData ¶
type ReportSloData struct { // raw single latency value // target latency value SLO float64 `json:"slo"` Value float64 `json:"value"` // contains filtered or unexported fields }
ReportSloData represent latency data reported by workload
Click to show internal directories.
Click to hide internal directories.