Skip to content

Files

Latest commit

c966884 · Apr 15, 2024

History

History
65 lines (47 loc) · 1.35 KB

File metadata and controls

65 lines (47 loc) · 1.35 KB

Microservices mode (微服务模式) - Traces

In microservices mode, components are deployed in distinct processes.

Diagram

The below diagram describes how data flows.

Loading
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

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