zipkinreceiver

package module
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: 20 Imported by: 21

README

Zipkin Receiver

Status
Stability beta: traces
Distributions core, contrib
Issues Open issues Closed issues
Code Owners @MovieStoreGuy, @andrzej-stencel, @crobert-1

This receiver receives spans from Zipkin (V1 and V2).

Getting Started

All that is required to enable the Zipkin receiver is to include it in the receiver definitions.

receivers:
  zipkin:

The following settings are configurable:

  • endpoint (default = 0.0.0.0:9411): host:port on which the receiver is going to receive data. The component.UseLocalHostAsDefaultHost feature gate changes this to localhost:9411. This will become the default in a future release.
  • parse_string_tags (default = false): if enabled, the receiver will attempt to parse string tags/binary annotations into int/bool/float.

Advanced Configuration

Several helper files are leveraged to provide additional capabilities automatically:

Documentation

Overview

Package zipkinreceiver receives Zipkin traces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() receiver.Factory

NewFactory creates a new Zipkin receiver factory

Types

type Config

type Config struct {
	// Configures the receiver server protocol.
	confighttp.ServerConfig `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct
	// If enabled the zipkin receiver will attempt to parse string tags/binary annotations into int/bool/float.
	// Disabled by default
	ParseStringTags bool `mapstructure:"parse_string_tags"`
}

Config defines configuration for Zipkin receiver.

func (*Config) Validate

func (cfg *Config) Validate() error

Validate checks the receiver configuration is valid

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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