go_metrics

package
v3.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	// contains filtered or unexported fields
}

Exporter wraps the go-metrics registry as an sfxclient.Collector

func New

func New(r metrics.Registry, dims map[string]string) *Exporter

New returns a new &Exporter

func (*Exporter) Datapoints

func (e *Exporter) Datapoints() []*datapoint.Datapoint

Datapoints implements sfxclient.Collector

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL