opencensus

package
v0.0.0-...-5dc576f Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPrometheusExporter

func DefaultPrometheusExporter() (*ocenprom.Exporter, error)

DefaultPrometheusExporter creates a new global OpenCensus Prometheus exporter using default Prometheus exporter options.

func NewHTTPRecorder

func NewHTTPRecorder(cfg metric.HTTPRecorderConfig) metric.HTTPRecorder

NewHTTPRecorder returns a new HTTP Recorder with OpenCensus backend.

func NewPrometheusExporter

func NewPrometheusExporter(opts ocenprom.Options) (*ocenprom.Exporter, error)

NewPrometheusExporter creates a new global OpenCensus Prometheus exporter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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