o11y

package
v1.0.948-e4015c6 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 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
	RollbarServerRoot string
	HoneycombEnabled  bool
	HoneycombDataset  string
	HoneycombKey      secret.String
	SampleTraces      bool
	Format            string
	Version           string
	Service           string
	StatsNamespace    string

	// Optional
	Mode            string
	Debug           bool
	RollbarDisabled bool
}

Jump to

Keyboard shortcuts

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