Distributed Tracing and Logging

How ModusFocus Uses Distributed Tracing

ModusFocus is built from multiple services that work together to complete a user request. A single action, such as creating a task or starting a focus session, may pass through the user interface, API gateway, task service, document service and database.

What is distributed tracing?

Distributed tracing follows a request as it moves between different services.

Each request receives a trace identifier. Every operation performed as part of that request creates a span. These spans are connected to form a complete timeline of what happened.

For example, creating a task may follow this path:

React application
    ↓
Task Management API
    ↓
Authentication and permission checks
    ↓
MongoDB
    ↓
Response returned to the user

Leave a Reply