Git Product home page Git Product logo

w0wka91 / boot-opentelemetry-tempo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mnadeem/boot-opentelemetry-tempo

0.0 0.0 0.0 55.02 MB

Project demonstrating Complete Observability Stack utilizing Prometheus, Loki (For distributed logging), Tempo (For Distributed tracing, this basically uses Jaeger Internally), Grafana for Java/spring based applications (With OpenTelemetry auto / manual Instrumentation) involving multiple microservices with DB interactions

Home Page: https://reachmnadeem.wordpress.com/2021/03/04/observability-for-java-spring-based-applications-using-opentelemetry/

Dockerfile 18.52% Java 75.62% Shell 5.86%

boot-opentelemetry-tempo's Introduction

Project Demonstrating Observability For Java Spring Applications

This project demonstrates Observability using:

And basically integrates the following

Running

Execute the following on root folder

mvn clean package docker:build

Images

docker image ls
REPOSITORY                                                      TAG                 IMAGE ID            CREATED              SIZE
mnadeem/boot-otel-tempo-provider1                               0.0.1-SNAPSHOT      7ddceebcc722        About a minute ago   169MB
mnadeem/boot-otel-tempo-api                                     0.0.1-SNAPSHOT      a301242388a1        2 minutes ago        147MB
mnadeem/boot-otel-tempo-docker                                  0.0.1-SNAPSHOT      061a20db744b        4 minutes ago        130MB

And then either docker compose or docker stack

Docker Compose

docker-compose up

Docker Stack

docker swarm init
docker stack deploy --compose-file docker-compose.yaml trace
docker stack services trace
docker stack rm trace

Variations

There are two variations basic and complex, both version have support for 0.15.0, 0.16.0 and 0.17.0 in its own branches.

Basic

Multiple micro-services with db and rest interactions

Complex

Multiple micro-services with db, MQ (Rabbit), redis and rest interactions

Tracing

Access the endpoint

View the log and trace in Grafana

Get the trace information Using Jaeger as well

Basic Trace

Complex Trace

Prometheus Metrics

View the metrics in prometheus

You can view it in Grafana as well

Connecting To PostgreSQL DB

Connect

Credits

Also See

boot-opentelemetry-tempo's People

Contributors

mnadeem avatar snoerenberg 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.