haystack

package
v2.9.6 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "haystack"

Name sets the name of this tracer.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LocalAgentHost          string `` /* 139-byte string literal not displayed */
	LocalAgentPort          int    `` /* 139-byte string literal not displayed */
	GlobalTag               string `` /* 143-byte string literal not displayed */
	TraceIDHeaderName       string `` /* 181-byte string literal not displayed */
	ParentIDHeaderName      string `` /* 185-byte string literal not displayed */
	SpanIDHeaderName        string `` /* 177-byte string literal not displayed */
	BaggagePrefixHeaderName string `` /* 216-byte string literal not displayed */
}

Config provides configuration settings for a haystack tracer.

func (*Config) SetDefaults

func (c *Config) SetDefaults()

SetDefaults sets the default values.

func (*Config) Setup

func (c *Config) Setup(serviceName string) (opentracing.Tracer, io.Closer, error)

Setup sets up the tracer.

Jump to

Keyboard shortcuts

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