datadog

package
v3.0.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "datadog"

Name sets the name of this tracer.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LocalAgentHostPort         string            `` /* 155-byte string literal not displayed */
	LocalAgentSocket           string            `` /* 154-byte string literal not displayed */
	GlobalTags                 map[string]string `` /* 155-byte string literal not displayed */
	Debug                      bool              `description:"Enables Datadog debug." json:"debug,omitempty" toml:"debug,omitempty" yaml:"debug,omitempty" export:"true"`
	PrioritySampling           bool              `` /* 278-byte string literal not displayed */
	TraceIDHeaderName          string            `` /* 181-byte string literal not displayed */
	ParentIDHeaderName         string            `` /* 185-byte string literal not displayed */
	SamplingPriorityHeaderName string            `` /* 217-byte string literal not displayed */
	BagagePrefixHeaderName     string            `` /* 213-byte string literal not displayed */
}

Config provides configuration settings for a datadog 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