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

Commit

Permalink
Add reporter interface (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
xichen2020 authored Feb 20, 2017
1 parent 3a8328d commit 2adc966
Showing 1 changed file with 6 additions and 0 deletions.
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

0 comments on commit 2adc966

Please sign in to comment.