You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: controllers/nginx/README.md
+39
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ This is an nginx Ingress controller that uses [ConfigMap](https://kubernetes.io/
17
17
*[TCP Services](#exposing-tcp-services)
18
18
*[UDP Services](#exposing-udp-services)
19
19
*[Proxy Protocol](#proxy-protocol)
20
+
*[Opentracing](#opentracing)
20
21
*[NGINX customization](configuration.md)
21
22
*[Custom errors](#custom-errors)
22
23
*[NGINX status page](#nginx-status-page)
@@ -378,6 +379,44 @@ Amongst others [ELBs in AWS](http://docs.aws.amazon.com/ElasticLoadBalancing/lat
378
379
379
380
Please check the [proxy-protocol](examples/proxy-protocol/) example
380
381
382
+
### Opentracing
383
+
384
+
Using the third party module [rnburn/nginx-opentracing](https://github.com/rnburn/nginx-opentracing) the NGINX ingress controller can configure NGINX to enable [OpenTracing](http://opentracing.io) instrumentation.
385
+
By default this feature is disabled.
386
+
387
+
To enable the instrumentation we just need to enable the instrumentation in the configuration configmap and set the host where we should send the traces.
388
+
389
+
In the [aledbf/zipkin-js-example](https://github.com/aledbf/zipkin-js-example) github repository is possible to see a dockerized version of zipkin-js-example with the required Kubernetes descriptors.
390
+
To install the example and the zipkin collector we just need to run:
Copy file name to clipboardExpand all lines: controllers/nginx/configuration.md
+11
Original file line number
Diff line number
Diff line change
@@ -487,6 +487,17 @@ The default mime type list to compress is: `application/atom+xml application/jav
487
487
488
488
**bind-address:** Sets the addresses on which the server will accept requests instead of *. It should be noted that these addresses must exist in the runtime environment or the controller will crash loop.
489
489
490
+
**enable-opentracing:** enables the nginx Opentracing extension https://github.com/rnburn/nginx-opentracing
491
+
Default is "false"
492
+
493
+
**zipkin-collector-host:** specifies the host to use when uploading traces. It must be a valid URL
494
+
495
+
**zipkin-collector-port:** specifies the port to use when uploading traces
496
+
Default: 9411
497
+
498
+
**zipkin-service-name:** specifies the service name to use for any traces created
499
+
Default: nginx
500
+
490
501
### Default configuration options
491
502
492
503
The following table shows the options, the default value and a description.
0 commit comments