metrics

package
v1.11.30-beta010 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	TestExecutions         *prometheus.CounterVec
	TestSuiteExecutions    *prometheus.CounterVec
	TestCreations          *prometheus.CounterVec
	TestSuiteCreations     *prometheus.CounterVec
	TestUpdates            *prometheus.CounterVec
	TestSuiteUpdates       *prometheus.CounterVec
	TestTriggerCreations   *prometheus.CounterVec
	TestTriggerUpdates     *prometheus.CounterVec
	TestTriggerDeletes     *prometheus.CounterVec
	TestTriggerBulkUpdates *prometheus.CounterVec
	TestTriggerBulkDeletes *prometheus.CounterVec
	TestAbort              *prometheus.CounterVec
}

func NewMetrics

func NewMetrics() Metrics

func (Metrics) IncAbortTest

func (m Metrics) IncAbortTest(testType string, failed bool)

func (Metrics) IncBulkDeleteTestTrigger added in v1.6.18

func (m Metrics) IncBulkDeleteTestTrigger(err error)

func (Metrics) IncBulkUpdateTestTrigger added in v1.6.18

func (m Metrics) IncBulkUpdateTestTrigger(err error)

func (Metrics) IncCreateTest

func (m Metrics) IncCreateTest(testType string, err error)

func (Metrics) IncCreateTestSuite

func (m Metrics) IncCreateTestSuite(err error)

func (Metrics) IncCreateTestTrigger

func (m Metrics) IncCreateTestTrigger(err error)

func (Metrics) IncDeleteTestTrigger added in v1.6.18

func (m Metrics) IncDeleteTestTrigger(err error)

func (Metrics) IncExecuteTest

func (m Metrics) IncExecuteTest(execution testkube.Execution)

func (Metrics) IncExecuteTestSuite

func (m Metrics) IncExecuteTestSuite(execution testkube.TestSuiteExecution)

func (Metrics) IncUpdateTest

func (m Metrics) IncUpdateTest(testType string, err error)

func (Metrics) IncUpdateTestSuite

func (m Metrics) IncUpdateTestSuite(err error)

func (Metrics) IncUpdateTestTrigger

func (m Metrics) IncUpdateTestTrigger(err error)

Jump to

Keyboard shortcuts

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