Merge branch 'add-opentracing-operation-name-settings' of https://github.com/JorritSalverda/ingress-nginx into add-opentracing-operation-name-settings
This commit is contained in:
commit
2baca9e32a
5 changed files with 145 additions and 0 deletions
|
|
@ -276,6 +276,16 @@ http {
|
|||
limit_req_status {{ $cfg.LimitReqStatusCode }};
|
||||
limit_conn_status {{ $cfg.LimitConnStatusCode }};
|
||||
|
||||
{{ if $cfg.EnableOpentracing }}
|
||||
opentracing on;
|
||||
{{ if not (empty $cfg.OpentracingOperationName) }}
|
||||
opentracing_operation_name "{{ $cfg.OpentracingOperationName }}";
|
||||
{{ end }}
|
||||
{{ if not (empty $cfg.OpentracingLocationOperationName) }}
|
||||
opentracing_location_operation_name "{{ $cfg.OpentracingLocationOperationName }}";
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ buildOpentracing $cfg $servers }}
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue