Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateDefaultRollups ¶
func CalculateDefaultRollups(dx *ftdc.ChunkIterator, user bool) ([]model.PerfRollupValue, error)
func RollupsMap ¶
func RollupsMap() map[string]RollupFactory
Types ¶
type ArgumentsModel ¶
type ArgumentsModel struct { Name string `json:"name"` Value interface{} `json:"value"` }
ArgumentsModel is the structure of an arbitrary argument of a TimeSeries.
type PerformanceAnalysisService ¶
type PerformanceAnalysisService interface {
ReportUpdatedTimeSeries(context.Context, TimeSeriesModel) error
}
PerformanceAnalysisService is the interface for the Performance Analysis Service.
func NewPerformanceAnalysisService ¶
func NewPerformanceAnalysisService(baseURL, user string, token string) PerformanceAnalysisService
NewPerformanceAnalysisService creates a new PerformanceAnalysisService.
type PerformanceStatistics ¶
type PerformanceStatistics struct {
// contains filtered or unexported fields
}
func CreatePerformanceStats ¶
func CreatePerformanceStats(dx *ftdc.ChunkIterator) (*PerformanceStatistics, error)
type RollupFactory ¶
type RollupFactory interface { Type() string Names() []string Version() int Calc(*PerformanceStatistics, bool) []model.PerfRollupValue }
func DefaultRollupFactories ¶
func DefaultRollupFactories() []RollupFactory
func RollupFactoryFromType ¶
func RollupFactoryFromType(t string) RollupFactory
type TimeSeriesModel ¶
type TimeSeriesModel struct { Project string `json:"project"` Variant string `json:"variant"` Task string `json:"task"` Test string `json:"test"` Measurement string `json:"measurement"` Arguments []ArgumentsModel `json:"args"` }
TimeSeriesModel is the representation of the meta information that makes up a time series.
Click to show internal directories.
Click to hide internal directories.