Documentation ¶
Index ¶
- type Metrics
- func (m Metrics) IncAbortTest(testType string, failed bool)
- func (m Metrics) IncBulkDeleteTestTrigger(err error)
- func (m Metrics) IncBulkUpdateTestTrigger(err error)
- func (m Metrics) IncCreateTest(testType string, err error)
- func (m Metrics) IncCreateTestSuite(err error)
- func (m Metrics) IncCreateTestTrigger(err error)
- func (m Metrics) IncDeleteTestTrigger(err error)
- func (m Metrics) IncExecuteTest(execution testkube.Execution)
- func (m Metrics) IncExecuteTestSuite(execution testkube.TestSuiteExecution)
- func (m Metrics) IncUpdateTest(testType string, err error)
- func (m Metrics) IncUpdateTestSuite(err error)
- func (m Metrics) IncUpdateTestTrigger(err error)
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 (Metrics) IncBulkDeleteTestTrigger ¶ added in v1.6.18
func (Metrics) IncBulkUpdateTestTrigger ¶ added in v1.6.18
func (Metrics) IncCreateTest ¶
func (Metrics) IncCreateTestSuite ¶
func (Metrics) IncCreateTestTrigger ¶
func (Metrics) IncDeleteTestTrigger ¶ added in v1.6.18
func (Metrics) IncExecuteTest ¶
func (Metrics) IncExecuteTestSuite ¶
func (m Metrics) IncExecuteTestSuite(execution testkube.TestSuiteExecution)
func (Metrics) IncUpdateTest ¶
func (Metrics) IncUpdateTestSuite ¶
func (Metrics) IncUpdateTestTrigger ¶
Click to show internal directories.
Click to hide internal directories.