Documentation
¶
Index ¶
Constants ¶
View Source
const KeyInContext = ContextKey("wool")
View Source
const LogEvent = "log"
Variables ¶
This section is empty.
Functions ¶
func SetLogExporter ¶
func SetLogExporter(handler LogHandler)
func ToAttributes ¶
func ToAttributes(agent *configurations.Agent) []attribute.KeyValue
func WithTelemetry ¶
func WithTelemetry() bool
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
func NewAgent ¶
func NewAgent(agent *configurations.Agent) *Agent
type ContextKey ¶
type ContextKey string
type LogField ¶
func DebugField ¶
type LogHandler ¶
type LogHandler func(msg *Log)
type Resourceful ¶
type Wool ¶
type Wool struct {
// contains filtered or unexported fields
}
Wool keeping track
func (*Wool) NewContext ¶
Click to show internal directories.
Click to hide internal directories.