traces

package
v0.0.0-...-5655933 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(c *Config) error

Parse parse the UnParsed contents to Parsed

Types

type Config

type Config struct {
	Enable    bool                   `toml:"enable"  yaml:"enable"  json:"enable"`
	UnParsed  map[string]interface{} `toml:",inline" yaml:",inline" json:",inline"`
	Parsed    *config.Config         `toml:"-"       yaml:"-"       json:"parsed"`
	Factories component.Factories    `toml:"-"       yaml:"-"       json:"-"`
}

Config defines the OpenTelemetry Collector configuration.

Enable:     enable tracing or not.
UnParsed:   loaded as map[string]interface{} from the raw config file.
Parsed:     retrieved and validated from the UnParsed contents.
Factories:  struct holds in a single type all component factories that can be handled by the Config.
            We only create the needed factories as default, if you need more, import and init these by components.go

Jump to

Keyboard shortcuts

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