Giter VIP home page Giter VIP logo

xdevops's Introduction

Instruct X-DevOps - Jaeger & OpenTelemetry

This laboratory demonstrates the key aspects of Jaeger and OpenTelemetry, both monitoring tools for applications. It was created for Instruct's 2023 Summit X-DevOps presentation.

How to prepare the lab environment (Linux or WSL environment)

  1. Copy the content of calculator-api/.env.sample to a new file calculator-api/.env, and the content of blackjack-api/.env.sample to a new file blackjack-api/.env.

  2. Start the docker containers

    docker-compose up -d --build

    The command starts the:

How to run the lab (Linux or WSL environment)

  1. Go to the Jaeger UI and search for traces on the blackjack-api service. The will already be traces related to the start of the service.

  2. Make a get request to start a game of blackjack:

    $ curl http://localhost:8001/api/blackjack/deal
  3. Go back to the Jaeger UI, search again for traces on the blackjack-api service, and click on the most recent trace with the address api/blackjack/deal/$.

  4. On the tab Service & Operation, select the blackjack-api api/blackjack/deal/$ span and open it's Tags tab. Look for the operation.* tags. Those were set on code to provide more context on the request.

  5. Open the blackjack-api SELECT and open it's Tags tab. Look for the db.statement tag. It should show the query made on the database.

  6. Look for the calculator-api api/calculator/sum/$ span. It should have a different color, indicating it's from a diferent system. Open the span's Tags tab and look for the operation.* tags. They were also set on code, similarly as before.

  7. On the navigation menu on top of the screen, select the System Architecture option. You can see how the services relate to each other, as well as how many traces are between them. (It is easier to see on the DAG tab).

xdevops's People

Contributors

a-sobrinho avatar

Watchers

 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.