It can be attached to the tracer during tracer construction. See ExampleObserver function in observer_test.go.
ExampleObserver