Giter Site home page Giter Site logo

cleitonferreira / otel-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from williewheeler/otel-demo

0.0 0.0 0.0 21.55 MB

OpenTelemetry demo involving multiple microservices and Jaeger tracing

Makefile 21.80% Dockerfile 8.18% Shell 11.86% Java 45.84% CSS 0.26% HTML 4.19% TSQL 7.87%

otel-demo's Introduction

otel-demo

OpenTelemetry auto-instrumentation demo. It features a microservices-based travel app and Jaeger running inside a Docker Compose environment.

Blog post: Auto-instrumentation with OpenTelemetry

Windows setup

Do the following from an elevated command shell:

  1. Install the Chocolatey package manager.
  2. Install OpenJDK: choco install openjdk.
  3. Install Make: choco install make.
  4. Install Docker Desktop for Windows: choco install docker-desktop. There's some setup, too:
    • You'll need to decide whether you want to use WSL 2 (Linux) or else Hyper-V as a Docker backend. I recommend WSL 2, as it has better performance. Either way, you'll need to restart your computer.
    • If you chose Hyper-V, go to Docker Desktop > Settings > Resources, and give yourself 8 GB of memory.
  5. Optional: If you want to play around with the app itself, install Visual Studio Code: choco install vscode. Include Java support, and install the Docker and Lombok extensions too. The Docker extension will make it easier to view container logs and shell into containers.

Build

From the top of the project directory, build the app and the Docker images using a single command:

$ make

Run

To start up all the containers, it's just:

$ docker-compose up

Endpoints

To try it out, just hit the sample app UI a few times, and then look at the traces in Jaeger.

otel-demo's People

Contributors

williewheeler avatar williewheeler-ms 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.