mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-04 03:03:14 -05:00 
			
		
		
		
	Update client-go to v10.0.0 (Kubernetes 1.13) (#2382)
* Update client-go to v10.0.0 (Kubernetes 1.13) This fix updates client-go to v10.0.0 which matches Kubernetes 1.13 (released several days ago). Other changes in Gopkg.yaml: - Updated apimachinary, api, klog, yaml associated with k8s version go dep will not automatically match the version. - Added [prune] field (otherwise go dep will not prune automatically) Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Updated Gopkg.lock Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Updated vendor for client-go v10.0.0 Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
		
							
								
								
									
										1
									
								
								vendor/github.com/grpc-ecosystem/grpc-opentracing/.gitignore
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/github.com/grpc-ecosystem/grpc-opentracing/.gitignore
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -1 +0,0 @@
 | 
			
		||||
.gradle/*
 | 
			
		||||
							
								
								
									
										25
									
								
								vendor/github.com/grpc-ecosystem/grpc-opentracing/README.rst
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										25
									
								
								vendor/github.com/grpc-ecosystem/grpc-opentracing/README.rst
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -1,25 +0,0 @@
 | 
			
		||||
################
 | 
			
		||||
GRPC-OpenTracing
 | 
			
		||||
################
 | 
			
		||||
 | 
			
		||||
This package enables distributed tracing in GRPC clients and servers via `The OpenTracing Project`_: a set of consistent, expressive, vendor-neutral APIs for distributed tracing and context propagation.
 | 
			
		||||
 | 
			
		||||
Once a production system contends with real concurrency or splits into many services, crucial (and formerly easy) tasks become difficult: user-facing latency optimization, root-cause analysis of backend errors, communication about distinct pieces of a now-distributed system, etc. Distributed tracing follows a request on its journey from inception to completion from mobile/browser all the way to the microservices. 
 | 
			
		||||
 | 
			
		||||
As core services and libraries adopt OpenTracing, the application builder is no longer burdened with the task of adding basic tracing instrumentation to their own code. In this way, developers can build their applications with the tools they prefer and benefit from built-in tracing instrumentation. OpenTracing implementations exist for major distributed tracing systems and can be bound or swapped with a one-line configuration change.
 | 
			
		||||
 | 
			
		||||
*******************
 | 
			
		||||
Further Information
 | 
			
		||||
*******************
 | 
			
		||||
 | 
			
		||||
If you’re interested in learning more about the OpenTracing standard, join the conversation on our `mailing list`_ or `Gitter`_.
 | 
			
		||||
 | 
			
		||||
If you want to learn more about the underlying API for your platform, visit the `source code`_. 
 | 
			
		||||
 | 
			
		||||
If you would like to implement OpenTracing in your project and need help, feel free to send us a note at `community@opentracing.io`_.
 | 
			
		||||
 | 
			
		||||
.. _The OpenTracing Project: http://opentracing.io/
 | 
			
		||||
.. _source code: https://github.com/opentracing/
 | 
			
		||||
.. _mailing list: http://opentracing.us13.list-manage.com/subscribe?u=180afe03860541dae59e84153&id=19117aa6cd
 | 
			
		||||
.. _Gitter: https://gitter.im/opentracing/public
 | 
			
		||||
.. _community@opentracing.io: community@opentracing.io
 | 
			
		||||
							
								
								
									
										57
									
								
								vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										57
									
								
								vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -1,57 +0,0 @@
 | 
			
		||||
# OpenTracing support for gRPC in Go
 | 
			
		||||
 | 
			
		||||
The `otgrpc` package makes it easy to add OpenTracing support to gRPC-based
 | 
			
		||||
systems in Go.
 | 
			
		||||
 | 
			
		||||
## Installation
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
go get github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Documentation
 | 
			
		||||
 | 
			
		||||
See the basic usage examples below and the [package documentation on
 | 
			
		||||
godoc.org](https://godoc.org/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc).
 | 
			
		||||
 | 
			
		||||
## Client-side usage example
 | 
			
		||||
 | 
			
		||||
Wherever you call `grpc.Dial`:
 | 
			
		||||
 | 
			
		||||
```go
 | 
			
		||||
// You must have some sort of OpenTracing Tracer instance on hand.
 | 
			
		||||
var tracer opentracing.Tracer = ...
 | 
			
		||||
...
 | 
			
		||||
 | 
			
		||||
// Set up a connection to the server peer.
 | 
			
		||||
conn, err := grpc.Dial(
 | 
			
		||||
    address,
 | 
			
		||||
    ... // other options
 | 
			
		||||
    grpc.WithUnaryInterceptor(
 | 
			
		||||
        otgrpc.OpenTracingClientInterceptor(tracer)),
 | 
			
		||||
    grpc.WithStreamInterceptor(
 | 
			
		||||
        otgrpc.OpenTracingStreamClientInterceptor(tracer)))
 | 
			
		||||
 | 
			
		||||
// All future RPC activity involving `conn` will be automatically traced.
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Server-side usage example
 | 
			
		||||
 | 
			
		||||
Wherever you call `grpc.NewServer`:
 | 
			
		||||
 | 
			
		||||
```go
 | 
			
		||||
// You must have some sort of OpenTracing Tracer instance on hand.
 | 
			
		||||
var tracer opentracing.Tracer = ...
 | 
			
		||||
...
 | 
			
		||||
 | 
			
		||||
// Initialize the gRPC server.
 | 
			
		||||
s := grpc.NewServer(
 | 
			
		||||
    ... // other options
 | 
			
		||||
    grpc.UnaryInterceptor(
 | 
			
		||||
        otgrpc.OpenTracingServerInterceptor(tracer)),
 | 
			
		||||
    grpc.StreamInterceptor(
 | 
			
		||||
        otgrpc.OpenTracingStreamServerInterceptor(tracer)))
 | 
			
		||||
 | 
			
		||||
// All future RPC activity involving `s` will be automatically traced.
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user