metric

package
v0.0.0-...-035f276 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgDataProviderResponseLatencyMetric

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

ArgDataProviderResponseLatencyMetric is metric of ARGDataProvider that checks the latency according to some scanStatus

func NewArgDataProviderResponseLatencyMetric

func NewArgDataProviderResponseLatencyMetric(status contracts.ScanStatus, queryName string) *ArgDataProviderResponseLatencyMetric

NewArgDataProviderResponseLatencyMetric Ctor for ArgDataProviderResponseLatencyMetric

func NewArgDataProviderResponseLatencyMetricWithGetImageVulnerabilityScanResultsQuery

func NewArgDataProviderResponseLatencyMetricWithGetImageVulnerabilityScanResultsQuery(status contracts.ScanStatus) *ArgDataProviderResponseLatencyMetric

func (*ArgDataProviderResponseLatencyMetric) MetricDimension

func (m *ArgDataProviderResponseLatencyMetric) MetricDimension() []metric.Dimension

func (*ArgDataProviderResponseLatencyMetric) MetricName

type ArgDataProviderResponseNumOfRecordsMetric

type ArgDataProviderResponseNumOfRecordsMetric struct {
}

ArgDataProviderResponseNumOfRecordsMetric is metric that counts how many records returned

func NewArgDataProviderResponseNumOfRecordsMetric

func NewArgDataProviderResponseNumOfRecordsMetric() *ArgDataProviderResponseNumOfRecordsMetric

func (*ArgDataProviderResponseNumOfRecordsMetric) MetricDimension

func (*ArgDataProviderResponseNumOfRecordsMetric) MetricName

Jump to

Keyboard shortcuts

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