Documentation ¶
Index ¶
Constants ¶
View Source
const ( OkSuccess = prom.Success ErrRead = "err_read" ErrInvalidReq = prom.ErrInvalidReq ErrVerify = prom.ErrVerify ErrParse = prom.ErrParse ErrValidate = prom.ErrValidate ErrNotClassified = prom.ErrNotClassified )
Result values
View Source
const (
// Namespace is the metrics namespace for the SCIOND client API.
Namespace = "lib_infra"
)
Variables ¶
View Source
var ( Dispatcher = newDispatcher() Adapter = newAdapter() )
Metric accessors.
Functions ¶
This section is empty.
Types ¶
type ResultLabels ¶
type ResultLabels struct {
Result string
}
ResultLabels contains the label for infra dispatcher reads.
func (ResultLabels) Labels ¶
func (l ResultLabels) Labels() []string
Labels returns the list of labels.
func (ResultLabels) Values ¶
func (l ResultLabels) Values() []string
Values returns the label values in the order defined by Labels.
Click to show internal directories.
Click to hide internal directories.