package
Version:
v0.0.0-...-b9bd852
Opens a new window with list of versions in this module.
Published: Jul 3, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Context struct {
Name string `json:"name"`
Metrics []Metric `json:"metrics"`
}
type Instrumentable interface {
Emit() Context
}
type Metric struct {
Name string `json:"name"`
Value interface{} `json:"value"`
Tags map[string]interface{} `json:"tags,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.