Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge otel into one file and add package doc #1176

Merged
merged 1 commit into from Sep 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions doc.go
Expand Up @@ -12,4 +12,5 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package otel contains OpenTelemetry Go packages.
package otel // import "go.opentelemetry.io/otel"
22 changes: 0 additions & 22 deletions error_handler.go

This file was deleted.

7 changes: 7 additions & 0 deletions otel.go
Expand Up @@ -25,3 +25,10 @@ type Tracer = trace.Tracer
type Meter = metric.Meter

type Propagators = propagation.Propagators

// ErrorHandler handles irremediable events.
type ErrorHandler interface {
// Handle handles any error deemed irremediable by an OpenTelemetry
// component.
Handle(error)
}