Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.46 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.46 KB

Into to distributed tracing

Distributed tracing, also called distributed request tracing, is a method used to profile and monitor applications, especially those built using a microservices architecture. Distributed tracing helps pinpoint where failures occur and what causes poor performance. We have used opentelemetry standards and Jaeger UI in this setup.

Architecture

+------------+     +---------------+    +--------------+
| videos-web +---->+ playlists-api +--->+ playlists-db |
|            |     |               |    |    [redis]   |
+------------+     +-----+---------+    +--------------+
                         |
                         v
                   +-----+------+       +-----------+
                   | videos-api +------>+ videos-db |
                   |            |       |  [redis]  |
                   +------------+       +-----------+

Run the app

There is a docker-compose.yaml in this directory. Change your terminal to this folder and run:

docker-compose build

docker-compose up

You can access the app on http://localhost.
You should now see the complete architecture in the browser

Traces

dasgboard

traces

Credits

I had followed a tutorial by marcel-dempers. Checkout his YouTube channel for DevOps stuff.