opentelemetry

package
Version: 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: 10 Imported by: 0

Documentation

Overview

IMPORTANT: This package is still a work in progress. It isn't recommended for production usage. Currently, the OpenTelemetry dev team is still in the middle of migrating opencensus-go APIs to opentelemetry-go library. So for production usage please use the OpenCensus backend instead.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPrometheusExporter

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

DefaultPrometheusExporter creates a new global OpenTelemetry Prometheus exporter using default Prometheus exporter config.

func NewHTTPRecorder

func NewHTTPRecorder(cfg metric.HTTPRecorderConfig) metric.HTTPRecorder

NewHTTPRecorder returns a new HTTP Recorder with OpenTelemetry backend.

func NewPrometheusExporter

func NewPrometheusExporter(cfg otelprom.Config, opts ...pull.Option) (*otelprom.Exporter, error)

NewPrometheusExporter creates a new global OpenTelemetry 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