o11y

package
v1.0.366-c578f7e Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DevInit

func DevInit()

DevInit needs to be called to construct the coordinator (it is best to avoid init()) If this is not called we will panic early. This is expected to only be called in development testing

func Setup

func Setup(ctx context.Context, o Config) (context.Context, func(context.Context), error)

Types

type Config

type Config struct {
	Statsd           string
	RollbarToken     secret.String
	RollbarEnv       string
	HoneycombEnabled bool
	HoneycombDataset string
	HoneycombKey     secret.String
	SampleTraces     bool
	Format           string
	Version          string
	Service          string
	StatsNamespace   string

	// Optional
	Mode  string
	Debug bool
}

Jump to

Keyboard shortcuts

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