Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Microservices mode (微服务模式) - Traces

In microservices mode, components are deployed in distinct processes.

Diagram

The below diagram describes how data flows.

flowchart LR
    A --->|writes| D   -->|writes| I  -->|writes| M
    G -.->|reads | QF -.->|reads | Q -.->|reads | M

    subgraph Minio
        M{"Object Storage"}
    end
    subgraph Agent["Grafana Alloy"]
        A("alloy")
    end
    subgraph Grafana
        G("grafana")
    end

    subgraph Ingester["tempo -target=ingester"]
        I("ingester")
    end

    subgraph Distributor["tempo -target=distributor"]
        D("distributor")
    end

    subgraph Querier["tempo -target=querier"]
        Q("querier") -.->|reads| I
    end

    subgraph QueryFrontend["tempo -target=query-frontend"]
        QF("query-frontend")
    end
    
    subgraph Compactor["tempo -target=compactor"]
        C("compactor")
        C  -->|writes| M
        C -.->|reads | M
    end
Loading

Quick Start

git clone https://github.com/qclaogui/codelab-monitoring.git && cd "$(basename "$_" .git)"

make up-microservices-mode-traces

That's it.

Once all containers are up and running you can search for traces in Grafana.

Navigate to http://localhost:3000/explore and select the search tab.

Clean up

make down-microservices-mode-traces