Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnknownQuery = errors.New("unknown query")
)
View Source
var QUERIES = map[string]string{}/* 152 elements not displayed */
View Source
var RecordingRules = map[string]func(p *db.Project, w *model.World) []model.MetricValues{ // contains filtered or unexported fields }
Functions ¶
This section is empty.
Types ¶
type Constructor ¶
type Constructor struct {
// contains filtered or unexported fields
}
func New ¶
func New(db *db.DB, project *db.Project, prom prom.Querier, pricing *cloud_pricing.Manager, options ...Option) *Constructor
func (*Constructor) LoadWorld ¶
func (c *Constructor) LoadWorld(ctx context.Context, from, to timeseries.Time, step timeseries.Duration, prof *Profile) (*model.World, error)
type Profile ¶
type Profile struct { Stages map[string]float32 `json:"stages"` Queries map[string]QueryStats `json:"queries"` }
type QueryStats ¶
Click to show internal directories.
Click to hide internal directories.