Documentation ¶
Index ¶
- func RegisterExporterEndpoints()
- type Client
- type Exporter
- type Metric
- func (m *Metric) Append(data Metric, rollingWindow time.Duration) error
- func (m *Metric) End() time.Time
- func (m *Metric) Equal(to Metric) bool
- func (m *Metric) Key() string
- func (m *Metric) LabelNames() []string
- func (m *Metric) LabelValuesFor(names []string) []string
- func (m *Metric) Start() time.Time
- type SamplePair
- type SamplePairs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterExporterEndpoints ¶
func RegisterExporterEndpoints()
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetCurrentMetricValue ¶
type Metric ¶
type Metric struct { Name string Labels map[string]string Values SamplePairs // contains filtered or unexported fields }
func (*Metric) LabelNames ¶
func (*Metric) LabelValuesFor ¶
type SamplePair ¶
func (SamplePair) IsZero ¶
func (s SamplePair) IsZero() bool
type SamplePairs ¶
type SamplePairs []SamplePair
func (SamplePairs) Nearest ¶
func (s SamplePairs) Nearest(nearest time.Time) SamplePair
Click to show internal directories.
Click to hide internal directories.