datadog

package
v2.0.0-beta1.0...-88ebac9 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 `` /* 180-byte string literal not displayed */
	GlobalTag                  string `` /* 150-byte string literal not displayed */
	Debug                      bool   `description:"Enable DataDog debug." json:"debug,omitempty" toml:"debug,omitempty" yaml:"debug,omitempty" export:"true"`
	PrioritySampling           bool   `` /* 263-byte string literal not displayed */
	TraceIDHeaderName          string `` /* 199-byte string literal not displayed */
	ParentIDHeaderName         string `` /* 203-byte string literal not displayed */
	SamplingPriorityHeaderName string `` /* 235-byte string literal not displayed */
	BagagePrefixHeaderName     string `` /* 231-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