| 1 | // Copyright The OpenTelemetry Authors |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | package pipeline // import "go.opentelemetry.io/collector/pipeline" |
| 5 | |
| 6 | import ( |
| 7 | "errors" |
| 8 | |
| 9 | "go.opentelemetry.io/collector/pipeline/internal/globalsignal" |
| 10 | ) |
| 11 | |
| 12 | // Signal represents the signals supported by the collector. We currently support |
| 13 | // collecting metrics, traces and logs, this can expand in the future. |
| 14 | type Signal = globalsignal.Signal |
| 15 | |
| 16 | var ErrSignalNotSupported = errors.New("telemetry type is not supported") |
| 17 | |
| 18 | var ( |
| 19 | SignalTraces = globalsignal.SignalTraces |
| 20 | SignalMetrics = globalsignal.SignalMetrics |
| 21 | SignalLogs = globalsignal.SignalLogs |
| 22 | ) |