mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	* Implements tracing in the native gRPC server * Undo some unnecessary changes * Properly revert trace/setup.go this time * Some very very basic tests * Remove warning for non-Trace middleware
		
			
				
	
	
		
			13 lines
		
	
	
		
			221 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			221 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package trace
 | |
| 
 | |
| import (
 | |
| 	"github.com/coredns/coredns/middleware"
 | |
| 	ot "github.com/opentracing/opentracing-go"
 | |
| )
 | |
| 
 | |
| // Trace holds the tracer and endpoint info
 | |
| type Trace interface {
 | |
| 	middleware.Handler
 | |
| 	Tracer() ot.Tracer
 | |
| }
 |