Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.35 KB

Directives.md

File metadata and controls

41 lines (27 loc) · 1.35 KB

opentracing

  • syntax opentracing on|off
  • default: off
  • context: http, server, location

Enables or disables OpenTracing for NGINX requests.

opentracing_trace_locations

  • syntax opentracing_trace_locations on|off
  • default: on
  • context: http, server, location

Enables the creation of OpenTracing spans for location blocks within a request.

opentracing_operation_name

  • syntax opentracing_operation_name <operation_name>
  • default: The name of the first location block entered.
  • context: http, server, location

Sets the operation name of the span for an NGINX request.

opentracing_location_operation_name

  • syntax opentracing_location_operation_name <operation_name>
  • default: The name of the location block.
  • context: http, server, location

Sets the operation name of the span for an NGINX location block.

opentracing_tag

  • syntax opentracing_tag <key> <value>
  • context: http, server, location

Sets a tag with the given key and value for an NGINX span.