2018-05-01 23:45:06 +00:00
|
|
|
package trace
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/coredns/coredns/plugin"
|
2022-01-25 13:15:24 +00:00
|
|
|
|
2018-05-01 23:45:06 +00:00
|
|
|
ot "github.com/opentracing/opentracing-go"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Trace holds the tracer and endpoint info
|
|
|
|
type Trace interface {
|
|
|
|
plugin.Handler
|
|
|
|
Tracer() ot.Tracer
|
|
|
|
}
|