o11y

package
v1.0.301-a5119db Latest Latest
Warning

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

Go to latest
Published: Jun 24, 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
}

Jump to

Keyboard shortcuts

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