Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Add reporter interface #48

Merged
merged 1 commit into from
Feb 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions instrument/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ import (
"github.com/uber-go/tally"
)

// Reporter reports information during runtime
type Reporter interface {
// Report reports information during runtime
Report()
}

// Options represents the options for instrumentation
type Options interface {
// SetLogger sets the logger
Expand Down