VOOZH about

URL: https://pkg.go.dev/github.com/zalando/otelcol-lightstep-receiver

⇱ lightstepreceiver package - github.com/zalando/otelcol-lightstep-receiver - Go Packages


👁 Image
README

👁 Build Status
👁 License

OpenTelemetry Collector Lightstep Receiver

The lightstepreceiver receives OpenTracing traces from Lightstep tracers in various supported formats converting them into OpenTelemetry'a ptrace.Traces propagating it further in pipelines

👁 arch

Supported formats and endpoints

Access token processing

Lightstep access token is extracted from the payload and propagated further by context item lightstep-access-token, for further using by a headersetter extension

Tracer metrics processing

Lighstep tracer reports various client side metrics as client-drop-spans via traces payload, these metrics are extracted and reported by collector standard metrics reporting pipeline and available for scraping as lightstep_receiver_client_spans_dropped

Configuration

All that is required to enable the Lightstep receiver is to include it in the receiver definitions. A protocol can be disabled by simply not specifying it in the list of protocols.

lightstepreceiver:
 protocols:
 pbgrpc:
 pbhttp:
 thrift:

Advanced Configuration

Several helper files are leveraged to provide additional capabilities automatically:

Debugging

  1. Set a breakpoint where needed
  2. Run collector in debug mode with (note that it will be compiled with debug symbols already)
make debug
  1. Connect with remote debugger from your beloved IDE
  2. Generate some traces with your application

👁 Image
Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() receiver.Factory

NewFactory creates a factory for Lightstep trace receiver

Types

type Config

type Config struct {
	Protocols `mapstructure:"protocols"`
}

Config represents Lightstep receiver configuration, follows the OTLP stype

type Protocols

type Protocols struct {
	PbGrpc *configgrpc.ServerConfig `mapstructure:"pbgrpc"`
	PbHTTP *confighttp.ServerConfig `mapstructure:"pbhttp"`
	Thrift *confighttp.ServerConfig `mapstructure:"thrift"`
}

Protocols represents supported protocols

👁 Image
Directories

Path Synopsis
internal
lightstep_pb/collectorpb
Package collectorpb is a generated protocol buffer package.
Package collectorpb is a generated protocol buffer package.
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more.