zipkinreceiver

package module
v0.120.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 20 Imported by: 24

README

Zipkin Receiver

Status
Stability beta: traces
Distributions core, contrib, k8s
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 = localhost:9411): host:port on which the receiver is going to receive data.See our security best practices doc to understand how to set the endpoint in different environments. You can review the full list of ServerConfig.
  • 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