statistics

package
v0.14.6 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobDetailStatisticsResponse

type JobDetailStatisticsResponse struct {
	Result      []TaskStatistics `json:"result"`
	TaskNameMap map[string]int   `json:"-"`
	Truncated   bool             `json:"truncated"`
}

func GetJobDetailStatistics

func GetJobDetailStatistics(ctx *logger.RequestContext, jobID string, start, end, step int64) (*JobDetailStatisticsResponse, error)

type JobStatisticsResponse

type JobStatisticsResponse struct {
	MetricsInfo map[string]string `json:"metricsInfo"`
}

func GetJobStatistics

func GetJobStatistics(ctx *logger.RequestContext, jobID string) (*JobStatisticsResponse, error)

type MetricInfo

type MetricInfo struct {
	MetricName string       `json:"metric"`
	Values     [][2]float64 `json:"values"`
}

type TaskStatistics

type TaskStatistics struct {
	TaskName string       `json:"taskName"`
	TaskInfo []MetricInfo `json:"taskInfo"`
}

Jump to

Keyboard shortcuts

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