All Projects → rnburn → nginx-opentracing

rnburn / nginx-opentracing

Licence: other
Instrument nginx for OpenTracing.

Programming Languages

C++
36643 projects - #6 most used programming language
javascript
184084 projects - #8 most used programming language
go
31211 projects - #10 most used programming language
HTML
75241 projects
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to nginx-opentracing

zipkin-cpp-opentracing
OpenTracing Tracer implementation for Zipkin in C++
Stars: ✭ 46 (+119.05%)
Mutual labels:  instrumentation, tracing, opentracing, zipkin
zipkin-ruby-opentracing
OpenTracing Tracer implementation for Zipkin in Ruby
Stars: ✭ 15 (-28.57%)
Mutual labels:  instrumentation, tracing, opentracing, zipkin
Brave Opentracing
Bridge between OpenTracing and Brave
Stars: ✭ 64 (+204.76%)
Mutual labels:  instrumentation, tracing, opentracing, zipkin
Nginx Opentracing
NGINX plugin for OpenTracing
Stars: ✭ 341 (+1523.81%)
Mutual labels:  tracing, opentracing, zipkin, nginx-module
Molten
php probe for zipkin and opentracing
Stars: ✭ 740 (+3423.81%)
Mutual labels:  instrumentation, tracing, opentracing, zipkin
Zipkin Go Opentracing
OpenTracing Bridge for Zipkin Go
Stars: ✭ 472 (+2147.62%)
Mutual labels:  instrumentation, tracing, opentracing, zipkin
Opencensus Node
A stats collection and distributed tracing framework
Stars: ✭ 249 (+1085.71%)
Mutual labels:  instrumentation, tracing, zipkin
java-web-servlet-filter
OpenTracing Java Web Servlet Filter Instrumentation
Stars: ✭ 20 (-4.76%)
Mutual labels:  instrumentation, tracing, opentracing
java-okhttp
OpenTracing Okhttp client instrumentation
Stars: ✭ 21 (+0%)
Mutual labels:  instrumentation, tracing, opentracing
Zipkin Go
Zipkin tracer library for go
Stars: ✭ 435 (+1971.43%)
Mutual labels:  instrumentation, tracing, zipkin
Go Microservice Helpers
A collection of handy snippets that simplify creation of GRPC servers and clients
Stars: ✭ 400 (+1804.76%)
Mutual labels:  tracing, opentracing, zipkin
Java Spring Cloud
Distributed tracing for Spring Boot, Cloud and other Spring projects
Stars: ✭ 326 (+1452.38%)
Mutual labels:  instrumentation, tracing, opentracing
Brave
Java distributed tracing implementation compatible with Zipkin backend services.
Stars: ✭ 2,117 (+9980.95%)
Mutual labels:  instrumentation, tracing, zipkin
go-sensor
🚀 Go Distributed Tracing & Metrics Sensor for Instana
Stars: ✭ 90 (+328.57%)
Mutual labels:  instrumentation, tracing, opentracing
ruby-sensor
💎 Ruby Distributed Tracing & Metrics Sensor for Instana
Stars: ✭ 23 (+9.52%)
Mutual labels:  instrumentation, tracing, opentracing
Spring Cloud Sleuth
Distributed tracing for spring cloud
Stars: ✭ 1,531 (+7190.48%)
Mutual labels:  instrumentation, tracing, zipkin
Sqlhooks
Attach hooks to any database/sql driver
Stars: ✭ 397 (+1790.48%)
Mutual labels:  instrumentation, tracing, opentracing
vertx-tracing
Vertx integration with tracing libraries
Stars: ✭ 21 (+0%)
Mutual labels:  tracing, opentracing, zipkin
java-jaxrs
OpenTracing Java JAX-RS instrumentation
Stars: ✭ 37 (+76.19%)
Mutual labels:  instrumentation, tracing, opentracing
Java Specialagent
Automatic instrumentation for 3rd-party libraries in Java applications with OpenTracing.
Stars: ✭ 156 (+642.86%)
Mutual labels:  instrumentation, tracing, opentracing

The repo has moved.

https://github.com/opentracing-contrib/nginx-opentracing

nginx-opentracing

Enable requests served by nginx for distributed tracing via The OpenTracing Project.

Dependencies

Docker

A docker image rnburn/nginx-opentracing is provided to support using nginx with OpenTracing in a manner analogous to the nginx Docker image. See here for examples of how to use it.

Building

$ tar zxvf nginx-1.9.x.tar.gz
$ cd nginx-1.9.x
$ export NGINX_OPENTRACING_VENDOR="ZIPKIN" # or export NGINX_OPENTRACING_VENDOR="LIGHTSTEP"
$ ./configure --add-dynamic-module=/absolute/path/to/nginx-opentracing/opentracing \
              # To enable tracing with Zipkin
              --add-dynamic-module=/absolute/path/to/nginx-opentracing/zipkin \  
              # To enable tracing with LightStep
              --add-dynamic-module=/absolute/path/to/nginx-opentracing/lightstep
$ make && sudo make install

Getting Started

# Load the OpenTracing dynamic module.
load_module modules/ngx_http_opentracing_module.so;

# Load a vendor OpenTracing dynamic module.
# For example,
#   load_module modules/ngx_http_lightstep_module.so;
# or
#   load_module modules/ngx_http_zipkin_module.so;

http {
  # Configure your vendor's tracer.
  # For example,
  #     lightstep_access_token ACCESSTOKEN;
  #     ....
  # or
  #     zipkin_collector_host localhost;
  #     ...

  # Enable tracing for all requests.
  opentracing on;

  # Optionally, set additional tags.
  opentracing_tag http_user_agent $http_user_agent;

  location ~ \.php$ {
    # The operation name used for spans defaults to the name of the location
    # block, but you can use this directive to customize it.
    opentracing_operation_name $uri;

    fastcgi_pass 127.0.0.1:1025;
  }
}

See Tutorial for a more complete example, Reference for a list of available OpenTracing-related directives, and LightStep and Zipkin for a list of vendor tracing directives.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].