ocmetrics

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package ocmetrics is the logic for receiving OpenCensus metrics proto from already instrumented applications and then passing them onto a metricsink instance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Receiver

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

Receiver is the type used to handle metrics from OpenCensus exporters.

func New

func New(instanceName string, nextConsumer consumer.MetricsConsumerOld) (*Receiver, error)

New creates a new ocmetrics.Receiver reference.

func (*Receiver) Export

Export is the gRPC method that receives streamed metrics from OpenCensus-metricproto compatible libraries/applications.

Jump to

Keyboard shortcuts

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