go.opencensus.iogo.opencensus.io/metric/metricexport Index | Files

package metricexport

import "go.opencensus.io/metric/metricexport"

Package metricexport contains support for exporting metric data.

This is an EXPERIMENTAL package, and may change in arbitrary ways without notice.

Index

Types

type Producer

type Producer interface {
	// Read should return the current values of all metrics supported by this
	// metric provider.
	// The returned metrics should be unique for each combination of name and
	// resource.
	Read() []*metricdata.Metric
}

Producer is a source of metrics.

Source Files

doc.go producer.go

Version
v0.19.0
Published
Jan 22, 2019
Platform
js/wasm
Imports
1 packages
Last checked
3 hours ago

Tools for package owners.