1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-04-02 22:05:40 +02:00

17 lines
368 B
Go
Raw Normal View History

package install
import (
"github.com/open-telemetry/opentelemetry-go/exporter/observer"
"github.com/open-telemetry/opentelemetry-go/exporter/stdout"
)
// Use this import:
//
// import _ "github.com/open-telemetry/opentelemetry-go/exporter/stdout/install"
//
// to include the stderr exporter by default.
func init() {
observer.RegisterObserver(stdout.New())
}