23 lines
634 B
Go
23 lines
634 B
Go
// Copyright The OpenTelemetry Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package pipeline // import "go.opentelemetry.io/collector/pipeline"
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"go.opentelemetry.io/collector/pipeline/internal/globalsignal"
|
|
)
|
|
|
|
// Signal represents the signals supported by the collector. We currently support
|
|
// collecting metrics, traces and logs, this can expand in the future.
|
|
type Signal = globalsignal.Signal
|
|
|
|
var ErrSignalNotSupported = errors.New("telemetry type is not supported")
|
|
|
|
var (
|
|
SignalTraces = globalsignal.SignalTraces
|
|
SignalMetrics = globalsignal.SignalMetrics
|
|
SignalLogs = globalsignal.SignalLogs
|
|
)
|