Giter Site home page Giter Site logo

cspinetta / distributed-tracing-with-kamon Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 147 KB

Demo for tech talk Distributed Tracing: https://slides.com/diegoparra/monitoring-microservices

License: Other

Java 24.26% Scala 60.87% Kotlin 11.78% Shell 3.02% Batchfile 0.08%
kamon distributed-tracing microservices openzipkin jaeger

distributed-tracing-with-kamon's Introduction

Demo for tech talk Distributed Tracing

Stack:

Getting started

The demo is composed by 4 API's: items-api, users-api, sellers-api and front-api. You'll find each one in its own sub folder with a readme and some example requests. The simplest way to run this demo is enter on each api and start it up as its readme indicate. Also you have to start a zipkin and/or a jaeger server for saving and inspecting the generated traces. Then just send some requests to the front-api and go to the tracing server to inspect your traces.

A docker compose with all APIs and traces servers integrated is coming!

Playground

Interesting use cases

Basic example

http 'http://localhost:9070/api/front/search?key-word=robot'

Compose 2 services

http 'http://localhost:9070/api/front/details/item/15/user/5'

The same but in parallel

http 'http://localhost:9070/api/front/parallel/details/item/15/user/5'

Async span

http 'http://localhost:9070/api/front/parallel/details/item/15/user/55'

Fail with 500. Item not found

http 'http://localhost:9070/api/front/parallel/details/item/1500/user/55'

Generate a lot of requests

./generate-requests.sh 1000 2

It will execute 1000 requests with concurrency 2 per each example url.

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.