Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SignalTraces = globalsignal.SignalTraces SignalMetrics = globalsignal.SignalMetrics SignalLogs = globalsignal.SignalLogs )
View Source
var ErrSignalNotSupported = errors.New("telemetry type is not supported")
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID struct {
// contains filtered or unexported fields
}
ID represents the identity for a pipeline. It combines two values: * signal - the Signal of the pipeline. * name - the name of that pipeline.
func NewIDWithName ¶
NewIDWithName returns a new ID with the given Signal and name.
func (ID) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface. This marshals the Signal and name as one string in the config.
func (*ID) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
type Signal ¶
type Signal = globalsignal.Signal
Signal represents the signals supported by the collector. We currently support collecting metrics, traces and logs, this can expand in the future.
Click to show internal directories.
Click to hide internal directories.