octrace

package
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package octrace is the logic for receiving OpenCensus trace protobuf defined spans from already instrumented applications and then passing them onto a TracesReceiverSink instance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Receiver

type Receiver struct {
	agenttracepb.UnimplementedTraceServiceServer
	// contains filtered or unexported fields
}

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

func New

func New(nextConsumer consumer.Traces, set receiver.CreateSettings) (*Receiver, error)

New creates a new opencensus.Receiver reference.

func (*Receiver) Config

Config handles configuration messages.

func (*Receiver) Export

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

Jump to

Keyboard shortcuts

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