metrics_analysis

package
v0.0.0-...-bc340da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: BSD-3-Clause Imports: 20 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHandlers

func AddHandlers(externalRouter chi.Router)

func ReloadTemplates

func ReloadTemplates(resourcesDir string)

Types

type MetricsAnalysisAddTaskVars

type MetricsAnalysisAddTaskVars struct {
	task_common.AddTaskCommonVars

	MetricName         string   `json:"metric_name"`
	CustomTraces       string   `json:"custom_traces"`
	AnalysisTaskId     string   `json:"analysis_task_id"`
	AnalysisOutputLink string   `json:"analysis_output_link"`
	BenchmarkArgs      string   `json:"benchmark_args"`
	Description        string   `json:"desc"`
	ChromiumPatch      string   `json:"chromium_patch"`
	CatapultPatch      string   `json:"catapult_patch"`
	ValueColumnName    string   `json:"value_column_name"`
	CCList             []string `json:"cc_list"`
	TaskPriority       string   `json:"task_priority"`
}

func (*MetricsAnalysisAddTaskVars) GetDatastoreKind

func (task *MetricsAnalysisAddTaskVars) GetDatastoreKind() ds.Kind

func (*MetricsAnalysisAddTaskVars) GetPopulatedDatastoreTask

func (task *MetricsAnalysisAddTaskVars) GetPopulatedDatastoreTask(ctx context.Context) (task_common.Task, error)

type MetricsAnalysisDatastoreTask

type MetricsAnalysisDatastoreTask struct {
	task_common.CommonCols

	MetricName          string   `json:"metric_name"`
	AnalysisTaskId      string   `json:"analysis_task_id"`
	AnalysisOutputLink  string   `json:"analysis_output_link"`
	BenchmarkArgs       string   `json:"benchmark_args"`
	Description         string   `json:"description"`
	CustomTracesGSPath  string   `json:"custom_traces_gspath"`
	ChromiumPatchGSPath string   `json:"chromium_patch_gspath"`
	CatapultPatchGSPath string   `json:"catapult_patch_gspath"`
	RawOutput           string   `json:"raw_output"`
	ValueColumnName     string   `json:"value_column_name"`
	CCList              []string `json:"cc_list"`
	TaskPriority        int      `json:"task_priority"`
}

func (MetricsAnalysisDatastoreTask) Get

func (MetricsAnalysisDatastoreTask) GetDatastoreKind

func (task MetricsAnalysisDatastoreTask) GetDatastoreKind() ds.Kind

func (MetricsAnalysisDatastoreTask) GetDescription

func (task MetricsAnalysisDatastoreTask) GetDescription() string

func (MetricsAnalysisDatastoreTask) GetPopulatedAddTaskVars

func (task MetricsAnalysisDatastoreTask) GetPopulatedAddTaskVars() (task_common.AddTaskVars, error)
func (task MetricsAnalysisDatastoreTask) GetResultsLink() string

func (MetricsAnalysisDatastoreTask) GetTaskName

func (task MetricsAnalysisDatastoreTask) GetTaskName() string

func (MetricsAnalysisDatastoreTask) Query

func (task MetricsAnalysisDatastoreTask) Query(it *datastore.Iterator) (interface{}, error)

func (MetricsAnalysisDatastoreTask) RunsOnGCEWorkers

func (task MetricsAnalysisDatastoreTask) RunsOnGCEWorkers() bool

func (MetricsAnalysisDatastoreTask) SendCompletionEmail

func (task MetricsAnalysisDatastoreTask) SendCompletionEmail(ctx context.Context, completedSuccessfully bool) error

func (*MetricsAnalysisDatastoreTask) SetCompleted

func (task *MetricsAnalysisDatastoreTask) SetCompleted(success bool)

func (MetricsAnalysisDatastoreTask) TriggerSwarmingTaskAndMail

func (task MetricsAnalysisDatastoreTask) TriggerSwarmingTaskAndMail(ctx context.Context, swarmingClient swarmingv2.SwarmingV2Client, casClient cas.CAS) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL