Merge pull request #1384 from aledbf/opentracing
Add support for opentracing
This commit is contained in:
commit
47ea2d7077
3 changed files with 26 additions and 1 deletions
|
|
@ -87,6 +87,14 @@ http {
|
|||
underscores_in_headers {{ if $cfg.EnableUnderscoresInHeaders }}on{{ else }}off{{ end }};
|
||||
ignore_invalid_headers {{ if $cfg.IgnoreInvalidHeaders }}on{{ else }}off{{ end }};
|
||||
|
||||
{{ if (and $cfg.EnableOpentracing (ne $cfg.ZipkinCollectorHost "")) }}
|
||||
opentracing on;
|
||||
|
||||
zipkin_collector_host {{ $cfg.ZipkinCollectorHost }};
|
||||
zipkin_collector_port {{ $cfg.ZipkinCollectorPort }};
|
||||
zipkin_service_name {{ $cfg.ZipkinServiceName }};
|
||||
{{ end }}
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
default_type text/html;
|
||||
{{ if $cfg.UseGzip }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue