Documentation ¶
Index ¶
Constants ¶
View Source
const ( OkSuccess = prom.Success ErrTimeout = prom.ErrTimeout ErrNotClassified = prom.ErrNotClassified )
Result values
View Source
const (
// Namespace is the metrics namespace for the SCIOND client API.
Namespace = "lib_sciond"
)
Variables ¶
View Source
var ( // PathRequests contains metrics for path requests. PathRequests = newPathRequest() // Revocations contains metrics for revocations. Revocations = newRevocation() // ASInfos contains metrics for AS info requests. ASInfos = newASInfoRequest() // IFInfos contains metrics for IF info requests. IFInfos = newIFInfo() // SVCInfos contains metrics for SVC info requests. SVCInfos = newSVCInfo() // Conns contains metrics for connections to SCIOND. Conns = newConn() )
Metric accessors.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
Request is the generic metric for requests.
func (*Request) CounterVec ¶
func (r *Request) CounterVec() *prometheus.CounterVec
Click to show internal directories.
Click to hide internal directories.