Documentation ¶
Index ¶
Constants ¶
View Source
const Namespace = "lib"
Namespace is the metrics namespace for the metrics in this package.
Variables ¶
View Source
var (
// M exposes all the initialized metrics for this package.
M = newMetrics()
)
Functions ¶
This section is empty.
Types ¶
type DialLabels ¶
type DialLabels struct {
Result string
}
DialLabels contains the labels for Dial calls.
func (DialLabels) Values ¶
func (l DialLabels) Values() []string
Values returns the label values in the order defined by Labels.
type IOLabels ¶
type IOLabels struct {
Result string
}
IOLabels contains the labels for Read and Write calls.
type RegisterLabels ¶
RegisterLabels contains the labels for Register calls.
func (RegisterLabels) Labels ¶
func (l RegisterLabels) Labels() []string
Labels returns the list of labels.
func (RegisterLabels) Values ¶
func (l RegisterLabels) Values() []string
Values returns the label values in the order defined by Labels.
Click to show internal directories.
Click to hide internal directories.