Coder Social home page Coder Social logo

jaeger-proxy's Introduction

Jaeger Proxy

It creates a sidecar proxy to be used with distributed applications in a microservices/kubernetes setup. Proxy2 has a simple python proxy which inserts a jaeger tracing header into incoming HTTP requests.

This helps minimal changes to existing applications and create a tracing infrastructure for looking at data-flow paths in large scale apps.

Pod contains IP Tables rule to forward any incoming application request to the proxy's port.

Usage

proxy_bookinfo.yaml is sample istio application which has the necessary proxy and jaeger agent inserted.

Build proxy:

cd proxy2

Flask: docker build -f Dockerfile -t <org-name>/flask_proxy

Socket: docker build -f Dockerfile_socket -t <org-name>/socket_proxy

Build init pod:

cd pod

docker build -f Dockerfile -t <org-name>/init-container

Make sure that the bookinfo yaml file proxy/init-container image names are properly set.

Push both these images to your org dockerhub:

docker push <org-name>/<proxy/init-container>

Setup kubernetes cluster by running install_tools.sh

Setup jaeger by running deploy_operator.sh

Deploy bookinfo: kubectl apply -f proxy_bookinfo.yaml

Access the bookinfo app: <IP>:32080/productpage

Access the jaeger UI: <IP>:80/search

Design and Arch

jaeger-proxy's People

Contributors

prateeksahu avatar

Watchers

Mohit Tiwari avatar James Cloos avatar Casen Hunger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.