config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = Config{HTTPMode: "wrap", Instrumentation: "console"}

Functions

This section is empty.

Types

type Config

type Config struct {
	// HTTPMode controls the technique used for HTTP instrumentation
	// The possible values are "wrap", "report"
	HTTPMode string
	// Instrumentation specifies which output format is used
	// The possible values are "console", "dd", or "otel"
	Instrumentation string
}

Config holds the instrumentation config

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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