metrics

package
v0.4.7-rc.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RunMetricInstance = &RunMetric{
	executionRuns: sync.Map{},
}

Functions

This section is empty.

Types

type ExecutionRun

type ExecutionRun struct {
	ExecutionID    string    `json:"execution_id"`
	Pipeline       string    `json:"pipeline"`
	StartTimestamp time.Time `json:"start_timestamp"`
	EndTimestamp   time.Time `json:"end_timestamp"`
}

type RunMetric

type RunMetric struct {
	// contains filtered or unexported fields
}

func (*RunMetric) EndExecution

func (m *RunMetric) EndExecution(executionID string)

func (*RunMetric) RunningExecutions

func (m *RunMetric) RunningExecutions() []ExecutionRun

func (*RunMetric) StartExecution

func (m *RunMetric) StartExecution(executionID, pipeline string)

Jump to

Keyboard shortcuts

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